swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] Re: data loss in jpeg


From: Matthias Kramm
Subject: Re: [Swftools-common] Re: data loss in jpeg
Date: Sun, 26 Sep 2004 15:21:36 +0200
User-agent: Mutt/1.5.6i

On Wed, Sep 22, 2004 at 01:08:31PM -0400, Andrew Wheatley wrote:
> Here's how to do a straight copy of a jpeg into a swf
> without any data loss.
> There are two streams.  According to the swf documentation,
> each stream is surronded by a 0xff 0xd8 and a 0xff 0xd9.
> Make the first stream empty, that is, just write
> 0xff 0xd8 0xff 0xd9.
> Start the second stream with 0xff 0xd8, copy all the data
> from the jpg file into the buffer and then end it with
> 0xff 0xd9.

Interesting- You tried that? It worked?
Did it work for all jpegs or just for some?

Greetings

Matthias









reply via email to

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