Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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"]
7 changes: 7 additions & 0 deletions test/constructed_images.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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