https://github.com/fcrozetta/img2xlsx
https://img2xlsx.herokuapp.com/
https://github.com/fcrozetta/img2xlsx
Last synced: 8 months ago
JSON representation
https://img2xlsx.herokuapp.com/
- Host: GitHub
- URL: https://github.com/fcrozetta/img2xlsx
- Owner: fcrozetta
- Created: 2020-03-14T22:57:33.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-01T21:22:45.000Z (about 3 years ago)
- Last Synced: 2024-12-28T01:33:03.886Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Img2xlsx
This is a proof-of-concept of a simple program that transform an image to an spreadsheet.
Each pixel is will be placed in a cell. The cell background will be filled with a solid color representing the pixel color (RGB)
# How to use it
There are two ways to use the program. One is sending a post requet to the endpoint https://img2xlsx.herokuapp.com/
The body should containg the base64 of the image. Since thius is a free node, you may find some problems with the file size. Only small images will be converted
The second way is cloning this repository and starting the server yourself.
You should install the requirements:
``` bash
pip install -r requirements.txt
```
and then start the server:
``` bash
flask run
```
after that, send a post request to 127.0.0.1:5000 with your base64 image