[magick-users] Different 'ranges' of 'RGB' values in the 'textual version' of 'PNG' images
vijay vaidya
vijayvaidya2000 at yahoo.com
Tue Jun 16 06:11:24 PDT 2009
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?
Please let me know.
Thanks for your time,
Vaidyalingam.
More information about the Magick-users
mailing list