芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/giga.mgaplay.com.br/vendor/mpdf/mpdf/src/Gif/Gif.php
m_gfh = new FileHeader(); $this->m_img = new Image(); $this->m_lpData = ''; $this->m_bLoaded = false; } function ClearData() { $this->m_lpData = ''; unset($this->m_img->m_data); unset($this->m_img->m_lzw->Next); unset($this->m_img->m_lzw->Vals); unset($this->m_img->m_lzw->Stack); unset($this->m_img->m_lzw->Buf); } function loadFile(&$data, $iIndex) { if ($iIndex < 0) { return false; } $this->m_lpData = $data; // GET FILE HEADER $len = 0; if (!$this->m_gfh->load($this->m_lpData, $len)) { return false; } $this->m_lpData = substr($this->m_lpData, $len); do { $imgLen = 0; if (!$this->m_img->load($this->m_lpData, $imgLen)) { return false; } $this->m_lpData = substr($this->m_lpData, $imgLen); } while ($iIndex-- > 0); $this->m_bLoaded = true; return true; } }