I was looking of some ways to reduce the size of my images for my game, and I found this:
http://pngquant.org/
Basically it takes your 24bit PNG images, with transparency and reduces it up to 70% or more without actually loosing much of the visual quality. Think that my images directory went down from 22Mb to 7Mb!
Cubicverse has therefore being updated to use the new images, should yield to faster loading game, and yet not much quality lost.
If you are like me, using PNG for the alpha transparency, then check it out.
PNGQuant
- a_bertrand
- Posts: 1536
- Joined: Mon Feb 25, 2013 1:46 pm
PNGQuant
Creator of Dot World Maker
Mad programmer and annoying composer
Mad programmer and annoying composer
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: PNGQuant
Nice find! 
What do you make your images in? Usually when I have used Photoshop, I have been able to turn down the quality sliders pretty low without getting bad results. Did normal compression not work well for your images?
What do you make your images in? Usually when I have used Photoshop, I have been able to turn down the quality sliders pretty low without getting bad results. Did normal compression not work well for your images?
The indelible lord of tl;dr
- a_bertrand
- Posts: 1536
- Joined: Mon Feb 25, 2013 1:46 pm
Re: PNGQuant
PNG are loseless normally, unless you go to 8 bit, and at point it doesn't seems that photoshop is able to handle the transparency. Which means, for my game, it's not usable. Therefore I usually use 24 bits PNG but then they are big.
For my game, I produce the PNG 24 bit directly from my 3D rendering tool as small sprites (a single position), then using a command line tool I wrote in C# I merge all the frames into the spritesheet. Finally I now compress them to bring then back to 8 bit indexed with transparency.
For my game, I produce the PNG 24 bit directly from my 3D rendering tool as small sprites (a single position), then using a command line tool I wrote in C# I merge all the frames into the spritesheet. Finally I now compress them to bring then back to 8 bit indexed with transparency.
Creator of Dot World Maker
Mad programmer and annoying composer
Mad programmer and annoying composer
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: PNGQuant
Oh, I think I may have been thinking of jpegs. I don't make very many graphics
Nice find, though!
Nice find, though!
The indelible lord of tl;dr
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: PNGQuant
Very nice find! Definitely grabbing this.