I have a GUI that loading image from my Pc and then it need's to cnvert it to MIF file

so i basically whant to know is there any class that i can use for it?

I tried to find some code samples but did not find any.

Thx.