pub fn new(keyword: impl Into<String>, text: impl Into<String>) -> Self {
        Self {
            keyword: keyword.into(),
            compressed: false,
            language_tag: "".to_string(),
            translated_keyword: "".to_string(),
            text: OptCompressed::Uncompressed(text.into()),
        }
    }
/// Constructs a new iTXt chunk. Leaves all but keyword and text to default values.
Constructs a new iTXt chunk. Leaves all but keyword and text to default values.
Constructs a new iTXt chunk . Leaves all but keyword and text to default values .
pub fn new(keyword: impl Into<String>, text: impl Into<String>) -> Self {
        Self {
            keyword: keyword.into(),
            compressed: false,
            language_tag: "".to_string(),
            translated_keyword: "".to_string(),
            text: OptCompressed::Uncompressed(text.into()),
        }
    }
pub fn new ( keyword : impl Into < String > , text : impl Into < String > ) -> Self { Self { keyword : keyword . into ( ) , compressed : false , language_tag : " " . to_string ( ) , translated_keyword : " " . to_string ( ) , text : OptCompressed :: Uncompressed ( text . into ( ) ) , } }
Constructs a new iTXt chunk.
Constructs a new iTXt chunk .
keyword
impl Into<String>
text
impl Into<String>