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.
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.