Skip to content

Commit 34ea3d6

Browse files
committed
reexport commonly used array/view packages
- IndirectArrays - MappedArrays - OffsetArrays - TiledIteration
1 parent 5b2202d commit 34ea3d6

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

Project.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,27 @@ AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"
77
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
88
FixedPointNumbers = "53c48c17-4a7d-5ca2-90c5-79b7896eea93"
99
Graphics = "a2bd30eb-e257-5431-a919-1863eab51364"
10+
IndirectArrays = "9b13fd28-a010-5f03-acff-a1bbcff69959"
1011
MappedArrays = "dbb5928d-eab1-5f90-85c2-b9b0edb7c900"
1112
MosaicViews = "e94cdb99-869f-56ef-bcf0-1ae2bcbe0389"
1213
OffsetArrays = "6fe1bfb0-de20-5000-8ca7-80f57d26f881"
1314
PaddedViews = "5432bcbf-9aad-5242-b902-cca2824c8663"
1415
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
16+
TiledIteration = "06e1c1a7-607b-532d-9fad-de7d9aa2abac"
1517

1618
[compat]
1719
AbstractFFTs = "0.4, 0.5, 1.0"
1820
ColorVectorSpace = "0.8"
1921
Colors = "0.9, 0.10, 0.11, 0.12"
2022
FixedPointNumbers = "0.6.1, 0.7, 0.8"
2123
Graphics = "0.4, 1.0"
24+
IndirectArrays = "0.5"
2225
MappedArrays = "0.2, 0.3, 0.4"
2326
MosaicViews = "0.3.3"
2427
OffsetArrays = "0.8, 0.9, 0.10, 0.11, 1.0.1"
2528
PaddedViews = "0.5.8"
2629
Reexport = "0.2, 1.0"
30+
TiledIteration = "0.2, 0.3"
2731
julia = "1"
2832

2933
[extras]

src/ImageCore.jl

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,18 @@ if !isdefined(ColorTypes, :XRGB)
1515
const RGBX = RGB4
1616
end
1717

18+
# These view/array/iterator types are used widely in downstream packages for image processing purposes.
19+
# Here we maintain the compatibility inside ImageCore and so that downstream packages don't need
20+
# to directly depend on them. The advantages are 1) less manual maintenance work required in
21+
# downstream packages, and consequently 2) less potential version locks/conflicts.
1822
@reexport using MosaicViews
1923
@reexport using PaddedViews
20-
using MappedArrays, Graphics
21-
using OffsetArrays # for show.jl
24+
@reexport using IndirectArrays
25+
@reexport using MappedArrays
26+
@reexport using OffsetArrays
27+
@reexport using TiledIteration
28+
29+
using Graphics
2230
using .ColorTypes: colorant_string
2331
using Colors: Fractional
2432
using MappedArrays: AbstractMultiMappedArray

0 commit comments

Comments
 (0)