Hi all. I am a C beginner here. I've been using libpng to open png files.
I hope to eventually have one file that has more than one png in it (compressed or not), call it the main file.
Is it possible to say, read x amount of bytes from the main file, and then make another FILE* with its buffer pointing to the x amount of bytes I just read?
Seems like an easier solution than my other idea, to see if I can figure out how to get libpng to read from a char buffer.
Thanks