Searched refs:BMPinfo (Results 1 – 2 of 2) sorted by relevance
636 * @param array $BMPinfo640 public function PlotBMP(&$BMPinfo) { argument642 if (!isset($BMPinfo['bmp']['data']) || !is_array($BMPinfo['bmp']['data'])) {646 set_time_limit(intval(round($BMPinfo['resolution_x'] * $BMPinfo['resolution_y'] / 10000)));647 if ($im = imagecreatetruecolor($BMPinfo['resolution_x'], $BMPinfo['resolution_y'])) {648 for ($row = 0; $row < $BMPinfo['resolution_y']; $row++) {649 for ($col = 0; $col < $BMPinfo['resolution_x']; $col++) {650 if (isset($BMPinfo['bmp']['data'][$row][$col])) {652 $green = ($BMPinfo['bmp']['data'][$row][$col] & 0x0000FF00) >> 8;653 $blue = ($BMPinfo['bmp']['data'][$row][$col] & 0x000000FF);[all …]
749 public function PlotBMP(&$BMPinfo) { argument751 if (!isset($BMPinfo['bmp']['data']) || !is_array($BMPinfo['bmp']['data'])) {756 set_time_limit((int) round($BMPinfo[ 'resolution_x'] * $BMPinfo[ 'resolution_y'] / 10000));758 $im = $this->PlotPixelsGD($BMPinfo['bmp']);760 …echo 'plotted '.($BMPinfo['resolution_x'] * $BMPinfo['resolution_y']).' pixels in '.(time() - $sta…