using fixed number of colors in image
Posted: 2010-03-09T03:20:35-07:00
I know that to find out the number of colors in image I can use
$identify -format "%k" file
In grub boot loader we can set image as background of menu but the restriction is image should be 640x480 ( resizing I know ) and have not more than 16 colors ( preferred 12 ) .
Currently I use gimp in which I do image > mode > indexed & set palette to 12.
[question]how can I use command of imagemagick to do this ?
$identify -format "%k" file
In grub boot loader we can set image as background of menu but the restriction is image should be 640x480 ( resizing I know ) and have not more than 16 colors ( preferred 12 ) .
Currently I use gimp in which I do image > mode > indexed & set palette to 12.
[question]how can I use command of imagemagick to do this ?