Color swapping problem

Randy Hengst iowahengst at mac.com
Sat Apr 11 14:58:20 EDT 2009


Hello Hugh,

Your recipe worked as expected... all colors in the png were true to  
the colors set in the field.

Enterprise 3.5
Mac 10.4.11
PowerBook G4

take care,
randy
-----
On Apr 11, 2009, at 12:28 PM, Hugh Senior wrote:

> Can anyone confirm this?
>
> RECIPE
> 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.
>
> RESULTS
> 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.  
> Same
> 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.
>
> /H
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list