From 821e21f77d59b3b45b7f0b9f46af8bde3723bc88 Mon Sep 17 00:00:00 2001 From: "D. Purge" Date: Mon, 9 Dec 2024 00:18:58 +0100 Subject: [PATCH] Convert multipage tiff --- content/docs/other/books/snippets.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/docs/other/books/snippets.md b/content/docs/other/books/snippets.md index eba0e725..8545fe2d 100644 --- a/content/docs/other/books/snippets.md +++ b/content/docs/other/books/snippets.md @@ -14,6 +14,12 @@ $files = Get-ChildItem -Filter *.tif $i=0; $files | %{$i++; magick $_.name ("page{0:d3}.png" -f $i)} ``` +## Convert multipage TIFF to PNG + +```pwsh +magick book.tiff img/page-%03d.png +``` + ## Merge two directories with images ```pwsh