Has anyone by any chance made a function to dump an 8 bit palette to the
arrays the paletteMap function is asking for? :)
I guess the alternative is to create an image that holds the palette as
pixels in rows, and then use getpixel to pull one rgb at a time to populate
the arrays.
Elia
----- Original Message -----
From: "Elia Morling" <[EMAIL PROTECTED]>
To: "Flash Coders List" <flashcoders@chattyfig.figleaf.com>
Sent: Sunday, February 17, 2008 10:41 PM
Subject: Re: [Flashcoders] Swap 8 bit palettes
Thanks I will check it out. The images we are talking of are not
anti-alias.
Elia
----- Original Message -----
From: "Zeh Fernando" <[EMAIL PROTECTED]>
To: "Flash Coders List" <flashcoders@chattyfig.figleaf.com>
Sent: Sunday, February 17, 2008 10:10 PM
Subject: Re: [Flashcoders] Swap 8 bit palettes
You can do a lot of color transformations with the color matrix.
If you want to swap the PALLETE, oldschool-style, one color at a time,
you just use the paletteMap method of the BitmapData class. It's only
really useful if you don't have antialias on your image or else it
becomes a monumental task to do anything.
Zeh
Elia Morling wrote:
Ok m8.
My artist has 8-bit tile graphics. We want to swap the colors in those
tile graphics by changing the palette.
It's a simple operation really, I just wonder if Flash supports it.
Cheers
Elia
----- Original Message ----- From: "Juan Pablo Califano"
<[EMAIL PROTECTED]>
To: "Flash Coders List" <flashcoders@chattyfig.figleaf.com>
Sent: Sunday, February 17, 2008 7:31 PM
Subject: Re: [Flashcoders] Swap 8 bit palettes
Perhaps if you describe your problem / what you're trying to do with a
little more detail...
2008/2/17, Elia Morling <[EMAIL PROTECTED]>:
I guess not?
" Is it possible to swap 8 bit palettes directly in Flash?"
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders