https://bugzilla.wikimedia.org/show_bug.cgi?id=29659

--- Comment #4 from Brion Vibber <[email protected]> 2011-07-01 00:26:01 UTC 
---
Ok I did a quick check resizing these versions of the Ping_deny.png image:

a.png -- the truecolor version
b.png -- the grayscale version (it is in fact grayscale, not indexed!)
truecolor.png -- a version explicitly re-saved from Gimp from a.png
gray.png -- a version explicitly converted to grayscale in Gimp from a.png
indexed.png -- a version explicitly converted to indexed color in Gimp from
a.png


for x in a.png b.png gray.png indexed.png truecolor.png
do
    convert \
        -quality 95 \
        -background white \
        $x \
        -thumbnail 300x142\! \
        -depth 8 -auto-orient \
        300px-$x
done

The resulting images match what I see from the above-linked thumbs:

* truecolor image, scaled, is still truecolor.
* grayscale image, scaled, is still grayscale. Looks slightly darker and
possibly blurrier than scaled version of truecolor image.
* indexed-color image, scaled, becomes truecolor. Looks identical to grayscale
version.

So the commands we're giving are exactly the same; ImageMagick itself is
applying some slightly different behavior.

Tested:
Version: ImageMagick 6.6.2-6 2011-03-16 Q16 http://www.imagemagick.org

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to