Quick ImageWell Question

I do my Windows testing with Boot Camp, and in an effort not to reboot to answer a simple question I thought someone might be kind enough to answer :slight_smile:

According to the ImageWell documentation (http://documentation.xojo.com/index.php/ImageWell) Windows only supports BMP and PNG in an ImageWell. What happens if I try to put a JPEG in? Does Windows really not support JPG natively? If not, how do I display a JPG in an ImageWell?

[quote=129545:@Tim Parnell]I do my Windows testing with Boot Camp, and in an effort not to reboot to answer a simple question I thought someone might be kind enough to answer :slight_smile:

According to the ImageWell documentation (http://documentation.xojo.com/index.php/ImageWell) Windows only supports BMP and PNG in an ImageWell. What happens if I try to put a JPEG in? Does Windows really not support JPG natively? If not, how do I display a JPG in an ImageWell?[/quote]

Just tried it. Jpeg works perfectly…

I always err on the side of ‘maybe’ anyway :slight_smile:

Dim p As New Picture (imagewell1.Width, imagewell1.Height)
p.Graphics.DrawPicture (myPicture, 0, 0)

ImageWell1.Image = p

Where do you see that? I must be missing it. Anyway, the statement doesn’t make sense, because once you have a Picture object, it’s an uncompressed bitmap and not a jpeg (or bmp or png) any more.

Thank you for checking for me, Michel.

Ohp, must be the dash copy is outdated. Sorry.

Thanks for the workaround :slight_smile:
I’ll probably have to turn it into a picture object anyway so images larger than the well display completely (by being resized)