[magick-users] Reducing output range

Illtud Daniel illtud.daniel at llgc.org.uk
Thu Jan 18 11:17:28 CST 2007


Gabe Schaffer wrote:

Thank you for replying, Gabe.

> Have you tried $image->Level("0,31") ?

Yes. It doesn't do anything. I'm writing the image
(with $image->Write('gray:-') to stdout, or to a .pgm file)
and they don't differ (binary identical) whether I do that
or not. The distribution of grays is still 0-255.

-- 
Illtud Daniel                                 illtud.daniel at llgc.org.uk
Uwch Ddadansoddwr Systemau                       Senior Systems Analyst
Llyfrgell Genedlaethol Cymru                  National Library of Wales
Yn siarad drosof fy hun, nid LlGC   -  Speaking personally, not for NLW


More information about the Magick-users mailing list