VitinhooxD Posted September 6, 2010 Author Share Posted September 6, 2010 Hello.I was thinking if there is an DLL , or a code for loading PNGs into Origins DD7.Is there any way i can load pngs into DD7?Thanks , Vitin Link to comment Share on other sites More sharing options...
Robin Posted September 6, 2010 Share Posted September 6, 2010 Yes, but what's the point? All you're doing is increasing the loading time. You're converting PNG to BITMAP to DDS.You might as well just create/find a BITMAP compression & encryption algorithm. Link to comment Share on other sites More sharing options...
VitinhooxD Posted September 6, 2010 Author Share Posted September 6, 2010 No :D I just need the transparency of the PNGs , any codes or dlls for this? Link to comment Share on other sites More sharing options...
Godlord Posted September 6, 2010 Share Posted September 6, 2010 @Vitin:> Hello.I was thinking if there is an DLL , or a code for loading PNGs into Origins DD7.Is there any way I can load pngs into DD7?> > Thanks , VitinBest bet is libpng.@Robin:> Yes, but what's the point? All you're doing is increasing the loading time. You're converting PNG to BITMAP to DDS.> > You might as well just create/find a BITMAP compression & encryption algorithm.Let's re-invent the wheel and create our own PIXELmap (Bitmaps are monochrome and should only be monochrome, Microsoft doesn't seem to understand this) format. Then you also forget to realise that PNG has to be decompressed to a PIXELmap. Therefore you aren't increasing the loading time compared to normal PNG loading, because it is the same. You also forget to realise that encrypting graphics is like locking the door of a room without walls; it's useless.@Vitin:> No :D I just need the transparency of the PNGs , any codes or dlls for this?DirectDraw doesn't support RGBA directly, as far as I know. The only reason you should use PNG is because of the compressed storage i.e. it uses less space for the same thing.Regards, Stephan. Link to comment Share on other sites More sharing options...
VitinhooxD Posted September 6, 2010 Author Share Posted September 6, 2010 Ohh , thanks goddie Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now