Solved

Convert GIF/Save PictureBox as GIF

Posted on 1997-07-10
3
395 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
3 Comments
 
LVL 7

Expert Comment

by:tward
Comment Utility
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
Comment Utility
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
Comment Utility
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
In this Micro Tutorial viewers will learn the basic shortcuts and functions in InDesign.
Learn how to create interesting presentations by including videos to keep your audience engaged using Prezi. Select "Insert" from the top menu in your Prezi editor: Select "YouTube Video": Paste the video URL into the prompt: "Select "Insert":…

772 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

15 Experts available now in Live!

Get 1:1 Help Now