Help: android command line

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Posts: 9
Joined: 2014-11-26T07:08:38-07:00
Authentication code: 6789

Help: android command line

Post by degarb » 2017-08-09T04:52:02-07:00

The github stuff is alien and unintelligible. Post, no reply.

I need to know how to write a command line script for Android that convert jpg to smaller webp and destroys original. I will automate with tasker, run every xx seconds, during my business hours. This way i can rotate, crop, get 40% smaller files for 5 minute sync with Dropbox. And get my custom target size.

Github, Google, has stumped me. Even combed playstore and emailed authors that use jmagic (developer tool), but no response. They do not seem to know what a script, automation, or command line is. Only gui.

Posts: 10934
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Help: android command line

Post by snibgo » 2017-08-09T05:24:00-07:00

An ImageMagick command along the lines you ask would be:

Code: Select all

magick in.ext -rotate 10 -crop 1500x1000+0+0 +repage -resize 40% out.ext
For IM v6, use "convert" instead of "magick".

Does that help?
snibgo's IM pages:

Post Reply