The only other oddity I see is..
convert 8680100E-3E64-11E6-BF87-F5A2E46AABD7.jpg 8.tga
convert 8.tga -verbose info:
This gives back:
Geometry: 1567x1567+0+0
Resolution: 72x72
Print size: 21.7639x21.7639
Units: Undefined
However, if you then convert the TGA back to a JPG:
convert 8.tga ...
Search found 6 matches
- 2016-06-30T19:35:24-07:00
- Forum: Bugs
- Topic: Density does not work on some JPG images
- Replies: 13
- Views: 13754
- 2016-06-30T11:41:27-07:00
- Forum: Bugs
- Topic: Density does not work on some JPG images
- Replies: 13
- Views: 13754
Re: Density does not work on some JPG images
Yes, currently units is set to 0 at line 1109, it gets the information from the Exif data, and sets the units to whatever the Exif data is currently set to.
units=0;
if ((jpeg_info.saw_JFIF_marker != 0) && (jpeg_info.X_density != 1) &&
(jpeg_info.Y_density != 1))
{
image->resolution.x ...
units=0;
if ((jpeg_info.saw_JFIF_marker != 0) && (jpeg_info.X_density != 1) &&
(jpeg_info.Y_density != 1))
{
image->resolution.x ...
- 2016-06-29T23:56:58-07:00
- Forum: Bugs
- Topic: Density does not work on some JPG images
- Replies: 13
- Views: 13754
Re: Density does not work on some JPG images
I believe you are correct. Specifying the units makes it work.
It looks like the commit that broke things was made back on Sept 25, 2013: http://git.imagemagick.org/repos/ImageMagick/commit/d214ceb1ffb7d3bdc68a4d862cadd1a6e0801947
http://render2.fotofuze.com/371BAF2C-3E8D-11E6-A212-4BD0E46AABD7 ...
It looks like the commit that broke things was made back on Sept 25, 2013: http://git.imagemagick.org/repos/ImageMagick/commit/d214ceb1ffb7d3bdc68a4d862cadd1a6e0801947
http://render2.fotofuze.com/371BAF2C-3E8D-11E6-A212-4BD0E46AABD7 ...
- 2016-06-29T20:48:16-07:00
- Forum: Bugs
- Topic: Density does not work on some JPG images
- Replies: 13
- Views: 13754
Re: Density does not work on some JPG images
For example, if you open the file in Gimp, click Image -> Scale Image you'll see that the DPI is not 300. If you right click the file on Windows and select Properties -> Details you'll see the horizontal and vertical resolution is not 300. I've had people tell me that Photoshop can't detect that the ...
- 2016-06-29T20:11:14-07:00
- Forum: Bugs
- Topic: Density does not work on some JPG images
- Replies: 13
- Views: 13754
Re: Density does not work on some JPG images
Other programs can't seem to identify the resolution as 300 (such as Gimp and programs trying to print the photo). Any idea why?
- 2016-06-29T19:32:55-07:00
- Forum: Bugs
- Topic: Density does not work on some JPG images
- Replies: 13
- Views: 13754
Density does not work on some JPG images
I'm using Ubuntu 16.04 and ImageMagick 6.8.9-9.
Here's an example of -density working correctly:
https://upload.wikimedia.org/wikipedia/commons/1/1a/Image_upload_test.jpg
convert Image_upload_test.jpg -density 300 Image_upload_test2.jpg
When you check Image_upload_test2.jpg, the DPI is correctly ...
Here's an example of -density working correctly:
https://upload.wikimedia.org/wikipedia/commons/1/1a/Image_upload_test.jpg
convert Image_upload_test.jpg -density 300 Image_upload_test2.jpg
When you check Image_upload_test2.jpg, the DPI is correctly ...