jbostoen / ZTStudio

A tool to read and write Zoo Tycoon 1 Graphics
GNU General Public License v3.0
9 stars 4 forks source link

Known issue with transparent color and conversions ZT1 Graphic <=> PNG #13

Open jbostoen opened 7 years ago

jbostoen commented 7 years ago

You might encounter an issue in a situation similar to this:

1) pick green as background/transparent color 2) convert frames of an existing ZT1 graphic to .PNG, where a maximum amount of colors has been used 3) change background/transparent color (either in ZT Studio or in the graphics) 4) attempt to convert from .PNG to ZT1 graphic

The error will state you're trying to use too much colors in a color palette if you're still using the original .pal file.

Why? ZT Studio is incapable of knowing if the top left pixel should really be transparent. Although desired in most situations, there are some cases where this is not the case.

ZT Studio expects consistent behavior from the user.

Solution: make sure the background color of images is the same as the background color in ZT Studio.