Hi, It seems to be related to using
pdf.InsertPicture(picture, picture.mask,x,y,w,h) If I just use pdf.InsertPicture(pictures,y,w,h) even though the picture has a mask it works fine. The documentation says not to do this, so I've essentially flattened the image and removed the mask before inserting into the PDF. Previewing the image in the IDE shows a correct picture and mask before insertion. Regards, Lee > Hi, > > I have a strange problem. > > If I create a picture with a Mask or Alpha channel and use > pdf.insertimage(picture) the PDF created has the Red and Blue channels > swopped. It doesn't seem to happen on every computer which is very weird. If > I remove the mask using picture.copypicturewithoutmaskMBS, then it looks fine. > > The display in the App always looks ok, it's only in the PDF does an image > look wrong. > > I've tried using call pdf.setTransparency(false), but that made no difference. > > Regards, > > Lee > > > _______________________________________________ > mbsplugins@monkeybreadsoftware.info mailing list > %(list_address)s > https://ml-cgn08.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info _______________________________________________ mbsplugins@monkeybreadsoftware.info mailing list %(list_address)s https://ml-cgn08.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info