note 93564 added to class.swfbitmap

From: Date: Wed, 16 Sep 2009 16:36:23 +0000
Subject: note 93564 added to class.swfbitmap
Groups: php.notes 
Request: Send a blank email to php-notes+get-160731@lists.php.net to get a copy of this message
I found a workaround for the load jpg problem for SWFBitmap. Error message: (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: <?php $f = $s->addFill(new SWFBitmap( file_get_contents("image.jpg"))); ?> But this will works fine: <?php $f = $s->addFill(new SWFBitmap((fopen('image.jpg','rb'))); ?> ---- Server IP: 209.41.74.194 Probable Submitter: 76.117.174.115 ---- Manual Page -- http://www.php.net/manual/en/class.swfbitmap.php Edit -- https://master.php.net/note/edit/93564 Del: integrated -- https://master.php.net/note/delete/93564/integrated Del: useless -- https://master.php.net/note/delete/93564/useless Del: bad code -- https://master.php.net/note/delete/93564/bad+code Del: spam -- https://master.php.net/note/delete/93564/spam Del: non-english -- https://master.php.net/note/delete/93564/non-english Del: in docs -- https://master.php.net/note/delete/93564/in+docs Del: other reasons-- https://master.php.net/note/delete/93564 Reject -- https://master.php.net/note/reject/93564 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#160731) next »