Advice Post-Bitmap for JPG Converted Metadata #1576
Replies: 2 comments
-
You can do something like this:
But I have the feeling that I am misunderstanding your question. |
Beta Was this translation helpful? Give feedback.
-
It seems that the compressed JPG version of this file (I've been told was maybe at least a Regardless, good to know about |
Beta Was this translation helpful? Give feedback.
-
I initially created an issue ticket here thinking that MagickImage might be missing an image's density (DPI) information: #1575
Where I'm at now is that I believe the photo was previously managed as a TIFF and was compressed to a JPG:
The screenshot here shows via Adobe Bridge the raw image's metadata carries TIFF resolution information still. Simply converting the file back over to TIFF (as proof of concept only, realizing that would be bad practice) didn't yield any results (i.e.
image.Density
still equaled{0, 0}
).My next try was with .NET's Bitmap class which managed to read the data:
Unfortunately here, Bitmap is now Windows only since .NET 6.
So, I'm needing some advice as to how I might be able to get at this density metadata information on the
.jpg
version of the file without re-converting or using another 3rd party library.Beta Was this translation helpful? Give feedback.
All reactions