Page 1 of 1

PNGQuant

Posted: Thu Mar 06, 2014 3:57 pm
by a_bertrand
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.

Re: PNGQuant

Posted: Thu Mar 06, 2014 10:43 pm
by Jackolantern
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?

Re: PNGQuant

Posted: Fri Mar 07, 2014 4:29 am
by a_bertrand
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.

Re: PNGQuant

Posted: Fri Mar 07, 2014 10:53 pm
by Jackolantern
Oh, I think I may have been thinking of jpegs. I don't make very many graphics :P

Nice find, though!

Re: PNGQuant

Posted: Sun Mar 16, 2014 5:52 pm
by hallsofvallhalla
Very nice find! Definitely grabbing this.