Results 1 to 3 of 3

Thread: PNG Conversion in VB *** RESOLVED ***

  1. #1

    Thread Starter
    Fanatic Member MoMad's Avatar
    Join Date
    Oct 2000
    Location
    Seattle, WA
    Posts
    625

    PNG Conversion in VB *** RESOLVED ***

    Hello Everyone,

    Does anybody know where I can find information on how to convert a bitmap to a png format? I have found the free libpng and the accompanying zlib and got them compiled for vb use, but I have no idea how to use them!

    Does anybody know of any tutorials on how to use the free png libraries available at sourceforge.net? And how do you save a bitmap to png?

    Well I want to convert my bitmap into a png. I downloaded the popular libpng and its partner zlib. Then I compiled them with the __stdcall convention.

    Now my only problem is, how the hell do i use these functions?? I am seriously lost on how to take a simple bitmap and save it as a PNG format.

    Please help if you know what to do about this.

    Thank you for your prompt response.

    Thanks,
    MoMad

    PS: Anything regarding PNG will help...
    Last edited by MoMad; Aug 17th, 2002 at 03:58 AM.
    :MoMad:
    Nice Sig!

    http://go.to/momad/ Status: Not Ready

  2. #2
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Go down to a local bookstore, and get O'Reilly's PNG programming. A great purchase; I can get it for $10 canadian where I am. Look for it in a bargain bin somewhere, I'll bet you can get it cheaper
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  3. #3

    Thread Starter
    Fanatic Member MoMad's Avatar
    Join Date
    Oct 2000
    Location
    Seattle, WA
    Posts
    625
    Waaaaaaaaahhhhhhhhhhhhh!!!

    Thanks Sas, but i found a sollution already...

    Im too cheap to go buy a book, besides, i just want a simple conversion function. Easy does it. Anyways, I found a sollution, its this huuuuuuugeeee image processing library in c++ and its all free!!!

    It can convert from/to:

    • BMP
    • PNG
    • TGA
    • JPEG
    • TIFF
    • GIF
    • And more!!!


    Anywas the library can be downloaded here:
    http://www.codeproject.com/bitmap/cximage.asp

    its called CxImage! And im gonna make a little COM wrapper for it to allow VB programers to take advantage of it... maybe they already wrote such a thing for it? hmmm...
    :MoMad:
    Nice Sig!

    http://go.to/momad/ Status: Not Ready

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width