Solved

Save picture box to gif or bmp?

Posted on 2001-06-06
4
347 Views
Last Modified: 2013-11-19
Is it possible to save the visual data of picture1 to a gif or bmp file?
0
Comment
Question by:leachim
4 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 100 total points
Comment Utility
Set AutoRedraw = True for the picture box and then use the following to save it to bitmap.

    SavePicture Picture1.Image, "c:\testbed\pic1.bmp"

You cannot use this method to save as a GIF though.
0
 
LVL 10

Expert Comment

by:caraf_g
Comment Utility
I could be wrong, but I seem to remember that if you use LoadPicture for a gif, then SavePicture saves it as such....
0
 
LVL 1

Expert Comment

by:morgan_peat
Comment Utility
The picture is saved in original format if it's a bmp, ico, wmf, etc.....
JPG's and GIF's are saved as bitmaps though.
You can't actually save GIF's at all without paying an extortionate amount of money to Unisys, 'cos they have licensed the compression algorithm.
Try using PNG instead.
0
 

Author Comment

by:leachim
Comment Utility
Thanks again
leachim
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Help in WHSCRIPT 9 41
VB6 add a minute to the date time value 8 44
Run code from text file in vb 1 32
Spell Check in VB6 13 39
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Keep your audience engaged and get the most out of your next presentation with these quick Prezi tips.
Learn how to download your full Prezi presentation for offline presenting. Prezi doesn’t have to be viewed and shared in a web browser, even with a free account you can download your full presentation to share with others. Be sure to download any vi…
It’s easy to embed any of your public Prezi presentations on your website or social network to share with others. Learn how simple it is in this tutorial.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now