Search found 4 matches

by fransk
2017-05-11T08:35:10-07:00
Forum: Users
Topic: non-square pixels in PNG
Replies: 7
Views: 5337

Re: non-square pixels in PNG

Yes, my IM does show the pixel dimension data of your file. I guess that settles it: if identify -verbose does not show pixel dimensions, they are not specified in the PNG file.
by fransk
2017-05-11T06:22:41-07:00
Forum: Users
Topic: non-square pixels in PNG
Replies: 7
Views: 5337

Re: non-square pixels in PNG

That data seems to be really missing in my case. Below are two snippets from the output of magick identify -verbose myfile.png Top lines: Image: myfile.png Format: PNG (Portable Network Graphics) Mime type: image/png Class: DirectClass Geometry: 4x3+0+0 Units: Undefined Type: PaletteAlpha Base type ...
by fransk
2017-05-11T01:43:14-07:00
Forum: Users
Topic: non-square pixels in PNG
Replies: 7
Views: 5337

Re: non-square pixels in PNG

Snibgo, thank you for the thorough answers, and I am glad to know that IM respects pixel dimensions in processing. I checked the output of "identify -verbose" again, but I do not see a "png:pHYs:" line. Perhaps that's because I run IM on Windows? Anyway, that is a different subject.
by fransk
2017-05-10T09:22:17-07:00
Forum: Users
Topic: non-square pixels in PNG
Replies: 7
Views: 5337

non-square pixels in PNG

Hello, I have a PNG file that is supposed to have non-square pixels. Is there a way to check if that is true? I can not rely on PNG viewers because they are at liberty to present non-square pixels as square, as per the PNG spec . I have tried the identify command line tool but it does not seem to ...