Search found 2 matches
- 2014-07-11T12:34:01-07:00
- Forum: Users
- Topic: Convert PNG to C Source .h file
- Replies: 7
- Views: 19176
Re: Convert PNG to C Source .h file
Thanks folks. I appreciate the help. As a follow up, how would I mogrify multiple png files into a single .h? And did anyone find the documentation support for .h output? mogrify -format h *.png ... creates one .h for each png. This is time consuming. Thanks again!]] centos 6.5 (which is where IM is ...
- 2014-07-09T19:34:01-07:00
- Forum: Users
- Topic: Convert PNG to C Source .h file
- Replies: 7
- Views: 19176
Convert PNG to C Source .h file
New to this. Need to convert a PNG image (of a mouse cursor, 32x32 pixels) into two C arrays, one with just the Alpha, and one with the RGB8. How do I get just the Alpha into one .h file, and just the RGB into the other .h file? I have tried: convert foo.png -channel RGB foo_rgb.h I have tried ...