westman Posted November 19, 2011 Share Posted November 19, 2011 i have gif animated files that a can copy but after the copy they are not animated, they are static. i am using this method... $img3 = imagecreatefromgif("../images/$id/pic$id.gif");imagegif($img3, "pics/3/$id.gif", 100); is there a way to copy a gif file and keep it animated? Link to comment Share on other sites More sharing options...
Ingolme Posted November 19, 2011 Share Posted November 19, 2011 Since you're not doing any manipulation, you can avoid the GD library altogether: $image3 = file_get_contents("../images/$id/pic$id.gif");file_put_contents("pics/3/$id.gif",$image3); Link to comment Share on other sites More sharing options...
westman Posted November 19, 2011 Author Share Posted November 19, 2011 ooo thank you,will my original file stay where it is and not change in any way? Link to comment Share on other sites More sharing options...
westman Posted November 19, 2011 Author Share Posted November 19, 2011 thank you so must, just tested it and all is good Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.