Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jbostoen opened this issue Feb 3, 2017 · 0 comments
Open
Labels

Comments

@jbostoen
Copy link
Owner

jbostoen commented Feb 3, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant