Can't find command to create conpressed bmp

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: helmut, XnTriq, xnview

Post Reply
Guest

Can't find command to create conpressed bmp

Post 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.
Guest

Post 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.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post 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
Pierre.
Guest

Post 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
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post 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
Pierre.
Guest

Post 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?
Guest

Post by Guest »

RLE? can it do that?
Guest

Post 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
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post 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?
Pierre.
Post Reply