Skip to content

Commit 62de7d3

Browse files
authored
Merge pull request #215 from simeonschaub/sds/bump_jll
bump ImageMagick_jll, add test for #206
2 parents 36f956f + 77b778d commit 62de7d3

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

Project.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
1010

1111
[compat]
1212
FileIO = "1"
13-
ImageCore = "0.8.1, 0.9, 0.10"
14-
ImageMagick_jll = "= 6.9.10"
13+
ImageCore = "0.9, 0.10"
14+
ImageMagick_jll = "= 6.9.11"
1515
julia = "1.6"
1616

1717
[extras]
@@ -23,7 +23,8 @@ IndirectArrays = "9b13fd28-a010-5f03-acff-a1bbcff69959"
2323
OffsetArrays = "6fe1bfb0-de20-5000-8ca7-80f57d26f881"
2424
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
2525
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
26+
TestImages = "5e47fb64-e119-507b-a336-dd2b206d9990"
2627
ZipFile = "a5390f91-8eb1-5f08-bee0-b1d1ffed6cea"
2728

2829
[targets]
29-
test = ["Downloads", "OffsetArrays", "Test", "Random", "IndirectArrays", "ZipFile", "ImageTransformations", "ImageShow", "ImageMetadata"]
30+
test = ["Downloads", "OffsetArrays", "Test", "Random", "IndirectArrays", "ZipFile", "ImageTransformations", "ImageShow", "ImageMetadata", "TestImages"]

test/constructed_images.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ using ImageShow # for show(io, ::MIME, img) & ImageMeta
33
using Test
44
using ImageCore
55
using Random, Base.CoreLogging
6+
using TestImages
67

78
mutable struct TestType end
89

@@ -354,4 +355,10 @@ mutable struct TestType end
354355
exportimagepixels!(buf2view, wand, cs, channelorder)
355356
@test buf2view == Ar
356357
end
358+
359+
@testset "issue #206" begin
360+
filepath = testimage("camera", download_only=true)
361+
img = ImageMagick.load(filepath)
362+
@test size(img) == (512, 512)
363+
end
357364
end

0 commit comments

Comments
 (0)