specify rgb values
Posted: 2010-11-08T22:12:16-07:00
Hello,
we have scenario that we need to convert the images into 16 bits. we used the command -depth 16. what we understood is it is converting 16 bits per channel. what we need is total 16 bits. like 5,6,5 format. is there any way to specify rgb values like 5,6,5 for the image?
I have already posted in the fourm regarding 16 bit conversion colour reduce.
viewtopic.php?f=2&t=17395
I tried the following option.
convert rose.png[1x1+10+10] -format "%[fx:int(255*r)],%[fx:int(255*g)],%[fx:int(255*b)]"
But i am getting some error like
convert: option requires an argument `-format' @ error/convert.c/ConvertImageCom
mand/1488.
Thanks
Kelvin.
we have scenario that we need to convert the images into 16 bits. we used the command -depth 16. what we understood is it is converting 16 bits per channel. what we need is total 16 bits. like 5,6,5 format. is there any way to specify rgb values like 5,6,5 for the image?
I have already posted in the fourm regarding 16 bit conversion colour reduce.
viewtopic.php?f=2&t=17395
I tried the following option.
convert rose.png[1x1+10+10] -format "%[fx:int(255*r)],%[fx:int(255*g)],%[fx:int(255*b)]"
But i am getting some error like
convert: option requires an argument `-format' @ error/convert.c/ConvertImageCom
mand/1488.
Thanks
Kelvin.