Solved

Convert GIF/Save PictureBox as GIF

Posted on 1997-07-10
3
409 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

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

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…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

740 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