animated gifs

    Date: 07/27/06 (PHP Community)    Keywords: no keywords

    how would one go about resizing animated gifs, my current methodology

    $newimage = imagecreatefromgif($_FILES['img_file']['tmp_name']);
    imagecopyresampled($newimagebg, $newimage, 0, 0, 0, 0, $imgdimes['width'], $imgdimes['height'], $imagewidth, $imageheight);
    $newfilename = $this->settings['imgdir'] . "/" . intval($_POST['u']) . "_" . intval($this->jid) . "_" . TIMENOW . ".gif";
    imagegif($newimagebg, $newfilename);

    seems to only save the first frame, i'm not sure what i've missed?

    Source: http://community.livejournal.com/php/476309.html

« Regex help || objects, data sets, and html »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home