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
I just experimented a bit to find out what it takes to add f32 support to the dynamic image.
Unfortunately, there are two reasons that this cannot be implemented as a backwards-compatible change:
Dynamic Image cannot derive Eq and Hash when it contains f32 values
DynamicImage::grayscale(&self) cannot return ImageLuma32F as that does not exist yet.
Possible breaking change: Return Result and fail for f32 images.
So far, I could not see any issues concerning the color space or color range of f32 images.
I will therefore continue experimenting, but this time branching off the next branch.
The text was updated successfully, but these errors were encountered:
Hi!
I just experimented a bit to find out what it takes to add f32 support to the dynamic image.
Unfortunately, there are two reasons that this cannot be implemented as a backwards-compatible change:
Eq
andHash
when it contains f32 valuesDynamicImage::grayscale(&self)
cannot returnImageLuma32F
as that does not exist yet.Possible breaking change: Return
Result
and fail for f32 images.So far, I could not see any issues concerning the color space or color range of f32 images.
I will therefore continue experimenting, but this time branching off the
next
branch.The text was updated successfully, but these errors were encountered: