|
-
Feb 6th, 2001, 06:46 PM
#1
Thread Starter
PowerPoster
How can i load PNG files? Any controls or API out there?
Basically I need to convert PNG to JPG.. any help appreciated!
-
Feb 6th, 2001, 06:53 PM
#2
Good Ol' Platypus
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.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Feb 6th, 2001, 07:18 PM
#3
Thread Starter
PowerPoster
That's what I supposed but where can i find such a control?
-
Feb 6th, 2001, 09:27 PM
#4
Fanatic Member
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.
{Insert random techno-babble here}
{Insert quote from some long gone mofo here}
-
Feb 6th, 2001, 10:07 PM
#5
Thread Starter
PowerPoster
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...
-
Feb 8th, 2001, 05:22 PM
#6
Monday Morning Lunatic
Take a look at libpng...it's available as a DLL so it can be used from VB.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Feb 9th, 2001, 03:07 AM
#7
Fanatic Member
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/show...lease_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,..
-
Feb 9th, 2001, 03:09 AM
#8
Fanatic Member
-
Feb 9th, 2001, 03:31 AM
#9
Fanatic Member
here are some other sources but im afraid that these are commercial ones... 
http://www.vbxtras.com/Search.asp?SearchWords=png
-
Feb 9th, 2001, 06:25 AM
#10
Thread Starter
PowerPoster
Ok, thanks, will have a look
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|