![]() |
GIF transparency |
Post Reply ![]() |
Author | |
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() Posted: 13 January 2007 at 6:58pm |
Xtreme Toolkit Pro has a lot of classes, so before I try to implement this sh*t myself, I'm going to ask the gurus :)
GDI+/MFC gives us CImage - a quite handy class for image loading/saving. The problem is that it cannot draw a GIF correctly. The transparent parts are drawn in solid green.
My question is; is there a class in the library that can help in this case? All I want to do is to load a GIF with transparency and then paint it correctly.
Thanks!
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
try OleLoadPicture:
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() |
Thanks! I'll give it a try.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |