Page 1 of 1

Help: android command line

Posted: 2017-08-09T04:52:02-07:00
by degarb
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.

Re: Help: android command line

Posted: 2017-08-09T05:24:00-07:00
by snibgo
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?