Consider the following command:
Code: Select all
% convert "./test/IMG0101.PCD[4]" -quality 100 "./test/IMG0101.jpg"
Machine B, running convert version 6.4.8, produces a 1536 x 1024 jpeg with a mangled color map: white areas render as predominantly green, and other parts appear to be "solarized".
Side note 1: Machine B produces the same mangled color map regardless of the "index" (size) argument (e.g. the [4] in the example above).
Side note 2: viewtopic.php?f=3&t=8685&hilit=pcd makes passing reference to mangled colors, but was referring to version 6.3.3.
Side note 3: Both versions of convert complain about "Corrupt PCD image, skipping to sync byte" when the index is 5 or larger, however it doesn't appear to affect the output. I will file this as a separate bug report if anyone cares.
Let me know if I can provide files for tests or other additional information that will help get to the root cause.
Thanks!
--ff