NOTE to the Dev Guys about 72 PPI output

PPI is just metadata, isn’t it?

2 Likes

Where do you see 72 PPI in RT or on the output?

@ChasingShadows - Same place everyone else sees it - nowhere…

But every time I process a raw and export it as a full rez tiff, if I open it in a RIP then there it is - 72ppi resolution.
The simple way around it is to change the ppi to 300 with resample deselected.

But it is a pain in the arse if you are doing a big run of images.

It certainly is Ingo, but I fail to see your point. I’m stating a simple practical set of cast-iron facts about the fault of continuing with this application of a 72ppi tag on exported rasterized images out of RT.
Just change the tag to 300 and have done with it, then folk could export full rez jpegs that CONCUR with todays industry standard - the agency folk that demand it will NOT change it themselves, they’ll just reject the images.
We all know it’s a stupid thing, but that’s where we’re at.

And FYI I know at least 50 people who refuse to try RT because of this - even though I show them how to correct it in Photoshop in a few seconds - why? Because they are big batch processors.

Seriously Ingo, arguing against this is crackers!

Just so you know I know what I’m talking about skip your way through this vid of mine https://youtu.be/AhTALBc-1iI

Seems like something that should be easy to change with exiftool/exiv2.

Why so resistant ?

1 Like

I’m not, but I don’t have the skill to change it. I am suggesting a tool that will allow you to fix this problem in bulk, right now, with no changes to RT (which would happen in the next release, whenever that is).

@Andy_Astbury1 If you export a JPEG, IrfanView tells me the DPI is 300. If you export a TIFF or PNG, IrfanView tells me the DPI is not even set.
So, while it would certainly be possible to fix that, just pointing to RawTherapee for being at fault is not the whole story. The other software (maybe plural?) doesn’t handle missing ppi information gracefully and just assumes some value.

@Thanatomanic 72 seems to be the EXIF default value. Search for “dpi” here.

1 Like

There has been some effort to support this issue: Allow resizing to physical dimensions · Issue #4894 · Beep6581/RawTherapee · GitHub
Unfortunately it has lost traction.

1 Like

Which is strange for PNG because of this:

https://github.com/Beep6581/RawTherapee/blob/dev/rtexif/rtexif.cc#L3327


@floessie - thanks for that.

@Thanatomanic I can’t use IrfanView as it appears to be windows-only, but everything else reports the images at 72ppi - even Macs own system exif viewer.
But just out of curiosity I opened an image in GIMP - and viola, 300.

So, I was assuming that RT literally tagged the output images at 72ppi in the metadata - but do I now understand that it outputs images WITHOUT any ppi tag?

2 Likes

Hmm, interesting indeed. Perhaps this is an issue of IrfanView. GIMP seems to read the ppi information just fine.

EXIF in PNG is an extension, so it could well be that IrfanView isn’t prepared for it.

@Andy_Astbury1 I’ve created this issue as there seems to be at least an inconsistency in the way RT handles the ppi values for different export types: Inconsistent 'default' TIFF-tags when exporting to JPEG, PNG and TIFF itself · Issue #5787 · Beep6581/RawTherapee · GitHub

1 Like

@Thanatomanic - ok, though I have just exported a raw file as jpeg, tiff, 8 & 16bit PNG and they all report as 72ppi in Photoshop - which isn’t known for getting this kind of stuff wrong - and also my OS preview exif inspector.
If it’s of any consequence the RT install is the 5.8 Mac release - I’ll give it a try on the Linux dev build to see if there is any difference should I??

Hmm that’s very interesting. The PNG and JPEG are explicitly getting their Exif tags XResolution, YResolution and ResolutionUnit set to conform to 300 dpi.

Can you confirm in another way what the Exif information in your exported files is? Exiftool maybe?

@Thanatomanic - just checked in exiftool, PNG reports X and Y at 300, but TIFF has nothing specified for horizontal or vertical resolution.

I’ve actually learned something - I assumed it was impossible for a rasterised image to exist without a resolution tag!

1 Like

Does that mean that there are other ways for Photoshop to determine ppi? (I am not an expert)
It may be good to compare the metadata of a JPEG or PNG file exported from RT and from Photoshop and see which tags are different and could influence the apparent ppi.

@Thanatomanic

Hi Roel, here’s a link to these two files on Dropbox
4090RT is a 16bit full rez TIFF exported/saved from RT
4090Photoshop is a 16bit full rez TIFF from Ps with the source raw sent from ACR/Lr