Solved

Convert GIF/Save PictureBox as GIF

Posted on 1997-07-10
3
413 Views
Last Modified: 2013-11-19
Hello,
How do I save the contents of a PictureBox or Image control as a GIF or JPG file?
If I have a saved BMP file, is there a utitlity where I can convert the BMP into GIF/JPG using a command from within VB?
If I have to buy a commercial image OCX which can save as GIF/JPG, which is the best/cheapest?
0
Comment
Question by:UlfB
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 7

Expert Comment

by:tward
ID: 1428166
What version of VB are you using?  There is an OCX for VB4 by a company called LeadTools which is about $400.00 which will open and convert about 42 different image formats.

If you are using VB5.0 I believe atleast GIF is now part of the Picturebox, not sure about JPG though.
0
 

Author Comment

by:UlfB
ID: 1428167
I am using VB5.
LeadTools seems to be a bit of an overkill in this situation, and yes it is possible to display a GIF in VB5, but not save.
0
 
LVL 3

Accepted Solution

by:
wolfcrag earned 100 total points
ID: 1428168
If you want a free tool which reads many formats (e.g. GIF, JPG, BMP, RLE, TGA, PCX, DIB, JIF...) and can save to two formats (JPG and BMP) try:

http://einstein.ae.eng.ua.edu/nishita/index.htm

Note, it's a DLL, but it's easy to use. Since it doesn't save to GIF this is not a complete answer, but hey there is such a thing as partial credit! :-)
0

Featured Post

Technology Partners: 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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
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…
In addition to being a great web-based presentation tool, Prezi also makes it easy to save your presentation as a PDF to share with others as well. Learn how in this tutorial. Select the share icon from the top menu in your Prezi editor: Select "D…

732 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