Any PNG image to 1 bit depth palette color type with only black and white #1590
Unanswered
BryansBusiness
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello ladies and gentlemen,
My name is Bryan and I am reaching out to all the kind people on here for assistance. My goal is to have a library I can use on an embedded system to automatically convert any PNG sent to it into a 1 bit depth palette color type PNG with only black and white data. I have looked at LodePNG, Image Magick, GEGL, GLIB, BABL, and obviously STB. I dwelled more into GEGL, GLIB and BABL mainly because the only program I was able to get my PNG's correctly formatted was through GIMP. But of course I leaned more into STB and LodePNG as they are single file libraries and I could implement much more easily into embedded. Unfortunately it seems that converting all the way down to 1 bit depth palette color type with only black and white isn't something many people need so there aren't many routines out there to achieve that conversion. I hope everyone can understand a little about what I'm trying to achieve. I understand if I don't really have one singular question so this one might as well be it, how would I go about to get a 1 bit depth palette color type PNG with STB. Also I am very sorry if a lot of what I said doesn't even pertain to this repo but I'm desperate for answers. Thank you all in advance for any help and hope to hear from y'all sooner rather than later 👍
Beta Was this translation helpful? Give feedback.
All reactions