I’m using the following to convert a picture before printing which works fine on Mac but on Windows it still prints in color. Is there something additional I should be doing or a different approach needed?
if printpuzzcolour = True then
g.DrawPicture ClipArtp, px, ys, x, y, 0, 0, ClipArtp.Width, ClipArtp.Height
else
g.DrawPicture ClipArtp.GrayScaleMBS(2), px, ys, x, y, 0, 0, ClipArtp.Width, ClipArtp.Height
end if
What version of xojo, windows, mbs are you using and have you checked that GrayScaleMBS works on a canvas paint with that the image you have and does the example work for you?