strange imagedata

2010-11-27 Thread Klaus on-rev
Hi all, I found that the imagedata of EMPTY images are NOT really empty??? I did this: 1. Created to identical EMPTY image object, so both appear (transparent) white on the card 2. Created a button with this script: ... set the imagedata of img 2 to the imagedata of img 1 ... 3. I exspected to

Re: strange imagedata

2010-11-27 Thread Klaus on-rev
Am 27.11.2010 um 17:35 schrieb Klaus on-rev: Hi all, I found that the imagedata of EMPTY images are NOT really empty??? I did this: Should read of course: 1. Created TWO identical EMPTY image objects, so both appear (transparent) white on the card 2. Created a button with this

Re: strange imagedata

2010-11-27 Thread Björnke von Gierke
You are setting the imagedata to null, which is equivalent to 0 which is equivalent (at least for the imagedata) to which is equivalent to black. At least i'd assume something like that is happening. I suggest you file a bug report. Try the following to set an image to a state where it

Re: strange imagedata

2010-11-27 Thread Klaus on-rev
Hi Björnke, You are setting the imagedata to null, which is equivalent to 0 which is equivalent (at least for the imagedata) to which is equivalent to black. At least i'd assume something like that is happening. I suggest you file a bug report. Hm, If you create an empty image object

Re: strange imagedata

2010-11-27 Thread Klaus on-rev
Hi all, Am 27.11.2010 um 17:54 schrieb Klaus on-rev: Hi Björnke, You are setting the imagedata to null, which is equivalent to 0 which is equivalent (at least for the imagedata) to which is equivalent to black. At least i'd assume something like that is happening. I suggest you

Re: strange imagedata

2010-11-27 Thread Scott Rossi
Recently, Klaus on-rev wrote: OK, the point/my problem is: How can we tell if an image is really empty (neither referenced nor imported)? Perhaps a combination of the text and filename properties? function emptyImage pImage return fileName of pImage is empty and text of pImage is empty end

Re: strange imagedata

2010-11-27 Thread Klaus on-rev
Hi Scott, Recently, Klaus on-rev wrote: OK, the point/my problem is: How can we tell if an image is really empty (neither referenced nor imported)? Perhaps a combination of the text and filename properties? function emptyImage pImage return fileName of pImage is empty and text of