i want to reduce the file size at converted gif

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

Moderators: XnTriq, xnview

Post Reply
Guest

i want to reduce the file size at converted gif

Post by Guest » Mon Jul 10, 2006 9:01 am

I use the fallowing option
"nconvert -out gif -o %.gif -ratio -resize 120 90 -colors 256 *.jpg"
I convert two jpg file 1.jpg and 2.jpg
i get two output gif 1.gif and 2.gif
problem is 1.gif and 2.gif have the same width and height and the same colors .but i got the diffrent file size ?what problem cause?could anybody help me?

User avatar
xnview
Author of XnView
Posts: 32454
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: i want to reduce the file size at converted gif

Post by xnview » Mon Jul 10, 2006 1:17 pm

Anonymous wrote:I use the fallowing option
"nconvert -out gif -o %.gif -ratio -resize 120 90 -colors 256 *.jpg"
I convert two jpg file 1.jpg and 2.jpg
i get two output gif 1.gif and 2.gif
problem is 1.gif and 2.gif have the same width and height and the same colors .but i got the diffrent file size ?what problem cause?could anybody help me?
1.jpg & 2.jpg are not the same picture...
Pierre.

User avatar
helmut
Posts: 8176
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: i want to reduce the file size at converted gif

Post by helmut » Mon Jul 10, 2006 4:48 pm

Anonymous wrote:problem is 1.gif and 2.gif have the same width and height and the same colors .but i got the diffrent file size ?what problem cause?could anybody help me?
The format GIF and other graphic formats use compression to reduce file size. The compression depends very much on the image contents, e.g. for GIF (LZW) compression works very well on images with little change and few colours in it, whereas images with lots of details don't compress that well and will result in larger files - even if width & height & colour depth is the same as the other image.

Post Reply