Advertisement
7_2009-2012 Graphics #228734

Show PNG from RES-file with my PNG-Class

I get a email with a question to my PNG-class: I am a member of Planet Source Code and whilst looking for code so I can use .png files in my vb6 apps, I came across your superb png class. I would like to load a picture directly from a .res file though and can’t figure out how to do it! I could rip the picture to a temporary file and use that filepath for the filename, but I don’t want to have the picture available outside of the program. So i make my class ready to open a included RES-file. All the mails i send to Richard Couldridge (he send me the mail) come back to me. So i sent the source to PSC. This show the use of the class with a simple sample. I hope i can help more peoples with this peace of code.

AI

AI Samenvatting: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Broncode
original-source
Upload
Originele reacties (3)
Hersteld van de Wayback Machine