[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] How to extract images in DefineBitsJPEG2 tag?

From: Edwin
Subject: Re: [Gnash-dev] How to extract images in DefineBitsJPEG2 tag?
Date: Thu, 23 Oct 2008 08:31:24 +0800

Thank you very much. it works

On Thu, Oct 23, 2008 at 2:27 AM, Matthias Kramm <address@hidden> wrote:
On Tue, Oct 21, 2008 at 09:48:51PM +0800, Edwin <address@hidden> wrote:
> How can I extract the images in SWF and save it to a jpeg file?

The encoding table and the image data are contained in seperate
streams in the SWF files. Both streams start with <ff d8> and end with
<ff d9>. To convert that to "normal" jpeg data, you need to convert that
to a single stream.
In other words, you need to find the sequence <ff d9 ff d8> in the data and
remove it.



Gnash-dev mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]