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
|