Lines Matching refs:marker
1026 $marker = ord(fgetc($this->_fp));
1027 } while (!feof($this->_fp) && ($marker == 0xFF));
1045 switch ($marker) {
1066 $this->_markers[$count]['marker'] = $marker;
1185 $marker = ord(fgetc($this->_fp));
1186 } while (!feof($this->_fp) && ($marker == 0xFF));
1209 if ($marker == 0xE1) { // APP1: EXIF data
1213 elseif ($marker == 0xED) { // APP13: IPTC / Photoshop data
1217 …elseif ($marker == 0xDA) { // SOS: Start of scan... the image itself and the last block on the file
1221 if (!$wroteEXIF && (($marker < 0xE0) || ($marker > 0xEF))) {
1230 if (!$wroteAdobe && (($marker < 0xE0) || ($marker > 0xEF))) {
1245 if ($marker != -1) {
1246 $this->_writeJPEGMarker($marker, $length, $data, $origLength);
1266 * @param integer $marker
1273 function _writeJPEGMarker($marker, $length, &$data, $origLength) { argument
1279 fputs($this->_fpout, chr($marker), 1);
1297 if ($marker == 0xDA) { // Copy until EOF
1511 $marker = $this->_markers[$i]['marker'];
1524 switch ($marker) {