On Tue, 16 Jun 2009 06:11:24 -0700 (PDT)
vijay vaidya <[email protected]> wrote:
|
| Hello people,
|
| In our attempt to automate an application, which deals with Images, we plan
to use 'ImageMagick' to a good extent. As of now, we have used only
straight-forward commands like convert, crop etc. When we are trying to
convert a '.png' image to its 'textual representation' through the command,
|
| convert input.png input.txt
|
| , at times, the 'RGB' value or the color code in the 'converted text file'
(input.txt in the above example) has values within '0 and 255' (for example,
'white' is represented by the color code, '255,255,255' and 'Blue' by
'0,0,255'). But, at times, the 'RGB' value in the 'converted text file' has
values within '0 and 65535' ('white' is represented by '65535,65535,65535',
'Blue' by '0,0,65535' and so on).
|
| Can this (getting different RGB ranges) be prevented? Can we tell
'ImageMagick' to always convert a file with '255 RGB'? Would different 'RGB'
ranges make a difference in the appearance of the image?
|
Specify the output 'depth' EG: -depth 8
See IM examples, Basics, Depth and Quality
http://www.imagemagick.org/Usage/basics/#depth
Anthony Thyssen ( System Programmer ) <[email protected]>
-----------------------------------------------------------------------------
This signature is lying to you.
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users