RSS/Atom feed Twitter
Site is read-only, email is disabled

Reduce size of an image

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

4 of 4 messages available
Toggle history

Please log in to manage your subscriptions.

Reduce size of an image Adam Tong 11 May 22:46
  Reduce size of an image Ofnuts 11 May 23:06
   Reduce size of an image Chris Mohler 11 May 23:15
Reduce size of an image Jernej Simončič 12 May 18:02
Adam Tong
2011-05-11 22:46:03 UTC (over 13 years ago)

Reduce size of an image

Hi,

I made a 5x35 image using a gradient that i'll use as background for a div. I saved it as .jpg. Its size now is 325 bytes. Is there any additional method to make the size smaller?

Thank you

Ofnuts
2011-05-11 23:06:18 UTC (over 13 years ago)

Reduce size of an image

On 05/12/2011 12:46 AM, Adam Tong wrote:

Hi,

I made a 5x35 image using a gradient that i'll use as background for a div. I saved it as .jpg. Its size now is 325 bytes. Is there any additional method to make the size smaller?

325 bytes is already in the trivial size range... This said, you should be using PNG, a much better format for Web graphics outside of photos. In this format a 5*35 gradient image in 212 bytes, but you can likely reduce it to 1*35 (157 bytes)

Chris Mohler
2011-05-11 23:15:42 UTC (over 13 years ago)

Reduce size of an image

On Wed, May 11, 2011 at 6:06 PM, Ofnuts wrote:

325 bytes is already in the trivial size range... This said, you should be using PNG, a much better format for Web graphics outside of photos. In this format a 5*35 gradient image in 212 bytes, but you can likely reduce it to 1*35 (157 bytes)

And pngcrush might be able to shave off a few bytes afterward - I've gotten mixed results myself, but if bandwidth is a huge concern it may be worth a try.

http://pmt.sourceforge.net/pngcrush/

Chris

Jernej Simončič
2011-05-12 18:02:06 UTC (over 13 years ago)

Reduce size of an image

On Wed, 11 May 2011 18:15:42 -0500, Chris Mohler wrote:

And pngcrush might be able to shave off a few bytes afterward - I've gotten mixed results myself, but if bandwidth is a huge concern it may be worth a try.

After pngcrush, also process the image with AdvPNG (which is much faster, and sometimes achieves better compression than pngcrush) and PNGOUT but only
if you have a lot of time) .