Make your PNG's smaller.

Discussion of tools and resources for game developers

Post » Wed Jul 01, 2015 11:18 am

Found this great tool for making PNG's smaller without losing much detail. Thought i might be sharing it. Can reduce project size considerably.

Converts PNG24 images to PNG8 but preserves full alpha transparency.

https://tinypng.com/
Follow my progress on Twitter
or in this thread Archer Devlog
B
41
S
18
G
18
Posts: 1,024
Reputation: 13,345

Post » Wed Jul 01, 2015 11:38 am

earn size but lose quality
B
46
S
16
G
8
Posts: 794
Reputation: 8,335

Post » Wed Jul 01, 2015 11:42 am

Been mentioned many times before. Use search to see responses.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
136
S
31
G
86
Posts: 5,482
Reputation: 59,750

Post » Wed Jul 01, 2015 11:59 am

@zenox98 I did search and I didn't find anyone posting it in this part of the forum. searched for both "tinypng" and "tiny png"
Follow my progress on Twitter
or in this thread Archer Devlog
B
41
S
18
G
18
Posts: 1,024
Reputation: 13,345

Post » Mon Jul 06, 2015 5:41 pm

This topic was discussed earlier. There is a PNG optimizer that does an incredible job, and even allows for custom (manual) intervention (an easy to use quality mask brush): Color Quantizer.
http://x128.ho.ua/color-quantizer.html

viewtopic.php?f=157&t=125830&p=894714&hilit=quantizer#p894714

It is, of course, lossy - but visually there is no difference when applied with care. The gains are considerable.
Win7 64- i7 920@3.6Ghz, p6t Deluxe v1, 48gb, ATI 7970 3gb, EVGA 590 3GB, Revodrive X2 240gb, e-mu 1820. Screens: 2 x Samsung s27a850ds 2560x1440, HP 1920x1200 in portrait mode
B
30
S
10
G
8
Posts: 170
Reputation: 7,074

Post » Tue Jul 07, 2015 10:06 am

Construct 2 has pretty good built-in export-time optimisations already. Remember there's no point using tools like this before export, since C2 will encode the PNG itself anyway during export.
Scirra Founder
B
399
S
236
G
89
Posts: 24,519
Reputation: 195,351

Post » Tue Jul 07, 2015 10:57 am

@Ashley I took one tilemap after export from C2, and ran it through the tool and saved around 70% size. I'm wondering though, as a sprite with animations exports as a single/multiple spritesheet, is there any way to have other sprites bundle together in the same manner without using the tilemap object (since the sprites vary a lot in size and are not constant 64x64 sprites?) One workaround would be to load all the different sprites on to a single sprite object and per instance set the animation frame or animation/name. Or is there any easier way I might have missed?

I'm using around 20 different sprites at the moment, some tiny, some larger, and they all export as their own individual sprite sheet, so it would be great if all sprites without animations that are exported were bundled up in the same manner as sprites with animations.
Follow my progress on Twitter
or in this thread Archer Devlog
B
41
S
18
G
18
Posts: 1,024
Reputation: 13,345

Post » Tue Jul 07, 2015 11:55 am

Oh, I just saw TinyPNG is lossy, so it will degrade the image quality to improve the compression. C2 is cautious and defaults to lossless compression, and only uses lossy if you tell it to (e.g. set PNG-8 in the image quality dialog), so it doesn't default to trashing your artwork. Still I guess extra options for lossy compression might come in useful.
Scirra Founder
B
399
S
236
G
89
Posts: 24,519
Reputation: 195,351


Return to Tools and Resources

Who is online

Users browsing this forum: No registered users and 1 guest