Hey all. 2 seperate but related issues:
1) Is there an easy way to load a .gif onto a surface? (I have no trouble loading from a .gif embedded resource, but when loading from a file it chokes. The DD documentation seems to indicate it only natively can handle .bmp's...)
2) I want to populate the .Palette property of a surface with the palette that was defined in the image file (.bmp or .gif -- either one.) Anyone aware of an easy way to populate SurfaceInstance.Palette with the appropriate palette?
(I want to load the palette for a surface so I can change a few designated colors/palette_entries in the image before blitting it to the main surface.)
Any help would be greatly apprecaited
-Hiro_Antagonist
1) Is there an easy way to load a .gif onto a surface? (I have no trouble loading from a .gif embedded resource, but when loading from a file it chokes. The DD documentation seems to indicate it only natively can handle .bmp's...)
2) I want to populate the .Palette property of a surface with the palette that was defined in the image file (.bmp or .gif -- either one.) Anyone aware of an easy way to populate SurfaceInstance.Palette with the appropriate palette?
(I want to load the palette for a surface so I can change a few designated colors/palette_entries in the image before blitting it to the main surface.)
Any help would be greatly apprecaited
-Hiro_Antagonist