PCD => JPEG conversion broke between 6.4.0 and 6.4.8?
Posted: 2009-01-13T00:48:13-07:00
I have two machines, both running Mac OS 10.5.6. Machine A has convert version 6.4.0, Machine B has convert version 6.4.8.
Consider the following command:Machine A, running convert version 6.4.0, produces the desired results: a 1536 x 1024 jpeg file that looks accurate.
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
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