Jonathan Behrens
Jonathan Behrens
Would this API be compatible with adding logic to automatically detect whether an image contains a small number of colors and automatically perform a palette transform for it? That's a...
I think this is worth considering. Part of the problem with `ImageDecoderRect` is there's formats were it is sometimes possible to extract portions of the image, but it depends on...
I've been wanting to make this change. Would also be nice to make the enum non-exhaustive so other adaptive filter strategies could be added in the future. Could you make...
Does this still happen?
I think we should give this some serious consideration. Right now the crates for specific image types (image-png, image-tiff, etc.) each have to implement their own versions of ColorType, ImageDecoder,...
@icefoxen Could you clarify what you mean by interpretation of pixel values? My current thinking is to have image-core include [`ColorType`](https://github.com/image-rs/image/blob/04dbe9cbba4af43d407a1d232acd158c76dab6ff/src/color.rs#L9) and [`ExtendedColorType`](https://github.com/image-rs/image/blob/04dbe9cbba4af43d407a1d232acd158c76dab6ff/src/color.rs#L65) but otherwise just operate on byte buffers....
A couple years late, but I should probably provide an update on this... I tried working on this issue. Created a repository for `image-core`, started copying over the relevant types,...
If we want `image::open` and `DynamicImage::save` to just work, then I don't think implementing all encoders/decoders as independent plugins is possible.
The `imageops` module was added long before my time and has gotten very little attention in the last few years. It contains some methods like `crop` or `resize` that totally...
Yeah, this would involve deprecating the methods now and only removing in the next major release (which won't be any time soon given we haven't even started planning it yet)...