You've already forked lazarus-ccr
fpexif: minor changes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6092 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -291,7 +291,7 @@ begin
|
||||
AddULongTag (P+$0116, 'RowsPerStrip', 1, rsRowsPerStrip);
|
||||
AddULongTag (P+$0117, 'StripByteCounts', 1, rsStripByteCounts);
|
||||
AddUShortTag (P+$0118, 'MinSampleValue', 1, rsMinSampleValue);
|
||||
AddUShortTag (P+$0119, 'MaxSampleValue', 1, rsMaxSampleValue);
|
||||
AddUShortTag (P+$0119, 'MaxSampleValue', 1, rsMaxSampleValue);
|
||||
AddURationalTag(P+$011A, 'XResolution', 1, rsXResolution);
|
||||
AddURationalTag(T+$011A, 'ThumbnailXResolution', 1, rsXResolution);
|
||||
AddURationalTag(P+$011B, 'YResolution', 1, rsYResolution);
|
||||
|
@ -452,6 +452,11 @@ begin
|
||||
exit;
|
||||
|
||||
while p < streamsize do begin
|
||||
// The basic structure of the jpeg segments is
|
||||
// $FF ..... identifier (sometimes repeated)
|
||||
// marker .. segment identifier (1 byte)
|
||||
// size .... size of the segment in bytes (2 bytes), including size field
|
||||
// data .... data of the segment, (size)-2 bytes.
|
||||
repeat
|
||||
marker := ReadByte(AStream);
|
||||
until marker <> $FF;
|
||||
|
Reference in New Issue
Block a user