Browse Source
Add UnsafeSetFormatMetadata in ImageFrameMetadata
Signed-off-by: 舰队的偶像-岛风酱! <frg2089@outlook.com>
pull/2579/head
舰队的偶像-岛风酱!
2 years ago
No known key found for this signature in database
GPG Key ID: 71F5B3A2B181950C
1 changed files with
5 additions and
0 deletions
-
src/ImageSharp/Metadata/ImageFrameMetadata.cs
|
|
|
@ -99,6 +99,11 @@ public sealed class ImageFrameMetadata : IDeepCloneable<ImageFrameMetadata> |
|
|
|
return newMeta; |
|
|
|
} |
|
|
|
|
|
|
|
internal void UnsafeSetFormatMetadata( |
|
|
|
IImageFormat key, |
|
|
|
IDeepCloneable value) |
|
|
|
=> this.formatMetadata[key] = value; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets the metadata value associated with the specified key.
|
|
|
|
/// </summary>
|
|
|
|
|