drewnoakes/metadata-extractor-dotnet

Include all TIFF string bytes in StringValue instances

Open

#439 opened on May 20, 2025

View on GitHub
 (3 comments) (0 reactions) (0 assignees)C# (187 forks)github user discovery
format-tiffhelp wantedimage-queue

Repository metrics

Stars
 (1,059 stars)
PR merge metrics
 (Avg merge 11h 24m) (1 merged PR in 30d)

Description

Hi, sometimes string meta data contains actually a byte array. I tried to get the data as byte array using public static byte[]? GetByteArray(this Directory directory, int tagType) Now it appears the meta data reader creates a StringValue by terminating on first null character. Is there a work-around to force the tag to be read as byte array ?

Contributor guide