note 92826 added to ming.swfbitmap

From: Date: Tue, 11 Aug 2009 02:28:52 +0000
Subject: note 92826 added to ming.swfbitmap
Groups: php.notes 
Request: Send a blank email to php-notes+get-159304@lists.php.net to get a copy of this message
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'))); ---- Server IP: 134.129.167.88 Probable Submitter: 218.104.194.73 ---- Manual Page -- http://www.php.net/manual/en/ming.swfbitmap.php Edit -- https://master.php.net/note/edit/92826 Del: integrated -- https://master.php.net/note/delete/92826/integrated Del: useless -- https://master.php.net/note/delete/92826/useless Del: bad code -- https://master.php.net/note/delete/92826/bad+code Del: spam -- https://master.php.net/note/delete/92826/spam Del: non-english -- https://master.php.net/note/delete/92826/non-english Del: in docs -- https://master.php.net/note/delete/92826/in+docs Del: other reasons-- https://master.php.net/note/delete/92826 Reject -- https://master.php.net/note/reject/92826 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#159304) next »