--- title: Go Image Processor emoji: 🖼️ colorFrom: blue colorTo: green sdk: docker pinned: false license: mit --- # Go Image Processor High-performance image compression microservice written in Go. ## Endpoints | Method | Path | Description | |--------|------|-------------| | GET | `/` | Service info | | GET | `/health` | Health check | | POST | `/compress` | Compress images | ## Usage ```bash curl -X POST https://dukunhamsembrek-tesaibottelegramdukun.hf.space/compress \ -H "Content-Type: application/json" \ -d '{ "images": ["base64_encoded_image..."], "quality": 85, "max_dim": 2048 }' ``` ## Response ```json { "results": ["base64_compressed_image..."], "processing_ms": 150, "count": 1, "errors": [] } ``` ## Performance - 3-4x faster than Python PIL - Parallel processing (uses all CPU cores) - Memory efficient