• Welcome to Vampyre Imaging Library Forum. Please login or sign up.
 

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - dbots

1
Hi all,
I am using DelphiX in an application I wrote to display bitmaps and jpeg images.
Now, a client gave to me DDS files and asked to use these.
I tried to use Vampyre imaging library to load DDS with code :

InitImage(Img);
LoadImageFromFile('data51.dds', Img);


where Img is TImageData, but then cannot find out how to transfer this on TDirectDrawSurface of DelphiX, so that I finally display it on the application's DirectX Surface.

Any recommendations or help would be greatly appreciated.
Thank you in advance.
SMF spam blocked by CleanTalk