MING
| From: | Josh Seward | Date: | Sat, 16 Feb 2002 13:22:33 +0000 |
| Subject: | MING | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-12110@lists.php.net to get a copy of this message | ||
For PHP 4.0.8 I had function that converted .jpg in .swf
-----------------
Ming_setScale(20);
$fp = fopen($dram,"r");
$end=10000000;
$i = fread($fp,$end);
$img = new SWFBitmap($i);
fclose($fp);
$m = new SWFMovie();
$m->setDimension(100,100);
$m->add($img);
$m->save("myURL/movie.swf");
ImageDestroy($new);
----------------------------
But whan I install PHP 4.1.1 function stops working on string $img = new SWFBitmap($i);
and return "Sorry, can't tell what type of file ÿØÿà is in ".
I didn't change anything!
Help is much appreciated!
Thanks,
Josh Seward
js389599@ohiou.edu