Searched refs:psheader (Results 1 - 1 of 1) sorted by relevance

/PHP_5_5/ext/standard/
H A Diptc.c183 static char psheader[] = "\xFF\xED\0\0Photoshop 3.0\08BIM\x04\x04\0\0\0\0"; variable
207 if ((size_t)iptcdata_len >= SIZE_MAX - sizeof(psheader) - 1025) {
220 poi = spoolbuf = safe_emalloc(1, (size_t)iptcdata_len + sizeof(psheader) + 1024 + 1, sb.st_size);
221 memset(poi, 0, iptcdata_len + sizeof(psheader) + sb.st_size + 1024 + 1);
272 psheader[ 2 ] = (iptcdata_len+28)>>8;
273 psheader[ 3 ] = (iptcdata_len+28)&0xff;
276 php_iptc_put1(fp, spool, psheader[inx], poi?&poi:0 TSRMLS_CC);

Completed in 2 milliseconds