Page 1 of 1

png compression

PostPosted: Sat Aug 22, 2015 12:58 pm
by mumu64
Has it been ever discussed or explained why C2 does not use TinyPNG or (https://pngquant.org/)?

Re: png compression

PostPosted: Sun Aug 23, 2015 12:15 pm
by PSI
I make all of my pngs smaller but, according to what I've heard from @Ashley all images are converted to bitmap at runtime, regardless of their format.

Re: png compression

PostPosted: Sun Aug 23, 2015 12:22 pm
by zenox98
Just search - this has been discussed 'ad nauseum'.

Re: png compression

PostPosted: Sun Aug 23, 2015 5:21 pm
by Ashley
TinyPNG is lossy. We won't enable something like that by default, because it degrades the quality of your artwork.

If you opt-in to PNG-8 format via the Image Format dialog in the image editor, C2 will apply similar tools to bring similar file size savings.

Re: png compression

PostPosted: Sun Aug 23, 2015 5:42 pm
by mumu64
Ashley wrote:TinyPNG is lossy. We won't enable something like that by default, because it degrades the quality of your artwork.

If you opt-in to PNG-8 format via the Image Format dialog in the image editor, C2 will apply similar tools to bring similar file size savings.


Ah, I see. Thanks.

Re: png compression

PostPosted: Mon Aug 24, 2015 12:14 am
by Usman Haq
But if we use Tiny PNG, that would still decrease the size of our game. Right?

Re: png compression

PostPosted: Mon Aug 24, 2015 6:08 am
by mumu64

Re: png compression

PostPosted: Mon Aug 24, 2015 10:36 am
by Ashley
Usman Haq wrote:But if we use Tiny PNG, that would still decrease the size of our game. Right?

You could also replace all your artwork with solid black rectangles. That would really decrease the size of your game because that kind of image compresses incredibly well. It would however have quite an adverse effect on the quality of your artwork. So there is a tradeoff to be made 8-)