All kind of lossless image compression

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

Moderators: XnTriq, helmut, xnview

Post Reply
useratxnview
Posts: 1
Joined: Sun Jul 03, 2016 8:19 pm

All kind of lossless image compression

Post by useratxnview »

Hello, tell me please all possibilities to LOSSLESSLY compress image using NConvert.

So, input data are:
1. I have image in BMP file format, let's it be "testimage.bmp" (8bpp or 24bpp).
2. My operation system is Windows and I need all actions be executed from the command line.
3. I have downloaded NConvert from http://www.xnview.com/en/nconvert/
4. I run "cmd.exe", do "cd" to NConvert directory.

I need to perform all possible types of LOSSLESS image compression, that NConvert do provide. At least I need:
- JPEG-LS;
and I have found another software to compress in (but I would like to know HOW TO compress with NConvert too):
- JPEG2000,
- PNG.

Questions. Please, specify command lines "how to achieve my goal".
User avatar
xnview
Author of XnView
Posts: 43595
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: All kind of lossless image compression

Post by xnview »

JPEG-LS is only in reading

Code: Select all

nconvert -out jp2 -q 100 testimage.bmp

Code: Select all

nconvert -out png testimage.bmp
Pierre.
Sprintdriver
Posts: 57
Joined: Mon Feb 02, 2009 11:46 pm

Re: All kind of lossless image compression

Post by Sprintdriver »

Isn't webp format supported?

It too provide losseless compression, often with smaller files than png's 8)
Post Reply