All kind of lossless image compression

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

Moderators: XnTriq, xnview

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

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 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: 27339
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Sprintdriver
Posts: 25
Joined: Mon Feb 02, 2009 11:46 pm

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)


Return to “NConvert”

Who is online

Users browsing this forum: No registered users and 1 guest