PDA

View Full Version : Got an idea for png support, not sure if this would work



kryton9
30-06-2007, 11:56
I got a strange idea for a work around to use png in our programs.

Use a listbox to load it, then select all via code and copy it to the clipboard. Now it is in memory, can this info be used to assign it to an opengl texture?

Michael Hartlef
30-06-2007, 13:03
Could work maybe. You would need an invisible dialog for it, right?

Michael Clease
30-06-2007, 13:06
why not just load and extract the rgb

kryton9
30-06-2007, 22:06
I have looked at those specs and am lost. If I knew how to do all of that we would have png, jpg, gif formats by now :)
But you are right that would be the way to go without any outside libraries.