JPEG Image Compression problem

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

Moderators: helmut, XnTriq, xnview

Post Reply
Altaf Raza

JPEG Image Compression problem

Post by Altaf Raza »

Hi

While converting JPEG to PNG i'm facing a problem.On converting
JPEG images of sizes (300 to 900 KB) into PNG the nconvert expands its sizes & resolution(3 to 5 MB) & Converting JPEG of Size(more than 3 MB) nconvert compressed its size (in KB).

Is there any option for JPEG(upto 1 MB of size) should remains its original size(i.e. doesnt expands) after conversion into PNG.
thnx
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: JPEG Image Compression problem

Post by xnview »

Altaf Raza wrote:While converting JPEG to PNG i'm facing a problem.On converting
JPEG images of sizes (300 to 900 KB) into PNG the nconvert expands its sizes & resolution(3 to 5 MB) & Converting JPEG of Size(more than 3 MB) nconvert compressed its size (in KB).

Is there any option for JPEG(upto 1 MB of size) should remains its original size(i.e. doesnt expands) after conversion into PNG.
You can try different level of compression, but jpeg is lossy and png lossless
Pierre.
thomas59310

Re: JPEG Image Compression problem

Post by thomas59310 »

Ok, but How to change compression level with nconvert?
xnview wrote:
Altaf Raza wrote:While converting JPEG to PNG i'm facing a problem.On converting
JPEG images of sizes (300 to 900 KB) into PNG the nconvert expands its sizes & resolution(3 to 5 MB) & Converting JPEG of Size(more than 3 MB) nconvert compressed its size (in KB).

Is there any option for JPEG(upto 1 MB of size) should remains its original size(i.e. doesnt expands) after conversion into PNG.
You can try different level of compression, but jpeg is lossy and png lossless
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: JPEG Image Compression problem

Post by xnview »

thomas59310 wrote:Ok, but How to change compression level with nconvert?
-q
Pierre.
p43k

Re: JPEG Image Compression problem

Post by p43k »

xnview wrote:
thomas59310 wrote:Ok, but How to change compression level with nconvert?
-q
thank you.
Post Reply