Limiting Picture Size
Posted: 2011-05-19T13:57:46-07:00
I have a TIF image that is 16 colors (4 bits per pixel), and uses Packbits compression. ~5MB size.
I execute the following command to remove the background "baby blue" from the image that originates from a IrfanView conversion of the scanned image.
"convert Picture_In.tif -fuzz 5% -fill WHITE -opaque "#D3E9F7" -compress LZW Picture-Out.tif"
The output file size is 11.7 MB and results in 24 bits per pixel. although there are only 16 unique colors as desired.
When I put "-colors 16" in the command line, the program never completes.
What am I doing wrong?
I execute the following command to remove the background "baby blue" from the image that originates from a IrfanView conversion of the scanned image.
"convert Picture_In.tif -fuzz 5% -fill WHITE -opaque "#D3E9F7" -compress LZW Picture-Out.tif"
The output file size is 11.7 MB and results in 24 bits per pixel. although there are only 16 unique colors as desired.
When I put "-colors 16" in the command line, the program never completes.
What am I doing wrong?