GIMP reduce file size PNG

How To Reduce PNG File Size By 70% with GIMP

How To Reduce PNG File Size By 70% with GIMP 1024 602 Nick Saporito

In today’s tutorial I’ll be demonstrating how to use GIMP to reduce the file size of your PNG images by 70%, and without losing much quality.

Why Reduce File Size?

Large PNG file

If you’ve ever created a website that you wanted to do well in Google Search, you probably already know that site speed is a significant factor. The size of your image files can drastically impact your site’s load time. As designers we have a tendency to be meticulous with things like clarity and resolution, and often sacrifice file size in favor of that. When it comes to creating graphics for the web, this is a problem.

Another reason you may need to reduce the file size of your PNGs is because you’re uploading them to a website that has file size limits. I ran into this problem myself when I was creating some banner ads for Google’s display network.

Third Party Services

TinyPNG logo

There’s a variety of free online tools that you can use to reduce the size of your PNG files while maintaining respectable image quality. One tool in particular that I’ve used in the past is TinyPNG. If you’re using something like Inkscape or GIMP to create your graphics though, you don’t necessarily have to resort to using third party services to accomplish this. It can be done directly in GIMP before you export your image!

Using GIMP To Reduce PNG File Size

To get started, simply open up your image with GIMP and go to Image > Mode and select Index.

Image mode index

 

This will bring up the Indexed Color Conversion menu.

Index color conversion menu

By default, “Generate optimum palette” will be selected and the maximum number of colors should be set to 255. Leave those values just as they are (or set those values if GIMP didn’t default to them) and click Convert.

Now, go ahead and export your image as a PNG file. Upon export, you’ll be prompted with the following export menu…

The export menu in GIMP

Open up the Advanced column and make sure you have unchecked absolutely everything listed in the entire menu. This is all useless information that needlessly takes up disk space. Don’t worry about  preserving thumbnail or timestamp data. This information is automatically captured by your operating system anyway.

Once you’ve done that, go ahead and click Export and check the file size.

Reduced size amount

As you can see, stripping down the photo’s colors to just 255 reduced the PNG file size dramatically.

As for quality loss, here’s a before and after comparison…

Reduced PNG before and after

You’ll notice that the image on the right is slightly more pixelated than it originally was, but unfortunately this is the compromise we have to make when creating graphics for the web.

If you want your site to load quickly for users with slower internet speeds — and prevent them from bouncing from your page — you’ll have to make sure your site loads in a reasonable amount of time. There’s a variety of factors that impact this, but image file size is a factor that certainly should not be ignored.

Learn To Master The Software

Gain a complete understanding of your favorite design apps with my comprehensive collection of video courses. Each course grants access to our private community where you can ask questions and get help when needed.

  81 Videos
  11 Modules

The Inkscape Master Class

Tutorials, quizzes and practice exercises for learning every tool & feature in Inkscape.

Price: $17
  82 Videos
  10 Modules

The Affinity V3 Master Class

Tutorials, quizzes and practice exercises for learning every tool & feature in Affinity.

Price: $22
  98 Videos
  7 Modules

Illustrator Master Class

Tutorials, quizzes and practice exercises for learning every tool & feature in Illustrator.

Price: $17
  70 Videos
  9 Modules

GIMP Master Class

Learn how to use all of the primary tools and features in the GIMP application.

Price: $17

View All Courses

Nick Saporito

Hi, I'm Nick— a Philadelphia-based graphic designer with over 10 years of experience. Each year millions of users learn how to use design software to express their creativity using my tutorials here and on YouTube.

All stories by: Nick Saporito
Subscribe
Notify of
guest
22 Comments
Inline Feedbacks
View all comments
Stefan
Stefan
July 27, 2024 4:19 AM

hi and thanks for the tutorial.
I tried to reduce a jpg image exactly the way you described and exported it as png but it turned out the png was even bigger than the jpg.
Do I need to first convert it into a png or whould this work as well when using a jpg as soruce?
The latter obviosuly didn’t work.

Kind regards
Stefan

Lance
Lance
January 22, 2023 1:43 PM

The color mode alone is an incredible reduction, thanks so much. 10+ gimp user and I’ve been doing it wrong all along

Anonymous
Anonymous
September 13, 2022 11:31 AM

Thank you. What about reducing file sizes for JPGs?

Arrombado da Silva
Arrombado da Silva
September 14, 2021 8:38 AM

This saved me so much time (and space >U<). Thanks!!

Nick, But NOT Logos-By-Nick
Nick, But NOT Logos-By-Nick
September 10, 2021 10:54 AM

Hey! Question!? All my work is created using a Specific Custom Colour Palette (graphics are meant for clothing, ABSOLUTE colour coordination is a MUST hahaha) I use colour management within Inkscape, GIMP, and on my laptop (I THINK I have it set up properly, they all are all set with the same sRGB ICC file?)

I digress…

Will this technique interfere with that?

Here’s my problem: I’m trying scale an image in GIMP meant for a duvet cover (13500×13500 px) and it tells me the image size will become over 3 GB! This will not do…

I created the image in Inkscape, so naturally I tried to just resize the image and export page in Inkscape (where I created the graphic) but nothing seems to work, the exports are blank!

Sorry for long comment, I tend to be overly thorough, not concise hahaha

Anonymous
Anonymous
May 4, 2021 5:24 AM

thank you sir, this is really helpful

Paul
Paul
November 15, 2020 7:22 PM

Thanks for the article. I just reduced my PNG image sizes by half in a few minutes! Much appreciated

Anonymous
Anonymous
November 4, 2020 9:53 PM

Dude!!!! This worked great, Much appreciated! Marty:)

kamlesh birua
September 13, 2020 3:57 AM

Thank you , for such a nice information , could I reduce image size under 150kb.

Nate
August 5, 2020 11:24 AM

Still helping folks in 2020! Thanks for a clear and useful tutorial!

marc
marc
August 5, 2020 4:39 AM

thanx! the file size was 4x reduced after doing the trick 🙂

Kay
Kay
October 6, 2019 7:00 AM

Definately hleped da lot, thx 🙂
Although I don’t have this “advanced” menu that you were talking about.

Oh and one thing: how do you reduce the filesize by more than 100%? It would already be 0 byte by then. What you meant is reduce the filesize by 75% if you cut three fourths 😉

John
John
August 26, 2019 10:14 PM

You’re a total inspiration dude. You’ve helped me so much in learning how to create SVG images with your tutorials. I’ve been using them for web design which I am also learning and I feel that I am proficient at both GIMP and Inkscape because of you. Thank you for saving me a ton of time and frustration! Well into a career change and I cannot thank you enough.

Victor
Victor
April 22, 2019 2:34 AM

Thank you for this! I discovered your YouTube channel a while ago and now I use sometimes GIMP and Inkscape for some minor drawings, editing images, logos, etc. I have drawn in inkscape the logo-images of all the subway stations in here and create a map of it. But I always wanted to know how to reduce the file size of the resulting pngs. And now i found this on your web. I’m surprised I didn’t see how to do this on one of your videos.
Thank you again and keep up the good work. Greetings from Mexico City.

jack
jack
April 5, 2019 6:00 PM

Finally one clear and brief “how to reduce PNG image” – with GIMP.
Thank You!