Skip to content

Commit

Permalink
remove useless magick convert subcommand, deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
purarue committed Nov 17, 2024
1 parent f282a6e commit 887a66e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion shellscripts/gifme
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ For best output, it should be a factor of 100; e.g. 10, 20, 25, 50
# convert to gif
# delay - speed, determined by fps above
# loop 0 - make gif repeat itself
magick convert -delay "${convert_delay}" -loop 0 -limit memory 2GB -limit map 2GB /tmp/gifme/*.png "${output_filename}"
magick -delay "${convert_delay}" -loop 0 -limit memory 2GB -limit map 2GB /tmp/gifme/*.png "${output_filename}"
printf "Created %s successfully\n" "${output_filename}"

}
Expand Down
2 changes: 1 addition & 1 deletion shellscripts/rotate-img
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
havecmd -V 'This is typically installed as part of imagemagick' convert || exit $?
FILEPATH=${1:?Must provide image to convert}
exec magick convert "${FILEPATH}" -rotate 90 "${FILEPATH}"
exec magick "${FILEPATH}" -rotate 90 "${FILEPATH}"
2 changes: 1 addition & 1 deletion shellscripts/to-jpg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
havecmd -V 'This is typically installed as part of imagemagick' magick || exit $?
FILEPATH=${1:?Must provide image to convert}
exec magick convert "$FILEPATH" "$(replace-extension "$FILEPATH" jpg)"
exec magick "$FILEPATH" "$(replace-extension "$FILEPATH" jpg)"
2 changes: 1 addition & 1 deletion shellscripts/to-png
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
havecmd -V 'This is typically installed as part of imagemagick' magick || exit $?
FILEPATH=${1:?Must provide image to convert}
exec magick convert "$FILEPATH" "$(replace-extension "$FILEPATH" png)"
exec magick "$FILEPATH" "$(replace-extension "$FILEPATH" png)"

0 comments on commit 887a66e

Please sign in to comment.