You've reached a page on the Ren'Py wiki. Due to massive spam, the wiki hasn't been updated in over 5 years, and much of the information here is very out of date. We've kept it because some of it is of historic interest, but all the information relevant to modern versions of Ren'Py has been moved elsewhere.
Some places to look are:
Please do not create new links to this page.
JCC is a technique that replaces a single PNG image with two JPEG images, one for color data and one for alpha. Ren'Py recombines the JPG images, allowing the image to be reconstructed memory. As JPEG uses lossy compression, this technique allows one to trade small amounts of image quality for large reductions in disk space and download size.
Comparison of images before (left) and after (right) JCC. The original image took 64 KB of disk space, while the compressed one takes 28 KB, for a reduction of 56%.
End User: The only requirement for the end user of JCC is that the game they're playing be made with Ren'Py 6.3.3 or greater.
Developer: The JCC tool requires:
It's expected that the developer knows how to run a Python script on his or her system.
To convert the images used in your game to use JCC, place the jcc.py script in the game directory of your project, and run it. This will do two things:
Note that this will compress all PNG files in the game directory, losing some quality in the process. There are some files that you may not want compressed, such as the frame of the text window, or SFonts. You should restore these png files from the backups, and delete the corresponding jpg files.