Hello,
I am basically using the following code to write an image to a file:
Where can is a canvas and my output filename, ofn, has the .jpg extension. I seem to be getting JPEG files output. I see the docs mention PNG's, I suppose if I used a .png extension.
Are other file formats supported, for example Tiff if I use a .tiff file name extension?
Thanks,
Barry.
I am basically using the following code to write an image to a file:
B4X:
Dim ops As OutputStream = File.OpenOutput(ofd, ofn, True)
can.snapshot.WriteToStream(ops)
ops.Close
Where can is a canvas and my output filename, ofn, has the .jpg extension. I seem to be getting JPEG files output. I see the docs mention PNG's, I suppose if I used a .png extension.
Are other file formats supported, for example Tiff if I use a .tiff file name extension?
Thanks,
Barry.