Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Save a picturebox as a jpg image file

Posted on 2008-10-15
2
Medium Priority
?
1,146 Views
Last Modified: 2012-08-13
I would like to know if there is a free solution for saving the content I generate on a PictureBox to a jpg image file.

Actually I'm using SavePicture to save it as a bmp, but I would like to save to a jpg without any external library, or with a light and free library.

Thank you !
0
Comment
Question by:gplana
[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
2 Comments
 
LVL 7

Accepted Solution

by:
FER_G earned 1500 total points
ID: 22721507
gplana; yes there are a few ways to do that...

To save in JPG format you have to use a external library like gbitmap or freeImage.

URL: http://freeimage.sourceforge.net, it is a open GPL library (General Public Licence) Open Source, that allows you to work with the most famous image formats. (PNG, JPG, GIF, ICO, ETC. )

FerG
Saludos
--
Ing. Fernando D. Giletta
San Fco. Cba. Arg.
0
 
LVL 15

Author Closing Comment

by:gplana
ID: 31506238
Thank you.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

618 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