An open API service indexing awesome lists of open source software.

https://github.com/tonalmathew/image-to-css

cli tool to convert an image to css box-shadow property using jimp
https://github.com/tonalmathew/image-to-css

css css-box-shadow image jimp

Last synced: about 1 year ago
JSON representation

cli tool to convert an image to css box-shadow property using jimp

Awesome Lists containing this project

README

          


logo

:wrench: Convert image to CSS box-shadow :wrench:


---

You can use this package to convert an image to css box-shadow property.

### How to install the package

- Install the package using `npm i -g @tonalmathew/image-to-css`.

### Available commands

- `-h` or `--help` for help.
- `-f` or `--file` for entering input file.
- `-o` or `--output` for the output destination folder name.

### How to use

- Enter `image-to-css -f -o `

- Entering the above command will create a new folder, and the folder will contain a `index.html` and `style.css` file.

- You can open the `index.html` file in any browser to see the output.