Color swapping problem
iowahengst at mac.com
Sat Apr 11 13:58:20 CDT 2009
Your recipe worked as expected... all colors in the png were true to
the colors set in the field.
On Apr 11, 2009, at 12:28 PM, Hugh Senior wrote:
> Can anyone confirm this?
> Create a field called "MyText" with 3 lines of coloured text...
> 1. Red text
> 2. Blue text
> 3. Yellow text
> 4. Green text
> In a button...
> on mouseUp
> export snapshot from fld "MyText" to imgVar as PNG
> set the clipboardData["image"] to imgVar
> end mouseUp
> Now do a Ctrl.V paste to see the image in the stack.
> Green text is green, but red text is blue, blue text is red, and
> yellow text
> is magenta. Looks like the red and blue got swapped in the engine.
> color swap happens with JPEG format. Try GIF and it fails to produce
> anything except garbage.
> All the above also fail with export snapshot to file.
> This in Win XP, but I suspect Macs are similarly affected.
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the use-livecode