File tree Expand file tree Collapse file tree 1 file changed +1
-23
lines changed
src/ImageSharp/Formats/Png Expand file tree Collapse file tree 1 file changed +1
-23
lines changed Original file line number Diff line number Diff line change @@ -91,34 +91,12 @@ private PngMetadata(PngMetadata other)
9191 public bool HasTransparency { get ; set ; }
9292
9393 /// <summary>
94- /// Gets or sets the collection of text data stored within the iTXt, tEXt, and zTXt chunks.
94+ /// Gets or sets the collection of text data stored within the iTXt, tEXt, and zTXt chunks.
9595 /// Used for conveying textual information associated with the image.
9696 /// </summary>
9797 public IList < PngTextData > TextData { get ; set ; } = new List < PngTextData > ( ) ;
9898
99- /// <summary>
100- /// Gets the list of png text properties for storing meta information about this image.
101- /// </summary>
102- public IList < PngTextData > PngTextProperties { get ; } = new List < PngTextData > ( ) ;
103-
10499 /// <inheritdoc/>
105100 public IDeepCloneable DeepClone ( ) => new PngMetadata ( this ) ;
106-
107- internal bool TryGetPngTextProperty ( string keyword , out PngTextData result )
108- {
109- for ( int i = 0 ; i < this . TextData . Count ; i ++ )
110- {
111- if ( this . TextData [ i ] . Keyword == keyword )
112- {
113- result = this . TextData [ i ] ;
114-
115- return true ;
116- }
117- }
118-
119- result = default ;
120-
121- return false ;
122- }
123101 }
124102}
You can’t perform that action at this time.
0 commit comments