Can anyone give me links on how to convert Image type to File type? I spend hours looking for solutions..

You already invited:

Fredrik

Upvotes from:

There are two different classes called Image. One's a widget and the other at a lower level in ui is used for drawing on canvases etc. Which image do you mean? Also which type of file do you want? PNG? JPEG? Generally what you do is convert the image into an in memory compressed form, eg PNG, then write that to a file.

If you wanna answer this question please Login or Register