1.0.0 • Published 11 months ago
alfred-squoosh-resize v1.0.0
Alfred Squoosh Resizer
This is a wrapper for @squoosh/lib made, using alfy package.
Installation
Use npm to install the workflow.
npm i --global alfred-squoosh-resizer
Usage
Select files in finder and then run keyword "sq"
Parameters
Workflow currently supports width or percentage syntax.
- It will always keep aspect ratio.
- Parameters separated with space.
- By default "px" assumed.
- Will skip unkown parameters
sq [width_value[px]]|[percent_value%] ...
For example:
#three files will be saved
sq 256 128px 5%
Processed files saved to the same location as original, with names :
[filename]-parameter.[fileExtension]
Be careful the is not safeguard on how big image you will produce!
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
1.0.0
11 months ago