hello,
I'm trying to turn a swf file into a jpeg.
the swf movie works fine and when i click a button to call on a php page that converts it to a jpeg an error msg comes up saying that magecreatetruecolor is undefined.
I searched for a solution online and realized i should try to use imagecreate instead (something with GD support). it still gave me the same msg.
i tried to add "@" before the action name and then the page came up w/o error but it was blank! no jpeg image of my swf.
here is that part of the code:
$image = @imagecreatetruecolor(300,200);
$imagelines = @imagecreate(300,200);
(as mentioned i tried it with and w/o the "@"
in my code the imagecreatetruecolor appears black (like it doesn't
recognize it) but the imagecreate is blue; nevertheless, the "undefined" error message still come up.
what could it be?
how do i define it?
Thank you,
I'm trying to turn a swf file into a jpeg.
the swf movie works fine and when i click a button to call on a php page that converts it to a jpeg an error msg comes up saying that magecreatetruecolor is undefined.
I searched for a solution online and realized i should try to use imagecreate instead (something with GD support). it still gave me the same msg.
i tried to add "@" before the action name and then the page came up w/o error but it was blank! no jpeg image of my swf.
here is that part of the code:
$image = @imagecreatetruecolor(300,200);
$imagelines = @imagecreate(300,200);
(as mentioned i tried it with and w/o the "@"
in my code the imagecreatetruecolor appears black (like it doesn't
recognize it) but the imagecreate is blue; nevertheless, the "undefined" error message still come up.
what could it be?
how do i define it?
Thank you,