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
- Host: GitHub
- URL: https://github.com/tonalmathew/image-to-css
- Owner: tonalmathew
- License: mit
- Created: 2023-07-25T12:56:29.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-26T19:05:48.000Z (almost 3 years ago)
- Last Synced: 2025-04-27T22:35:15.847Z (about 1 year ago)
- Topics: css, css-box-shadow, image, jimp
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@tonalmathew/image-to-css
- Size: 192 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
---
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.