Identify and -debug

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Drarakel
Posts: 547
Joined: 2010-04-07T12:36:59-07:00
Authentication code: 8675308

Identify and -debug

Post by Drarakel »

If I'm using "identify -verbose" (or "convert -verbose info:") in conjunction with "-debug", all the metadata (e.g. Exif profiles with thumbnails, color profiles, etc.) gets output - in binary form.
Does anyone know if this could be a problem (perhaps remains from older IM versions) - or the intended behaviour?

Example:

Code: Select all

convert rose: -profile sRGB.icc rose.jpg
identify -verbose -debug draw rose.jpg
...
Profiles:
Profile-icc: 3144 bytes
Description: sRGB IEC61966-2.1
Manufacturer: IEC http://www.iec.ch
Model: IEC 61966-2.1 Default RGB colour space - sRGB
Copyright: Copyright (c) 1998 Hewlett-Packard Company
0x00000000: 000c484c 696e6f02 1000006d 6e747252 47422058 ---HLino----mntrRGB
0x00000190: 595a2007 ce000200 09000600 31000061 6373704d XYZ -Î--- ---1--ac
...
0x0000f230: 34f4c2f5 50f5def6 6df6fbf7 8af819f8 a8f938f9 ô4ôÂõPõÞömöû÷Šø-ø¨ù8
0x0000f3c0: c7fa57fa e7fb77fc 07fc98fd 29fdbafe 4bfedcff ùÇúWúçûwü-ü-ý)ýºþKþÜ
0x0000f550: 6dffff00 ÿmÿÿ
Artifacts:
...

(By the way: I'm using the Windows console - and in Windows, I only get this output without further 'trouble' if I set the codepage to UTF-8 or Windows-1252. If I leave the codepage setting to the default, the binary output gets slowed down and I hear a constant beep from the PC speaker. *lol*)
Post Reply