[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: |
Matthias Kramm |
Subject: |
Re: [Gnash-dev] How to extract images in DefineBitsJPEG2 tag? |
Date: |
Wed, 22 Oct 2008 20:27:15 +0200 |
User-agent: |
Mutt/1.5.6i |
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.
Greetings
Matthias