diff --git a/Project.toml b/Project.toml index 35b9d4e..1d396db 100644 --- a/Project.toml +++ b/Project.toml @@ -10,8 +10,8 @@ InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240" [compat] FileIO = "1" -ImageCore = "0.8.1, 0.9, 0.10" -ImageMagick_jll = "= 6.9.10" +ImageCore = "0.9, 0.10" +ImageMagick_jll = "= 6.9.11" julia = "1.6" [extras] @@ -23,7 +23,8 @@ IndirectArrays = "9b13fd28-a010-5f03-acff-a1bbcff69959" OffsetArrays = "6fe1bfb0-de20-5000-8ca7-80f57d26f881" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +TestImages = "5e47fb64-e119-507b-a336-dd2b206d9990" ZipFile = "a5390f91-8eb1-5f08-bee0-b1d1ffed6cea" [targets] -test = ["Downloads", "OffsetArrays", "Test", "Random", "IndirectArrays", "ZipFile", "ImageTransformations", "ImageShow", "ImageMetadata"] +test = ["Downloads", "OffsetArrays", "Test", "Random", "IndirectArrays", "ZipFile", "ImageTransformations", "ImageShow", "ImageMetadata", "TestImages"] diff --git a/test/constructed_images.jl b/test/constructed_images.jl index bf1fc95..4f46abd 100755 --- a/test/constructed_images.jl +++ b/test/constructed_images.jl @@ -3,6 +3,7 @@ using ImageShow # for show(io, ::MIME, img) & ImageMeta using Test using ImageCore using Random, Base.CoreLogging +using TestImages mutable struct TestType end @@ -354,4 +355,10 @@ mutable struct TestType end exportimagepixels!(buf2view, wand, cs, channelorder) @test buf2view == Ar end + + @testset "issue #206" begin + filepath = testimage("camera", download_only=true) + img = ImageMagick.load(filepath) + @test size(img) == (512, 512) + end end