Using Copyrect with a automidhandles image

Blitz3D Forums/Blitz3D Beginners Area/Using Copyrect with a automidhandles image

Stevie G(Posted 2005) [#1]
I have an image 512x512 which has a automidhandle , I'm trying to copy the whole image to a texture image of the same size and can't seem to get it to work. Only copies a quarter of the texture over. Anyone experienced this and know how to resolve?

CopyRect 0,0,512,512,0,0,ImageBuffer( I_canvas ) , TextureBuffer( Texture )

This doesn't work ... neither does offseting the start to -256,-256 or 256,256


Stevie G(Posted 2005) [#2]
Sussed it! needed to do copyrect 0,0,512,256,256 ..