
16.02.2002, 08:52
|
|
Регистрация: Feb 2001
Сообщений: 26
|
jpg -> swf (не просто вопрос!!!)
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 when 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!
I really need help in this!
|