Solved

Save picture box to gif or bmp?

Posted on 2001-06-06
4
353 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
ID: 6159233
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
ID: 6159235
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
ID: 6159243
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
ID: 6176466
Thanks again
leachim
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
message box in access 4 52
how to know if my Checkbox is True in VB6.0? 9 66
Help me. 3 71
Are images uploaded to Yelp in the public domain? 2 77
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Keep your audience engaged and get the most out of your next presentation with these quick Prezi tips.
In this tutorial viewers will learn how to create blended and gradiated shapes in Illustrator using the blend tool Draw two shapes, one of them in a different color: Select both and create a blend by going to Object > Blend > Make: Blends can also b…
Not only does Prezi allow you to create non-linear presentations, it also makes it easy to apply transition animations between your frames. Learn how to apply a fade-in transition to select items and entire frames in this tutorial Select "Edit Path"…

696 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