File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -615,7 +615,7 @@ private bool ProcessMakernote(in TiffReaderContext context, int makernoteOffset)
615
615
Directories . Add ( directory ) ;
616
616
ProcessKodakMakernote ( directory , makernoteOffset , context . Reader . WithByteOrder ( isMotorolaByteOrder : headerBytes . StartsWith ( "KDK INFO"u8 ) ) ) ;
617
617
}
618
- else if ( cameraMake is not null && cameraMake . Equals ( "CANON" , StringComparison . OrdinalIgnoreCase ) )
618
+ else if ( cameraMake is not null && cameraMake . Equals ( "CANON" , StringComparison . OrdinalIgnoreCase ) ) // Observed "Canon"
619
619
{
620
620
PushDirectory ( new CanonMakernoteDirectory ( ) ) ;
621
621
TiffReader . ProcessIfd ( this , context , ifdOffset : makernoteOffset ) ;
@@ -633,8 +633,7 @@ private bool ProcessMakernote(in TiffReaderContext context, int makernoteOffset)
633
633
TiffReader . ProcessIfd ( this , context , ifdOffset : makernoteOffset ) ;
634
634
}
635
635
}
636
- else if ( headerBytes . StartsWith ( "FUJIFILM"u8 ) ||
637
- string . Equals ( "FUJIFILM" , cameraMake , StringComparison . OrdinalIgnoreCase ) )
636
+ else if ( headerBytes . StartsWith ( "FUJIFILM"u8 ) || string . Equals ( "FUJIFILM" , cameraMake , StringComparison . OrdinalIgnoreCase ) )
638
637
{
639
638
// Note that this also applies to certain Leica cameras, such as the Digilux-4.3.
640
639
// The 4 bytes after "FUJIFILM" in the makernote point to the start of the makernote
You can’t perform that action at this time.
0 commit comments