Hey all,
I'm a bit new to C. I'm currently working on a graphics rendering library for the wii, and I've run into a bit of trouble with libpng. All the documentation that I can find is for reading from a file, whereas my image is an array, where each value is each bit's value in the file. If someone could post an example program, what would be greatly appreciated, as I can't seem to make a simple program to get rgba values for each pixel in the image.
(a) This is a C++ forum. If you think that C and C++ have something in common, just look at the "Hello, World" version of both languages and think again.
(b) I don't know which "libpng" the wii uses, but I would be surprised to learn that it is the same one I use. So a little bit of information would be good.
(c) "Write code xy for me" is most likely not going to help you. Write what you have and ask specific questions, please.
(a) This is a C++ forum. If you think that C and C++ have something in common, just look at the "Hello, World" version of both languages and think again.
I know. By saying that I'm new to C, I mean C and C++. I guess I should have clarified this.
(b) I don't know which "libpng" the wii uses, but I would be surprised to learn that it is the same one I use. So a little bit of information would be good.
I haven't been able to find any information on this so far, but I'll keep looking.
(c) "Write code xy for me" is most likely not going to help you. Write what you have and ask specific questions, please.
I didn't ask anyone to write an example program. Just a link to a tutorial or an example source would be greatly appreciated. I can't quite put all the functions together correctly, and would just like to see a correct implementation