Convert image image1.emf to image1.jpg or image1.png

Hello everyone,

I’m new to UiPath, and I’m looking to convert image1.emf, to either image1.jpg or image1.png. Could anyone help me achieve this?

Thank you in advance!

Hi @victoryv4569

Can you try like below

image

Regards,

Hay @lrtetala

I tried it but Getting this error

Thank you

@victoryv4569

Try this

Regards,

Opening the emf file

myEMF = new System.Drawing.Imaging.Metafile(“YourFullFilePath”)

Conversion / Saving it to png

Using invoke Method for
myEMF.Save(“YourPNGFilePath”, System.Drawing.Imaging.Imageformat.Png)

Hay @ppr

can you provide this solution in UiPath.

Thank you!

it is given for UiPath / also shown with the attached Links

Variables:
grafik

Assign Activity:
grafik

Invoke Method:
grafik