-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unclear responsibilities of Info and Encoder types #418
Comments
I am a it puzzled by the whole interface. |
The overall interface predates my time as a maintainer and much of it likely even predates Rust 1.0. I wouldn't read too much into how the API is currently designed. At some point it would be nice to clean things up, but it has never been a priority. I think it would be good to have an example like you describe, though as you're discovering it probably wouldn't end up looking very elegant. |
Indeed, the
I'd change
|
@anforowicz @HeroicKatora Do you have a suggestion for a better interface for configuring animation encoding? Line 146 in 4b10bf8
|
Not really, sorry. From my perspective, the highest priority requirement is parity with the
|
Hey! :-)
I would like to just add an iTXt text junk to an image, but otherwise leave it as it is, as much as possible.
There is docu for how to add the text junk when writing,
and there is docu for decoding and encoding separately.
I tried to figure out how to decode and encode again, 1:1, but I could not figure it out.
I imagine it is possible, as it is mentioned in #253,
but it is not shown there.
Would it be possible to add an example source file that decodes and encodes and changes a little thing in-between?
I'd be happy to provide the example, if I get some hints for how to do this.
The text was updated successfully, but these errors were encountered: