I'm trying to use overlayimage() to overlay an image. I have the main image preloaded and I've set the tranform for imageplayer to rot90. When I overlay the image, the overlayed image is not rotated as the main image is. Is there a way to apply the same rotation to the overlayimage. Example below:
if type(m.iplayer) <> "roImagePlayer" then
m.iplayer = createobject("roImagePlayer")
end if
m.iplayer.setdefaultmode(1) 'scale to fill
rect = CreateObject("rorectangle",1300, 540, 600, 540)
m.iplayer.SetRectangle(rect)
m.iplayer.SetTransform("rot90")
m.iplayer.PreloadFile(m.currentfile$)
m.iplayer.OverlayImage(m.storagepath$, 540, 600)