CopyImage problem

Blitz3D Forums/Blitz3D Programming/CopyImage problem

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

This doesn't work: (no copy or re-size takes place)
	bat(num) = CopyImage (bat(0))
	ResizeImage bat(num), 128 * batScale(num), 20


This does work: (both the copy and the re-size take place)
	myCopyImage(bat(0), bat(num))
	ResizeImage bat(num), 128 * batScale(num), 20
the *only* difference between the two is I'm calling my own copy image function instead of the Blitz one.




Also, FYI:

This doesn't work: (neither of the copies or the re-size takes place)
	bat(num) = CopyImage (bat(0))
	myCopyImage(bat(0), bat(num))
	ResizeImage bat(num), 128 * batScale(num), 20


This does work: (but I need the copy to happen as well as the re-size)
	ResizeImage bat(num), 128 * batScale(num), 20


Basically as soon as I use Blitz's CopyImage(), the image related commands in that particular function, no longer work. The game continues to play fine with no pauses, hic-ups or errors (except the image is nopt re-sized!)