For example:
Code: Select all
F:\web\im>c:\im\ImageMagick-6.8.8-Q16\convert xc:rgb(10%,20%,30%) ta.txt
F:\web\im>type ta.txt
# ImageMagick pixel enumeration: 1,1,65535,srgb
0,0: (10.0008%,20%,30.0008%) #199A33334CCD srgb(10.0008%,20%,30.0008%)
F:\web\im>c:\im\ImageMagick-6.8.8-Q16\convert ta.txt txt:
# ImageMagick pixel enumeration: 1,1,65535,srgb
0,0: (100%,100%,100%) #FFFFFFFFFFFF white
IM correctly reads 16-bit "txt:" files that are integers, but writes them out as percentages.