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
There seem to be some inconsistencies in the accepted argument-types to the YCbCr constructor and the element-types of the channels in colorview.
Here, all the following types work:
using ImageCore
types = (UInt8, Int, N0f8, Float32)
for T in types
YCbCr(rand(T, 3)...)
end
While here, only the Float32 does:
for T in types
trycolorview(YCbCr, (rand(T, 10, 10) for _ in1:3)...)
@info"worked for type $T"catch ex
if ex isa TypeError
@warn"failed for type $T"elsethrow(ex)
endendend
The text was updated successfully, but these errors were encountered:
There seem to be some inconsistencies in the accepted argument-types to the
YCbCr
constructor and the element-types of the channels incolorview
.Here, all the following types work:
While here, only the
Float32
does:The text was updated successfully, but these errors were encountered: