Changeset 5818 in spip-zone
- Timestamp:
- Oct 1, 2006, 5:05:18 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/_test_/article_pdf/pdf/fpdf.php
r5802 r5818 964 964 965 965 elseif($type=='gif') 966 966 { 967 967 /* 968 968 $readgif= gd_info(); … … 979 979 } 980 980 */ 981 $InfoGif = $this->_parsegif2($file,_DIR_IMG,$maxframe); 982 983 for ($i=0 ; $i < count($InfoGif); $i++) 984 { 981 $InfoGif = $this->_parsegif2($file,_DIR_IMG,$maxframe); 982 for ($i=0 ; $i < count($InfoGif); $i++) 983 { 985 984 Header( "Content-type: image/png"); 986 985 $image = imagecreatefromGIF("$InfoGif[$i]"); … … 990 989 ImageDestroy($image); 991 990 unlink ("./IMG/tempo.png"); 992 993 991 unlink ($InfoGif[$i]); 992 } 994 993 } 995 994 else … … 1689 1688 function _parsegif2($file,$path,$frame) 1690 1689 { 1691 require('GifSplit.class.php'); 1692 $sg = new GifSplit($file, 'GIF', $path.'/GS-frame',$frame,'1'); 1693 return ($sg->getfilelist()); 1694 1690 require('GifSplit.class.php'); 1691 $sg = new GifSplit($file, 'GIF', $path.'/GS-frame',$frame,'1'); 1692 return ($sg->getfilelist()); 1695 1693 } 1696 1694
Note: See TracChangeset
for help on using the changeset viewer.