Page 1 of 1

Can't find command to create conpressed bmp

Posted: Mon Oct 03, 2005 3:45 pm
by Guest
All

I need to convert a TIF to a compressed BMP. I can get it to a bmp, but not a compressed BMP. Here the command I an using.

nconvert -out bmp *.tif

For some reason, my -help just scrolls through too fast to see. |more doesn't work to pause it.

Posted: Mon Oct 03, 2005 4:00 pm
by Guest
Or maybe a compressed RGB

nconvert -out sgi *.tif

This command gives an error. Says this file cannot be converted to this format. But when I use Xnview, it works great.

Posted: Mon Oct 03, 2005 6:11 pm
by xnview
Anonymous wrote:Or maybe a compressed RGB

nconvert -out sgi *.tif

This command gives an error. Says this file cannot be converted to this format. But when I use Xnview, it works great.
Try with -truecolors

Posted: Mon Oct 03, 2005 6:56 pm
by Guest
That worked:

nconvert -out sgi -truecolors *.tif

but they are uncompressed. Is there a command for compressing the RGB or BMP?

Thanks
Damon

Posted: Mon Oct 03, 2005 7:29 pm
by xnview
Anonymous wrote:That worked:

nconvert -out sgi -truecolors *.tif

but they are uncompressed. Is there a command for compressing the RGB or BMP?
RGB bmp doesn't support compression

Posted: Mon Oct 03, 2005 7:36 pm
by Guest
That's odd. If I convert a tif to RGB in Xnview, the file size goes from 1.2MB to 34Kb. Is there any way to convert a tif to RGB or BMP and have the file size small?

Posted: Mon Oct 03, 2005 7:48 pm
by Guest
RLE? can it do that?

Posted: Mon Oct 03, 2005 9:46 pm
by Guest
I figured out a way.

Nconvert -out bmp -c 8 *.tif

Makes the BMP very small. Works since there are only 4 colors in the TIF

Thanks

Posted: Tue Oct 04, 2005 6:18 am
by xnview
Anonymous wrote:That's odd. If I convert a tif to RGB in Xnview, the file size goes from 1.2MB to 34Kb. Is there any way to convert a tif to RGB or BMP and have the file size small?
Your picture is perhaps not in true colors?