Replace colors in imageData under linux doesn't work

wayne durden wdurden at gmail.com
Sun Mar 7 09:50:39 EST 2010


Hi, only a wild guess here as I don't have a setup to experiment, but is
there any possibility the alpha channel order isn't the same...?



On Sun, Mar 7, 2010 at 9:27 AM, Ludovic Thébault <
ludovic.thebault at laposte.net> wrote:

> Hello,
>
> I've made a map wih several sectors. Each sector have a specific color.
> For example sector one have this color : 245, 255, 255
> sector two : 215,255,255
> sector three : 194,255,255
> ...
> The map appear in blue (each sector with a different blue)
>
> Under MacOS and Windows, a script replace the color of a sector with an
> other. But under linux (Ubuntu, Mandriva, Xubuntu) it doesn't work. I've
> tested with Rev Studio 2.91 and RevMedia 4.
>
> the script :
>  get the imageData of image "carte"
>
> replace (numToChar(0) & numtochar(230) & numtochar(255) & numtochar(255))
> with \
>        (numToChar(0) & numtochar(45) & numtochar(155) & numtochar(90)) in
> it
>
> Under Linux, my map appear yellow !
>
> Here, a screenshot with the original map, the new map under MacOS and under
> Linux
> http://img.skitch.com/20100307-11umgehf9gmes8p9k6yknc7w8d.jpg
>
> Any ideas ? and any workaround ?  Thanks
> !_______________________________________________
> 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