Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > .NET Languages
You last visited: Today at 14:36

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Help]-C#-64Bit-Load and Display .DDS Image

Discussion on [Help]-C#-64Bit-Load and Display .DDS Image within the .NET Languages forum part of the Coders Den category.

Reply
 
Old   #1
 
funhacker's Avatar
 
elite*gold: 20
Join Date: Sep 2007
Posts: 1,767
Received Thanks: 1,741
[Help]-C#-64Bit-Load and Display .DDS Image

Hi guys,

You might not know me too well here as I spend like 90% of my time here in EOPserver section. I am trying to make a map editor for EO but I have hit a wall (a big one at that).
The problem is not being able to load .DDS format. I have tried using the following libraries/plugins.

GDImage
FreeImage
DevIL

Neither work with 64bit OS. I was curious if anyone knows of a simple to use method somewhere I can use for this. I only wish to display the DDS not save nor edit it.


Important Notes:
Vista Ultimate 64bit
Visual Studio 2008 Express
.Net 3.5


Any help is appreciated.
funhacker is offline  
Old 05/09/2013, 04:47   #2
 
elite*gold: 0
Join Date: May 2013
Posts: 1
Received Thanks: 0
you might wanna try to this image app, it perfectly. hope it helps.
redimage is offline  
Old 06/09/2013, 20:05   #3
 
funhacker's Avatar
 
elite*gold: 20
Join Date: Sep 2007
Posts: 1,767
Received Thanks: 1,741
Quote:
Originally Posted by redimage View Post
you might wanna try to this image app, it perfectly. hope it helps.
Thank you but due to how old this is, I've much more experience these days, and had incorporated XNA into win forms to allow what I was after (not just purely loading DDS)
funhacker is offline  
Old 06/09/2013, 22:07   #4
 
kissein's Avatar
 
elite*gold: 0
Join Date: Sep 2005
Posts: 426
Received Thanks: 87
Tried the XNA native method yet ?
kissein is offline  
Old 06/10/2013, 07:45   #5
 
funhacker's Avatar
 
elite*gold: 20
Join Date: Sep 2007
Posts: 1,767
Received Thanks: 1,741
Quote:
Originally Posted by kissein View Post
Tried the XNA native method yet ?
Seriously? Did you even read what was just said?
funhacker is offline  
Old 06/10/2013, 12:02   #6
 
elite*gold: 5
Join Date: Mar 2008
Posts: 460
Received Thanks: 436
You can set your Project to 32-Bit Mode.
So you can use the 32 Bit Methods that you have.

On Express it's not that's easy, but it works.

If you need help to set your Project to 32Bit contact me.
SwarN is offline  
Old 06/10/2013, 19:37   #7

 
x]vIrus[x's Avatar
 
elite*gold: 37
Join Date: Apr 2004
Posts: 2,154
Received Thanks: 250
how about using devil x64 version??

but if you only wish do display the image, then install a codec pack which contains a dds codec, then you can load the image with System.Windows.Media.Imaging library
x]vIrus[x is offline  
Old 06/29/2013, 13:10   #8
 
»jD«'s Avatar
 
elite*gold: 237
Join Date: Sep 2010
Posts: 1,152
Received Thanks: 4,910
You won't find a DDS codec pack anywhere. DDS is a proprietary format from Microsoft. You probably have two options right now. First is go and check out the SDK from NVidia which if I remember correctly can read DDS files and has a .NET library. Your second option is using DirectX and one of the many managed DirectX wrapper libraries for .NET considering a DDS is a DirectDraw Surface file. I've had good experiences with the tiny SlimDX library.

A quick google also turned up this: . Depending what file format it is, it may help you.

If you need any more help, I'll be back around in a day and can post some code from one of my projects.

-jD
»jD« is offline  
Reply


Similar Threads Similar Threads
LOG (failed to load image) Fehler beim starten
07/15/2010 - Metin2 Private Server - 9 Replies
Hey Com, wenn ich den Server HeavenMt2 starten will kommt immer eine Meldung namens: LOG Failed to load image (filename: d:/ymir work/ui/pattern/Board_Corner_Ricght.Bottom.tga) und dann Fenster mit lauter ???????. Kann mir da jemand helfen? hab 3 mal neu gepatcht und pc neugestartet und es klappt immer noch nicht ._.
Creature- Display-IDS
06/11/2010 - WoW Private Server - 4 Replies
Hi! ich bräuchte n paar display-ids von n paar mobs (am besten dämonen). könnte jmd die posten? wäre echt nett^^
Neuer Image Hoster / New Image Hoster
05/15/2010 - Main - 9 Replies
Hi, ich habe einen neuen Image-Hoster erstellt. Ich hoffe das ich einige Nutzer finde. Falls ihr irgendwelche verbesserungs vorschläge habt bitte posten. Bitte Hier Klicken Hi, i created a new Image-Hoster. I hope that i find some users. If you have any tips to make this site better please post them.
Lab Map display
11/27/2008 - Conquer Online 2 - 0 Replies
Is there a tool that will display your location on a graphic of the lab map? I tried searching, but 3-letter searches "lab map" are turned off and browsing is painfully slow on this site anymore.
i want to trade my 100m SRO gold to your levelup load or RF load
04/15/2008 - Silkroad Online Trading - 1 Replies
hi..........anyone want SRO gold i have 100m i want to trade this to your levelup load or RF load anyone have just pm me or contact me this email add. [email protected] or +639202300892



All times are GMT +2. The time now is 14:36.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.