Go-based microservice for resizing, converting, and optimizing images
- Resize images to specified dimensions
- Convert images between formats (JPEG, PNG, GIF)
- Optimize images for web use
- RESTful API for easy integration
# Clone the repository
git clone https://github.com/yourusername/ImageProcessGo.git
# Navigate to the project directory
cd GoImager
# Install dependencies
go mod tidy
# Run the server
go run cmd/server/main.go
The server will start on http://localhost:8080
.
POST /resize
: Resize an imagePOST /convert
: Convert an image to a different formatPOST /optimize
: Optimize an image for web use :: TODO
Environment variables:
PORT
: The port on which the server will run (default: 8080)
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.