Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reexport commonly used array/view packages #164

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
4 changes: 4 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,27 @@ AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
FixedPointNumbers = "53c48c17-4a7d-5ca2-90c5-79b7896eea93"
Graphics = "a2bd30eb-e257-5431-a919-1863eab51364"
IndirectArrays = "9b13fd28-a010-5f03-acff-a1bbcff69959"
MappedArrays = "dbb5928d-eab1-5f90-85c2-b9b0edb7c900"
MosaicViews = "e94cdb99-869f-56ef-bcf0-1ae2bcbe0389"
OffsetArrays = "6fe1bfb0-de20-5000-8ca7-80f57d26f881"
PaddedViews = "5432bcbf-9aad-5242-b902-cca2824c8663"
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
TiledIteration = "06e1c1a7-607b-532d-9fad-de7d9aa2abac"

[compat]
AbstractFFTs = "0.4, 0.5, 1.0"
ColorVectorSpace = "0.8"
Colors = "0.9, 0.10, 0.11, 0.12"
FixedPointNumbers = "0.6.1, 0.7, 0.8"
Graphics = "0.4, 1.0"
IndirectArrays = "0.5"
MappedArrays = "0.2, 0.3, 0.4"
MosaicViews = "0.3.3"
OffsetArrays = "0.8, 0.9, 0.10, 0.11, 1.0.1"
PaddedViews = "0.5.8"
Reexport = "0.2, 1.0"
TiledIteration = "0.2, 0.3"
julia = "1"

[extras]
Expand Down
12 changes: 10 additions & 2 deletions src/ImageCore.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,18 @@ if !isdefined(ColorTypes, :XRGB)
const RGBX = RGB4
end

# These view/array/iterator types are used widely in downstream packages for image processing purposes.
# Here we maintain the compatibility inside ImageCore and so that downstream packages don't need
# to directly depend on them. The advantages are 1) less manual maintenance work required in
# downstream packages, and consequently 2) less potential version locks/conflicts.
@reexport using MosaicViews
@reexport using PaddedViews
using MappedArrays, Graphics
using OffsetArrays # for show.jl
@reexport using IndirectArrays
@reexport using MappedArrays
@reexport using OffsetArrays
@reexport using TiledIteration

using Graphics
using .ColorTypes: colorant_string
using Colors: Fractional
using MappedArrays: AbstractMultiMappedArray
Expand Down