[RESOLVED]discrepancy in verbose information converting SVG to PNG and JPG IM 6.9.10.17 Q16 Mac OSX
Posted: 2018-12-19T16:57:18-07:00
convert -units PixelsPerCentimeter -density 37.8 MSVG:wizard.svg tmp1.png
Image: tmp1.png
Format: PNG (Portable Network Graphics)
Mime type: image/png
Class: DirectClass
Geometry: 370x492+0+0
Resolution: 37.8x37.8
Print size: 9.78836x13.0159
Units: PixelsPerCentimeter
convert -units PixelsPerCentimeter -density 37.8 MSVG:wizard.svg tmp1.jpg
Image: tmp1.jpg
Format: JPEG (Joint Photographic Experts Group JFIF format)
Mime type: image/jpeg
Class: DirectClass
Geometry: 370x492+0+0
Resolution: 37x37
Print size: 10x13.2973
Units: PixelsPerCentimeter
Looks like for JPG, the Resolution is being truncated and this affects the print size.
Image: tmp1.png
Format: PNG (Portable Network Graphics)
Mime type: image/png
Class: DirectClass
Geometry: 370x492+0+0
Resolution: 37.8x37.8
Print size: 9.78836x13.0159
Units: PixelsPerCentimeter
convert -units PixelsPerCentimeter -density 37.8 MSVG:wizard.svg tmp1.jpg
Image: tmp1.jpg
Format: JPEG (Joint Photographic Experts Group JFIF format)
Mime type: image/jpeg
Class: DirectClass
Geometry: 370x492+0+0
Resolution: 37x37
Print size: 10x13.2973
Units: PixelsPerCentimeter
Looks like for JPG, the Resolution is being truncated and this affects the print size.