Hi,
I tried to search for this in the forum as well as googled it, but could not get much info on it.
Can anyone help me with converting an image to bitmap using ImageFormatConverter method?
Thanks & Regards,
Deven B.
Any code snippet using method ImageFormatConverter?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Any code snippet using method ImageFormatConverter?
I think you misunderstand the meaning of the ImageFormatConverter class. According to its documentation (see http://msdn.microsoft.com/en-us/library ... erter.aspx) this class is used to convert ImageFormat objects from one data type to another, e.g. from their string representation to actual ImageFormat objects.
If you want to save an image in different formats, just use the Image.Save method and specify the ImageFormat the image should be saved in (see http://msdn.microsoft.com/en-us/library/9t4syfhh.aspx)!
Regards,
Alex
Ranorex Support Team
If you want to save an image in different formats, just use the Image.Save method and specify the ImageFormat the image should be saved in (see http://msdn.microsoft.com/en-us/library/9t4syfhh.aspx)!
Regards,
Alex
Ranorex Support Team