Sorry, forgot to attach the patch file. Here are go. Taro On Thu, Oct 23, 2008 at 3:58 PM, Taro App <apptaro@xxxxxxxxx> wrote: > Hi, > > I have found that JPEG images are not displayed correctly in FlashLite > 1.1 device. (I used newSWFMovieWithVersion(4), so it will be > compatible with FlashLite 1.1.) > > I have attached the patch file to be applied on Ming 0.4.2. Please > examine and apply it to cvs source. > > The problem was that Ming writes JPEG encoding table and image data > into a single stream (between a single set of SOI and EOI.) Old "Flash > File Format SDK" states that JPEG encoding table and image data should > be written into two separate streams. Recent "SWF File Format > Specification Version 9" is not clear about this point. > > The patch fixes the problem, but JPEG images are always written into > two separate streams. I'm not sure if Ming should choose to write into > a single stream or two separate streams depending of the swf version > set. Flash Player 9 can display JPEG images written in either way. > > Description on DefineBitsJPEG2 in Flash File Format SDK: > http://www-lehre.informatik.uni-osnabrueck.de/~fbstark/diplom/docs/swf/Bitmap.htm#_Toc467042534 > > Taro >
Attachment:
jpeg.c.042.patch
Description: Binary data
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ Ming-users mailing list Ming-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/ming-users