From 2b1a2c7b29dfa9c87c71f7378252d8cc2f4a3d6d Mon Sep 17 00:00:00 2001 From: Craig Oates Date: Sun, 16 Dec 2018 05:35:25 +0000 Subject: [PATCH] refactor add-skia-rgb-command (applyImageGrid). --- DeathSocketCLI/Commands.fs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/DeathSocketCLI/Commands.fs b/DeathSocketCLI/Commands.fs index e75c16f..093f8fe 100644 --- a/DeathSocketCLI/Commands.fs +++ b/DeathSocketCLI/Commands.fs @@ -121,8 +121,9 @@ let``add-skia-rgb-grid`` imgPath numRows numColumns pWidth r g b newPath = printfn "[INFO.] Adding SkiaSharp grid to image..." - buildSkiaRGBSpec imgPath numRows numColumns pWidth r g b newPath - |> applySkiaRGBGridAsync + SkiaRGB (buildSkiaRGBSpec imgPath numRows numColumns pWidth r g b newPath) + |> applyImageToGrid + //|> applySkiaRGBGridAsync |> Async.Start showEndOfCommandMessage