Workaround upstream weak type inference
Workaround upstream weak type inference

Workaround https://github.com/JuliaLang/julia/issues/13082.
Trying to partially fix #356.
JuliaPackageMirrors/Images.jl,timholy/Images.jl