How to set a rgba color palette? #582
Asukaaaaaa
started this conversation in
General
Replies: 1 comment
-
I think you have to set the RGB part (corresponding to a PLTE chunk in a PNG file) using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
encoder.set_palette
seems only accept aVec<u8>
, how to describe a rgba color in u8 type?If i pass a 1024 size
Vec<u8>
palette, just get a broken image😮.Beta Was this translation helpful? Give feedback.
All reactions