pierrre/imageserver

Image server toolkit in Go

Go

2,025

695 commits

updated Jul 3, 2026

See the code

README

Image Server

An image server toolkit in Go (Golang)

GoDoc Build Status Go Report Card

⚠️ This repository is not maintained anymore.

Features

Examples

Demos

These demos use the "advanced" example.

Click the images to see the URL parameters.

Resize

OptionsResult
width=200
(preserve aspect ratio)
height=200
(preserve aspect ratio)
width=200&height=200
(change aspect ratio)
width=200&height=200&mode=fit
(fit in 200x200)
width=200&height=200&mode=fill
(fill 200x200 and crop)

Rotate

OptionsResult
rotation=90
(counterclockwise)
rotation=45&background=ffaa88
(background)

Crop

Format: min_x,min_y|max_x,max_y

OptionsResult
crop=556,111|2156,1711
crop=956,511|1756,1311
crop=1252,799|1460,1022

Animated GIF

OriginalResized
Animated
Spaceship

Gamma correction (more info)

Resampling

ResamplingRingsLarge
Nearest neighbor
Box
Linear
Cubic
Lanczos

Quality

JPEG qualityResult
5%
10%
50%

Convert (JPEG to GIF)

Backward compatibility

There is no backward compatibility promises. If you want to use it, vendor it. It's always OK to change things to make things better. The API is not 100% correct in the first commit.

golang
image
server
toolkit

pierrre/imageserver

Image server toolkit in Go

Go

2,025

695 commits

updated Jul 3, 2026

See the code

README

Image Server

An image server toolkit in Go (Golang)

GoDoc Build Status Go Report Card

⚠️ This repository is not maintained anymore.

Features

Examples

Demos

These demos use the "advanced" example.

Click the images to see the URL parameters.

Resize

OptionsResult
width=200
(preserve aspect ratio)
height=200
(preserve aspect ratio)
width=200&height=200
(change aspect ratio)
width=200&height=200&mode=fit
(fit in 200x200)
width=200&height=200&mode=fill
(fill 200x200 and crop)

Rotate

OptionsResult
rotation=90
(counterclockwise)
rotation=45&background=ffaa88
(background)

Crop

Format: min_x,min_y|max_x,max_y

OptionsResult
crop=556,111|2156,1711
crop=956,511|1756,1311
crop=1252,799|1460,1022

Animated GIF

OriginalResized
Animated
Spaceship

Gamma correction (more info)

Resampling

ResamplingRingsLarge
Nearest neighbor
Box
Linear
Cubic
Lanczos

Quality

JPEG qualityResult
5%
10%
50%

Convert (JPEG to GIF)

Backward compatibility

There is no backward compatibility promises. If you want to use it, vendor it. It's always OK to change things to make things better. The API is not 100% correct in the first commit.

golang
image
server
toolkit

Project health

Overall

2.4/10

Maintained

0/10

Code review

0/10
OpenSSF Scorecard

Significant stargazers

Klaus Post

3,879 followers · starred May 2014

Olivier Poitrey

5,103 followers · starred May 2016

Pascal Borreli

426 followers · starred May 2016

Sylvain Utard

376 followers · starred May 2016