|
-
Jan 3rd, 2012, 08:48 AM
#11
Re: [vb6]Alpha Image Control (PNG, AniGIFs, TIFF, & more) [26 Nov 2011]
 Originally Posted by canon1995
LaVolpe, Sorry, but I have a problem again. It concerns my previous post(321). I got icon in AlphaImgCtl1, but now I need to save it to file, but I can't understand how. Sure I have read "SavePictureGDIplus" manual. And is it posible to load it again to control after programm reload automaticaly?
If you just want to save the picture to file in the same image format (no format conversions):
SavePictureGDIplus AlphaImgCtl1.Picture, "C:\MyImages\filename.ext", lvicSaveAsCurrentFormat
If you want the image to be part of your program, you will want to do 1 of these 2 things:
1) Add it to an Alpha Image Control during design time via the Custom property page
2) Add it to a resource file and use LoadPictureGDIplus during form_load. The LoadPictureGDIp.rtf has examples of loading image from resource files
If I am not understanding the question correctly, let me know
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|