spillerrec / cgCompress

Efficiently store Visual Novel cgs by using a multi-image format for storing all variations of one image in one file. This way, only the differences need to be stored which reduces the file size significantly.
GNU General Public License v3.0
16 stars 1 forks source link

Crash if two images are equal #3

Open spillerrec opened 9 years ago

spillerrec commented 9 years ago

If two images are exactly the same, cgCompress crashes when it tries to render the image, as the image gets saved twice, but with width and height offset to be outside the image. The crash should not happen, nor should it save the image twice.