You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a tiff encoder with support for incremental encoding
Add incremental encoding to the png encoder
However I am not sure what a good api for incremental encoding would be?
One possibility is to do something like ImageDecoder and simply create a writer that you can write image bytes to. An alternative would be to have some type of Encoder::write_row method.
I am mostly leaning towards a Write interface as it it looks the most like the existing write_image(..., image: &[u8]) methods that most decoders use.
However I figured I should ask if anyone have better ideas or comments on the proposed apis?
The text was updated successfully, but these errors were encountered:
With image-rs/image-png#102 and image-rs/image-tiff#23 I would like to:
However I am not sure what a good api for incremental encoding would be?
One possibility is to do something like
ImageDecoder
and simply create a writer that you can write image bytes to. An alternative would be to have some type ofEncoder::write_row
method.I am mostly leaning towards a
Write
interface as it it looks the most like the existingwrite_image(..., image: &[u8])
methods that most decoders use.However I figured I should ask if anyone have better ideas or comments on the proposed apis?
The text was updated successfully, but these errors were encountered: