Closed mathieu17g closed 3 years ago
Fixes #235
I have handled the bidirectional conversion between ArchGDAL.GDALDataType and ImageCore.Normed via UnionAll case in @convert macro
ArchGDAL.GDALDataType
ImageCore.Normed
UnionAll
@convert
It gives:
julia> using ArchGDAL julia> using ImageCore julia> convert(ArchGDAL.GDALDataType, N0f8) GDT_Byte::GDALDataType = 1 julia> convert(Normed, ArchGDAL.GDT_Byte) N0f8 (alias for Normed{UInt8, 8})
Thanks!
Fixes #235
I have handled the bidirectional conversion between
ArchGDAL.GDALDataType
andImageCore.Normed
viaUnionAll
case in@convert
macroIt gives: