All kind of lossless image compression

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

Moderators: helmut, XnTriq, xnview

All kind of lossless image compression

Postby useratxnview » Sun Jul 03, 2016 8:26 pm

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
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:
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".
Posts: 1
Joined: Sun Jul 03, 2016 8:19 pm

Re: All kind of lossless image compression

Postby xnview » Mon Jul 04, 2016 9:08 am

JPEG-LS is only in reading
Code: Select all
nconvert -out jp2 -q 100 testimage.bmp

Code: Select all
nconvert -out png testimage.bmp
User avatar
Author of XnView
Posts: 26775
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: All kind of lossless image compression

Postby Sprintdriver » Tue Jul 05, 2016 9:19 pm

Isn't webp format supported?

It too provide losseless compression, often with smaller files than png's 8)
Posts: 25
Joined: Mon Feb 02, 2009 11:46 pm

Return to NConvert

Who is online

Users browsing this forum: No registered users and 1 guest