note 92827 deleted from ming.swfbitmap by danbrown

From: Date: Tue, 11 Aug 2009 15:23:52 +0000
Subject: note 92827 deleted from ming.swfbitmap by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-159334@lists.php.net to get a copy of this message
Note Submitter: david dot jiang at muchdj dot com ---- I found a workaround for the load jpg problem for SWFBitmap. Errormessage: (Catchable fatal error: SWFMovie::save() [function.SWFMovie-save]: Initial Jpeg marker not found! in /loalhost/test/swfjpg/swfjpg.php on line 23 ) This doesnt work: $f = $s->addFill(new SWFBitmap( file_get_contents("image.jpg"))); But this will works fine: $f = $s->addFill(new SWFBitmap((fopen('image.jpg','rb')));

« previous php.notes (#159334) next »