ImageData broken for small images...
MisterX
b.xavier at internet.lu
Sat Apr 2 05:40:23 EST 2005
i wonder if this is related to
http://support.runrev.com/bugdatabase/show_bug.cgi?id=2353
? Although I get no crashes...
cheers
Xavier
> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of
> Chipp Walters
> Sent: Saturday, April 02, 2005 11:29
> To: Use-Revolution
> Subject: ImageData broken for small images...
>
> I've got a problem and maybe someone here can help. I think
> this is probably a bug in the engine.
>
> import snapshot from rect 0,0,3,3
> crashes Rev in WinXP and makes an image with no imageData on MacOSX
>
> (or any rectangle with either width <5 or height <5)
>
> So, I wrote a nifty routine to grab the imagedata from a
> rect. But, it turns out trying to set the imagedata of an
> image smaller than 5x5 won't work at all. It sets the
> imageData to empty instead. Confirmed on both Mac and PC.
>
> So, I thought, capture the image larger and then crop it.
> Again more crashes. Has anyone else a fix for this or should
> I just bugzilla it?
>
> TIA,
>
> Chipp
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list