convert copy differences

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
jmagyari
Posts: 22
Joined: 2010-01-19T18:09:32-07:00
Authentication code: 8675309

convert copy differences

Post by jmagyari »

1) If I use
convert original.xxx copy.xxx <-- where xxx is one of the supported file types
a) should original.xxx and copy.xxx be identical.
b) if they are not identical should copy.xxx have the same image attributes
(for example, I have a PNG which is original.png (~40k in size, 256x256, 8-bit palette+trns, non-interlaced, 38.5%
original.png PNG 256x256 256x256+0+0 8-bit DirectClass 40.3KB 0.000u 0:00.031
then after convert original.png copy.png
I see copy.png (~121k in size, 256x256, 32-bit RGB+alpha, non-interlaced, 53.5%
copy.png PNG 256x256 256x256+0+0 8-bit DirectClass 122KB 0.000u 0:00.000)

If convert original.xxx copy.xxx does produce a file with different characteristics, is their a combination of switches that should be used to indicate make no changes?
Post Reply