[magick-users] Reducing output range
Anthony Thyssen
anthony at griffith.edu.au
Thu Jan 18 21:51:13 CST 2007
Illtud Daniel on wrote...
| Hi,
|
| I'm working with 8 bit greyscale images and I need to convert
| down to 5 bit (5 bits of level in each byte, still keeping 8 bits
| per pixel, top 3 bits always 0 - don't blame me, blame the printer
| language I'm fighting with).
|
| I can simulate this in gimp or photoshop by reducing the output
| level range to 0-31, but I can't find a similar way of adjusting
| levels in Imagemagick (I'm actually using perlmagick).
|
| Any help gratefully received.
|
This is something I requested and is present in IM future proposals.
In the mean time you can use a LUT to reduce the number of colors
http://www.cit.gu.edu.au/~anthony/graphics/imagick6/color/#color_lut
Anthony Thyssen ( System Programmer ) <A.Thyssen at griffith.edu.au>
-----------------------------------------------------------------------------
Hello Sucker! All Games are Honest.
All Games have a House Percentage.
So Come on in and Have Fun -- (While We Prove It)
-- Robert Hienlien, "Podkayne of Mars"
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
More information about the Magick-users
mailing list