can't seem to produce jpgs smaller than 30kB
Posted: 2007-10-31T02:47:22-07:00
Hi, I'm using mini_magick as an interface to ImageMagick for a web-application. I'm basically only using -quality and -resize.
I'm starting off with a 1MB jpeg, and resizing to 150x150 with quality 100 gives a file about 42kB, which is too big for my usage. So I thought "i'll just reduce the quality". 80% gave 37kB, still too big. So I reduce the image size to 130x130 -> 33kB. Reduce to 100x100 -> 32kB. Reduce to 1x1 -> 30kB!!!
Surely something's wrong here? That kind of file should be a few kB at most. Is there any way to strip out all the meta data? Any ideas as to why I'm hitting this file-size limit? With halving the resolution and lowering the quality i'm only taking 1/4 off the filesize?! And reducing the image size to nothing still leaves me with 30kB?!
Can anyone suggest some optimum settings for low filesizes?
cheers,
alistair
I'm starting off with a 1MB jpeg, and resizing to 150x150 with quality 100 gives a file about 42kB, which is too big for my usage. So I thought "i'll just reduce the quality". 80% gave 37kB, still too big. So I reduce the image size to 130x130 -> 33kB. Reduce to 100x100 -> 32kB. Reduce to 1x1 -> 30kB!!!
Surely something's wrong here? That kind of file should be a few kB at most. Is there any way to strip out all the meta data? Any ideas as to why I'm hitting this file-size limit? With halving the resolution and lowering the quality i'm only taking 1/4 off the filesize?! And reducing the image size to nothing still leaves me with 30kB?!
Can anyone suggest some optimum settings for low filesizes?
cheers,
alistair