Windows Develop Bookmark and Share   
 index > Windows Forms Sample Applications > png images
 

png images

cool application.

Is it possible to save the images as png images instead of jpg?

Thanks
MigrationUser 1  Monday, August 09, 2004 2:41 AM
The code that saves the jpeg image is in the <b>SavePhoto</b> method of the <b>upload\Publish</b> class. This calls <b>JpegQuality.Save(path, image, _quality)</b>, you can replace that call with <b>image.Save(path, Imaging.ImageFormat.Png)</b> to save to the png format.

The program does assume the jpeg format is being used, so you will need to search for "jpg" and see what other parts of the app need to be modified. I don't think there are very many other jpeg-specific areas.
--
ralph arvesen

MigrationUser 1  Tuesday, August 10, 2004 11:26 AM
Thank you!
MigrationUser 1  Tuesday, August 10, 2004 6:27 PM

You can use google to search for other answers

Custom Search

More Threads

• Source Code
• Insttal problems
• Problem with merging assemblies using ILmerge
• what is the code(UDP )bettween server and multible client in C#
• Multi-part question in regards to functionality
• where to start?
• TaskVision - Source code installation help needed
• How to get the latest version
• One question about Authentication XML Web Service!!
• Download link for Windows Samples?