Raysefo

Raysefo

  • 1.4k
  • 284
  • 151k

How to convert JPG to PNG on Openfile?

Jul 13 2015 8:08 AM
Hi,
 
I have JPG file and I would like to have it as a PNG. So if there is a way to convert this JPG to PNG while opening the file?
 
Best Regards & Thanks in advance.
 
 Here is my sample code:
//Load the Image
Bitmap bmpImage = new Bitmap(Openfile.FileName);
My_Image = new Emgu.CV.Image<Bgr, Byte>(bmpImage);
 

Answers (2)