Post

 Resources 

Console

Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VBGamer
 VBGamer
 Bittersweet PNG

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List Spell Checker
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Insert an File
Check here to include your profile signature.
Check here to subscribe to this topic.
    

T O P I C    R E V I E W
EACam Posted - May 10 2004 : 10:40:13 AM
PNG...portable network graphic...i can't even tell if its lossy compression or not! But it is certainly lossy when it comes to file size!!!

It's really great, as far as I can tell...

That was the sweet part...here's the bitter:

LoadPicture can't load it! And that means I can't convert it to BMP when loading my textures! Which means i'm stuck with big boy bmp!

Does anyone know where I can get some loading/converting code to get PNG to BMP?
5   L A T E S T    R E P L I E S    (Newest First)
Eric Coleman Posted - May 10 2004 : 7:24:28 PM
You can use them DX8, but for DX 7 you'll need to use a png image file loader. Search google for "lib png" and you might find some hits. I'm not sure if it was at the vbexplorer forums or the visualbasicforums.com website, but someone had a png dll for download.
VBBR Posted - May 10 2004 : 12:54:32 PM
Yeah I assumed DirectX loaded them because the Engine I use (Revolution3D) can use PNGs as textures also, and it is made over DX9.
EACam Posted - May 10 2004 : 11:47:43 AM
ahah! Thanks!

(PNG rocks)
Sr. Guapo Posted - May 10 2004 : 11:27:06 AM
I'm pretty sure that D3DX can load .PNG images. If you look at the DirectX 4 vb tutorials, I think that that is mostly what they use.
VBBR Posted - May 10 2004 : 10:59:24 AM
Usually if you are using DirectX you can use D3DX to load PNGs for you (I think)...

And the best of PNG is, it is totally royalty-free! At least I think it is.

(hope thet Eric doesn't come here and writes something like, "it's not really free blah blah" and ruins my happiness... )

VBGamer © Go To Top Of Page
This page was generated in 0.08 seconds. Snitz Forums 2000

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.