Skip to content

Commit 4fc4197

Browse files
committed
Formatting
1 parent fb43300 commit 4fc4197

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

MetadataExtractor/Formats/Tiff/TiffMetadataReader.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,15 @@ public static IReadOnlyList<Directory> ReadMetadata(string filePath)
3535
/// <exception cref="TiffProcessingException"/>
3636
public static IReadOnlyList<Directory> ReadMetadata(Stream stream)
3737
{
38-
// TIFF processing requires random access, as directories can be scattered throughout the byte sequence.
39-
// Stream does not support seeking backwards, so we wrap it with IndexedCapturingReader, which
40-
// buffers data from the stream as we seek forward.
4138
var directories = new List<Directory>();
4239

4340
var handler = new ExifTiffHandler(directories, exifStartOffset: 0);
4441

42+
// TIFF processing requires random access, as directories can be scattered throughout the byte sequence.
43+
// Stream does not support seeking backwards, so we wrap it with IndexedCapturingReader, which
44+
// buffers data from the stream as we seek forward.
4545
using var reader = new IndexedCapturingReader(stream);
46+
4647
TiffReader.ProcessTiff(reader, handler);
4748

4849
return directories;

0 commit comments

Comments
 (0)