Lines Matching defs:marker
1024 // Then skip all 0xFF until the marker byte
1026 $marker = ord(fgetc($this->_fp));
1027 } while (!feof($this->_fp) && ($marker == 0xFF));
1045 switch ($marker) {
1066 $this->_markers[$count]['marker'] = $marker;
1183 // Then skip all 0xFF until the marker byte
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) {
1279 fputs($this->_fpout, chr($marker), 1);
1297 if ($marker == 0xDA) { // Copy until EOF
1434 if ($this->_markers[$i]['marker'] == 0xE0) {
1505 switch ($this->_markers[$i]['marker']) {
1511 $marker = $this->_markers[$i]['marker'];
1524 switch ($marker) {
1573 if ($this->_markers[$i]['marker'] == 0xE1) {
1680 if ($this->_markers[$i]['marker'] == 0xE1) {
1961 if ($this->_markers[$i]['marker'] == 0xE1) {
2423 if ($this->_markers[$i]['marker'] == 0xED) {