diff --git a/Project.toml b/Project.toml index 828be9f..70c405b 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "DataAugmentation" uuid = "88a5189c-e7ff-4f85-ac6b-e6158070f02e" authors = ["lorenzoh "] -version = "0.2.8" +version = "0.2.9" [deps] ColorBlendModes = "60508b50-96e1-4007-9d6c-f475c410f16b" diff --git a/src/items/image.jl b/src/items/image.jl index cf6e5d9..7358c0a 100644 --- a/src/items/image.jl +++ b/src/items/image.jl @@ -69,8 +69,8 @@ function project(P, image::Image{N, T}, bounds::Bounds) where {N, T} data_ = warp( itemdata(image), inv(P), - bounds.rs, - zero(T)) + bounds.rs; + fillvalue = zero(T)) return Image(data_, bounds) end