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

https://github.com/kpechenenko/img-previewer

The web-service to create image preview.
https://github.com/kpechenenko/img-previewer

docker go image-processing rest-api

Last synced: about 2 months ago
JSON representation

The web-service to create image preview.

Awesome Lists containing this project

README

          

# Image previewer

A lightweight web service for generating image previews, built with Go. Easily creates scaled previews of JPEG images through a simple REST API.

![demo.gif](assets/demo.gif)

## Installation

```bash
make build-img
```

## Usage

```bash
make run-img
```
The image previewer is running in localhost on port 8080.

In browser go to `http://:/preview///`

For example: [http://127.0.0.1:8080/preview/100/300/raw.githubusercontent.com/OtusGolang/final_project/master/examples/image-previewer/_gopher_original_1024x504.jpg](http://127.0.0.1:8080/preview/100/300/raw.githubusercontent.com/OtusGolang/final_project/master/examples/image-previewer/_gopher_original_1024x504.jpg)

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

## License

This project is licensed under the MIT License.