Discussions on NConvert - the command line tool for image conversion and manipulation
Moderators: helmut , XnTriq , xnview
Guest
Post
by Guest » Mon Oct 03, 2005 3:45 pm
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 » Mon Oct 03, 2005 4:00 pm
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.
xnview
Author of XnView
Posts: 46236 Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:
Post
by xnview » Mon Oct 03, 2005 6:11 pm
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 » Mon Oct 03, 2005 6:56 pm
That worked:
nconvert -out sgi -truecolors *.tif
but they are uncompressed. Is there a command for compressing the RGB or BMP?
Thanks
Damon
xnview
Author of XnView
Posts: 46236 Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:
Post
by xnview » Mon Oct 03, 2005 7:29 pm
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 » Mon Oct 03, 2005 7:36 pm
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 » Mon Oct 03, 2005 7:48 pm
RLE? can it do that?
Guest
Post
by Guest » Mon Oct 03, 2005 9:46 pm
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
xnview
Author of XnView
Posts: 46236 Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:
Post
by xnview » Tue Oct 04, 2005 6:18 am
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.