We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39cf88a commit ec0f7a3Copy full SHA for ec0f7a3
src/ImageMagick.jl
@@ -270,7 +270,9 @@ mapIM(x::Normed) = x
270
to_contiguous(A::Array) = A
271
to_contiguous(A::AbstractArray) = collect(A)
272
to_contiguous(A::BitArray) = convert(Array{Bool}, A)
273
-to_contiguous(A::ColorView) = to_contiguous(channelview(A))
+if isdefined(ImageCore, :ColorView)
274
+ to_contiguous(A::ColorView) = to_contiguous(channelview(A))
275
+end
276
277
to_explicit(A::Array{C}) where {C<:Colorant} = to_explicit(channelview(A))
278
function to_explicit(A::AbstractArray)
0 commit comments