From a9f51ba1c760e93d0a4f800d250f1ac1a1953df6 Mon Sep 17 00:00:00 2001 From: lorenzoh Date: Tue, 21 Jun 2022 12:19:01 +0200 Subject: [PATCH 1/2] Fix deprecated call to 4-arg `warp` Now uses the `filltype` kwarg instead of the positional one --- src/items/image.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 From 8b0c9e5f670094ae73ba7cf08b29d0e594754c71 Mon Sep 17 00:00:00 2001 From: lorenzoh Date: Tue, 21 Jun 2022 12:19:17 +0200 Subject: [PATCH 2/2] Bump version --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"