Skip to content

Commit

Permalink
A compat release for older versions of Julia
Browse files Browse the repository at this point in the history
xref JuliaRegistries/General#11114
By switching to depending on just ImageCore we make the dependencies
easier to maintain (e.g., JuliaIO/QuartzImageIO.jl#66).
  • Loading branch information
timholy committed Sep 9, 2020
1 parent bc8a0e4 commit 20526bc
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 20 deletions.
13 changes: 4 additions & 9 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,28 +1,23 @@
name = "ImageMagick"
uuid = "6218d12a-5da1-5696-b52f-db25d2ecc6d1"
version = "0.7.5"
version = "0.7.6"

[deps]
BinaryProvider = "b99e7846-7c00-51b0-8f62-c81ae34c0232"
ColorTypes = "3da002f7-5984-5a60-b8a6-cbb66c0b333f"
FileIO = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549"
FixedPointNumbers = "53c48c17-4a7d-5ca2-90c5-79b7896eea93"
ImageCore = "a09fc81d-aa75-5fe9-8630-4744c3626534"
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"

[compat]
BinaryProvider = "0.3, 0.4, 0.5"
ImageCore = "0.8.1"
julia = "1"
BinaryProvider = "≥ 0.3.0"
ColorTypes = "≥ 0.2.7"
FixedPointNumbers = "≥ 0.3.0"
ImageCore = ">= 0.7.0"

[extras]
ColorVectorSpace = "c3611d14-8923-5661-9e6a-0046d554d3a4"
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
ImageMetadata = "bc367c6b-8a6b-528e-b4bd-a4b897500b49"
ImageShow = "4e3cecfd-b093-5904-9786-8bbb286a6a31"
ImageTransformations = "02fcd773-0e25-5acc-982a-7f6622650795"
Expand All @@ -34,4 +29,4 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
ZipFile = "a5390f91-8eb1-5f08-bee0-b1d1ffed6cea"

[targets]
test = ["Colors", "OffsetArrays", "Pkg", "ColorVectorSpace", "Test", "Random", "IndirectArrays", "ZipFile", "ImageTransformations", "ImageShow", "ImageMetadata"]
test = ["OffsetArrays", "Pkg", "ColorVectorSpace", "Test", "Random", "IndirectArrays", "ZipFile", "ImageTransformations", "ImageShow", "ImageMetadata"]
1 change: 0 additions & 1 deletion src/ImageMagick.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
module ImageMagick

using FixedPointNumbers, ColorTypes
using FileIO: DataFormat, @format_str, Stream, File, filename, stream
using InteractiveUtils: subtypes
using ImageCore
Expand Down
7 changes: 0 additions & 7 deletions test/REQUIRE

This file was deleted.

4 changes: 2 additions & 2 deletions test/constructed_images.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using ImageMagick, ColorTypes, FixedPointNumbers, IndirectArrays, FileIO, OffsetArrays
using ImageMagick, ImageCore, IndirectArrays, FileIO, OffsetArrays
using ImageShow # for show(io, ::MIME, img) & ImageMeta
using Test
using ImageCore
Expand Down Expand Up @@ -286,7 +286,7 @@ mutable struct TestType end
end

@testset "permute_horizontal" begin
Ar = [0x00 0xff; 0x00 0x00]
Ar = [0x00 0xff; 0x00 0x00]
A = map(x->Gray(N0f8(x,0)), Ar)
fn = joinpath(workdir, "2d.tif")

Expand Down
2 changes: 1 addition & 1 deletion test/readremote.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using ImageMagick
using FileIO, Colors, FixedPointNumbers, ZipFile
using FileIO, ImageCore, ZipFile
using Test

workdir = joinpath(tempdir(), "Images")
Expand Down

0 comments on commit 20526bc

Please sign in to comment.