I'm not aware of any GIF encoders written in Actionscript.

If you absolutely need to use GIF (and nobody has yet written an encoder in
AS), I only see 3 options:

1) Get the GIF spec and write the encoder from scratch.
2) Find some open source encoder in other language (like Java) and port it
to Actionscript.
3) As it was already suggested, use the PNGEncoder in as3corelib, send the
encoded image to the server and have the server re-encode it to GIF. In php,
using the GD library, re-encoding should be only a couple of lines.

1) is the hardest, and it's probably not worth the hassle. 2) is close to 1)
in many ways. 3) is the most reasonable option, I think. Unless you
absolutely need to do everything client side.

Cheers
Juan Pablo Califano

2009/12/11 Sumeet Kumar <[email protected]>

> Thanks for your replies.
> I got lot of links using which i can publish jpeg and png images, but
> nothing for gif....Can you please send me some link in reference to this.
>
> Thanks again.
> Sumeet Kumar
> ----- Original Message ----- From: "David Hunter" <
> [email protected]>
>
> To: <[email protected]>
> Sent: Thursday, December 10, 2009 10:18 PM
> Subject: RE: [Flashcoders] Publish transparent .gif file in AS3
>
>
>
>
> thanks. all the more reason to upgrade!
>
>  Date: Thu, 10 Dec 2009 17:35:08 +0100
>> From: [email protected]
>> To: [email protected]
>> Subject: Re: [Flashcoders] Publish transparent .gif file in AS3
>>
>> David Hunter wrote:
>> >
>> > hi Hendrik, are you on CS4? i'm still on CS3. the >
>> FileReference.download() method allows for URLRequests not bytearrays. > in
>> CS4 there is a save() method which allows you to pass bytearrays. is > that
>> what you mean or am i missing a trick with download() and > URLRequest? it
>> states that i can't use a bytearray datatype for > URLRequest.data with
>> download().
>> > thanks.
>> >
>>
>> Good catch, of course I meant the save method.
>> _______________________________________________
>> Flashcoders mailing list
>> [email protected]
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>
> _________________________________________________________________
> Use Hotmail to send and receive mail from your different email accounts
>
> http://clk.atdmt.com/UKM/go/186394592/direct/01/_______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to