diff --git a/.local/share/navi/cheats/misc.cheat b/.local/share/navi/cheats/misc.cheat index 565eeda..b9e1bd1 100644 --- a/.local/share/navi/cheats/misc.cheat +++ b/.local/share/navi/cheats/misc.cheat @@ -49,12 +49,22 @@ zip -r $ input_dir: fd -t d -d 1 -X printf '%q\n' ;------------------------------------------------------------------------------- -; pdf +; magick ;------------------------------------------------------------------------------- -% pdf, linux +% magick, linux # Convert images to PDF file -convert +magick + +# Convert images to GIF file +magick -delay 10 -loop 0 + +$ image_files: fd '(.png|.jpg|.jpeg)$' -X printf '%q\n' --- --multi --expand + +;------------------------------------------------------------------------------- +; pdf +;------------------------------------------------------------------------------- +% pdf, linux # Extract all images from a PDF file pdfimages -p -all @@ -66,7 +76,6 @@ pdfjam -o ps2pdf $ pdf_file: fd -e pdf -X printf '%q\n' -$ image_files: fd '(.png|.jpg|.jpeg)$' -X printf '%q\n' --- --multi --expand ;------------------------------------------------------------------------------- ; update