Lines Matching refs:BMPdata
23 public function phpthumb_bmp2gd(&$BMPdata, $truecolor=true) { argument
25 if ($this->getid3_bmp($BMPdata, $ThisFileInfo, true, true)) {
34 $BMPdata = fread($fp, filesize($filename));
36 return $this->phpthumb_bmp2gd($BMPdata, $truecolor);
82 public function getid3_bmp(&$BMPdata, &$ThisFileInfo, $ExtractPalette=false, $ExtractData=false) { argument
100 $BMPheader = substr($BMPdata, $overalloffset, 14 + 40);
280 $BMPheader .= substr($BMPdata, $overalloffset, 44);
323 $BMPheader .= substr($BMPdata, $overalloffset, 16);
357 $BMPpalette = substr($BMPdata, $overalloffset, 4 * $PaletteEntries);
383 …$BMPpixelData = substr($BMPdata, $thisfile_bmp_header_raw['data_offset'], $thisfile_bmp_header_raw…
699 public function PlotPixelsGD(&$BMPdata, $truecolor=true) { argument
700 $imagewidth = $BMPdata['header']['raw']['width'];
701 $imageheight = $BMPdata['header']['raw']['height'];
710 if (!empty($BMPdata['palette'])) {
712 foreach ($BMPdata['palette'] as $dummy => $color) {
732 foreach ($BMPdata['data'] as $row => $colarray) {