Why does DynamicImage::filter3x3() take &[f32], rather than &[f32; 9]?
#2599
-
|
Hi! I was browsing To give more info: Wouldn't it be better to have the If this change is desired, I can put together a quick PR for this change. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
The answer is probably that this exact API has been unchanged since at least |
Beta Was this translation helpful? Give feedback.
The answer is probably that this exact API has been unchanged since at least
0.5which predatesconvert::TryInto/TryFromby a lot. That's required to make the array type actually usable. As for PR, yes, I do agree it would be better and would gladly take a PR. That said, but it's a major breaking change and going to go into the next major version.