JNG Support - TGE 1.5.2
by asmaloney (Andy) · 01/13/2009 (6:11 pm) · 4 comments
Download Code File
This is a back-port of JPEG Network Graphics [JNG] support from TGEA 1.7.1 to TGE 1.5.2. [I do have permission from GG.] JNGs may be thought of as essentially JPEGs with alpha or, looking at it from the other side, PNGs with compression.
JNGs were used quite effectively to reduce download size for several InstantAction games developed at GG.
A couple of notes:
- recommended work flow is to complete your art using lossless PNGs then convert to JNG when it is finalized
- normal maps should remain PNG because JNG is a lossy format
- you should use SuperPNG or PNGcrush on the normal maps because they produce smaller PNGs than Photoshop
- use the JNG plugin for Photoshop to tweak the amount of compression based on the in-game results
This is a back-port of JPEG Network Graphics [JNG] support from TGEA 1.7.1 to TGE 1.5.2. [I do have permission from GG.] JNGs may be thought of as essentially JPEGs with alpha or, looking at it from the other side, PNGs with compression.
JNGs were used quite effectively to reduce download size for several InstantAction games developed at GG.
A couple of notes:
- recommended work flow is to complete your art using lossless PNGs then convert to JNG when it is finalized
- normal maps should remain PNG because JNG is a lossy format
- you should use SuperPNG or PNGcrush on the normal maps because they produce smaller PNGs than Photoshop
- use the JNG plugin for Photoshop to tweak the amount of compression based on the in-game results
About the author
Didin Wahyudin