-
-
Notifications
You must be signed in to change notification settings - Fork 172
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
Add rgbgfx -c png
to specify palette specs as visible images
#1123
Comments
Why top to bottom? Left to right first seems more intuitive |
I mean the standard row-by-row order of English reading, electron gun scanning, etc. |
If we're going to do this, it might be worthwhile to also allow something like |
That sounds useful too, although it could be a follow-up issue once this one is resolved. |
On second thought, i still think it would be worth being able to embed the palette in the first or last row of the image. For images which have unique palettes, I don’t see the point in creating a separate file with the palette definitions only for it to be used once. It only makes it more cumbersome to modify the palette, needing to do so in two files rather than one. |
I would make
It's for consistency: if you are using |
Also you don't have to create a separate file; you should be able to pass |
But then it’ll read the image as a palette… that doesn’t make sense. if you make the first line of the image the palette you want to use, that line will show up in the output |
Ah, you're right, I was thinking in terms of an indexed palette, but that's what |
I think what you're describing is some imaginary mode |
At the very least, this should be compatible with the PNGs generated by |
Each color would be a single pixel, read top to bottom, left to right. (So for two palettes a user might supply a 1x8 png, or 8x1, or 4x2, or even 2x4.) The png's encoding wouldn't matter, only the individual pixels' colors.
The text was updated successfully, but these errors were encountered: