Click to See Complete Forum and Search --> : Load PNG files?
Fox
Feb 6th, 2001, 05:46 PM
How can i load PNG files? Any controls or API out there?
Basically I need to convert PNG to JPG.. any help appreciated!
Sastraxi
Feb 6th, 2001, 05:53 PM
There are many different resources. I suggest going with a control that will output an hDC or an stdPicture so you can use all of the normal functions with it.
Fox
Feb 6th, 2001, 06:18 PM
That's what I supposed but where can i find such a control?
YoungBuck
Feb 6th, 2001, 08:27 PM
You can check out the format of a PNG file on www.wotsit.org and see if you can manipulate the file yourself if you cannot find a control.
Fox
Feb 6th, 2001, 09:07 PM
OK I found a DOS program which converts PNG to BMP so I can make JPG out of it... Looks bad but works ;)
Anyways, if someone knows a control or code snippet to load PNG files please let me know...
parksie
Feb 8th, 2001, 04:22 PM
Take a look at libpng...it's available as a DLL so it can be used from VB.
MoMad
Feb 9th, 2001, 02:07 AM
hey fox, i know of a place you can find lots of png libraries... http://sourceforge.net its an open source development place,,
here is a link to what i found:
https://sourceforge.net/project/showfiles.php?group_id=5624&release_id=22495
then from there unzip and compile the dll's your self... oh and you have to download both the libpng and zlib to get the dll's...or if you have ms visual studio 6, then you can ask me for them and ill send them over to ya... as far as documentation goes, im looking into that and ill update you on what functions to use and how to call them etc,..
MoMad
Feb 9th, 2001, 02:09 AM
here is the official site:
http://www.libpng.org/pub/png
MoMad
Feb 9th, 2001, 02:31 AM
here are some other sources but im afraid that these are commercial ones... :(
http://www.vbxtras.com/Search.asp?SearchWords=png
Fox
Feb 9th, 2001, 05:25 AM
Ok, thanks, will have a look ;)
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.