https://github.com/arnos-stuff/sharpify-cli
https://github.com/arnos-stuff/sharpify-cli
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/arnos-stuff/sharpify-cli
- Owner: arnos-stuff
- Created: 2023-06-29T20:46:35.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-06-29T20:48:38.000Z (almost 3 years ago)
- Last Synced: 2025-07-17T14:19:38.837Z (11 months ago)
- Language: JavaScript
- Size: 12.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sharpify - Quickly map your images to several formats + ico
## Simple example
Suppose you have an image `dog.svg`, then to convert it to png, jpg, webp and ico, you have to solutions.
- If the image is square, just go ahead and type
```bash
sharpify -i path/to/dog.svg -o out/path/dir
```
You'll most probably get the sizes you want.
- If the image has unequal aspect ratio
You should specify only one dimension using the `--sizes` flag:
```bash
sharpify -i path/to/dog.svg -o out/path/dir -sizes 96x 128x 256x 512x 1096x 2052x
```