With Supports HiDPI ON, Xojo loads pictures as ImmutableBitmaps, which always claim hasAlphaChannel=True regardless of the source file.
See here: https://forum.xojo.com/47184-picture-fromdata-gives-immutablebitmap-with-hasalphachannel-tru/last Apparently this is stored internally as an NSImage, and once it's an NSImage there is no way to tell if the original file did or did not have alpha. A brute-force workaround: get the copy of the mask, and see if all the pixels are zero. Is there a fast way to do that in MBS? Looks like PictureMBS.CompareImages might work, although I'd rather have a function that was fast and exited upon finding the first different pixel. Ideas? _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info