Images

45 projects

Go's standard library decodes and encodes PNG, JPEG and GIF through the image packages, and golang.org/x/image adds formats such as WebP decoding, BMP and TIFF, plus scaling in x/image/draw. This category adds resizing and filter libraries, bindings to fast C libraries, 2D vector drawing, computer vision, ready-made image servers and some rendering experiments.

In pure Go, disintegration/imaging and gift provide resizing, cropping and filters, and anthonynsimon/bild offers a collection of processing algorithms; imaging and gift have been quiet since 2023. fogleman/gg draws 2D graphics, tdewolff/canvas renders vector graphics to PDF, SVG or raster, and svgo generates SVG. For speed, h2non/bimg and imagor bind libvips, imagick binds ImageMagick, and gocv binds OpenCV for computer vision, all through cgo. imaginary, imagor and picfit are HTTP services for resizing on the fly. smartcrop picks good crops automatically.

For occasional thumbnails, pure Go libraries avoid cgo and keep builds simple. For high volume or large images, libvips through bimg or imagor is much faster and uses less memory, at the cost of a C dependency in your build and container. If you only need an image proxy, running imagor or imaginary as a service may be simpler than writing one.

gocvby hybridgroup

Go package for computer vision using OpenCV 3.3+.

gocv.io/x/gocvGo 1.21+ 3 dependenciesv0.43.0updated 5mo ago

7.5k

imaginaryby h2non

Fast and simple HTTP microservice for image resizing.

github.com/h2non/imaginaryGo 1.12+ 4 dependenciesv1.2.4updated 11mo ago

6.1k

imagingby disintegration

Simple Go image processing package.

github.com/disintegration/imaging1 dependencyv1.6.2updated 3y ago

5.8k

ggby fogleman

2D rendering in pure Go.

v1.3.0updated 2y ago

4.8k

gowitnessby sensepost

Screenshoting webpages using go and headless chrome on command line.

github.com/sensepost/gowitnessGo 1.26+ 21 dependencies3.2.2updated 5d ago

4.6k

bildby anthonynsimon

Collection of image processing algorithms in pure Go.

github.com/anthonynsimon/bildGo 1.25+ 3 dependenciesv0.17.1updated 1mo ago

4.2k

imagorby cshum

Fast, secure image processing server and Go library, using libvips.

github.com/cshum/imagorGo 1.26+ 24 dependenciesv1.9.14updated today

4.1k

lnby fogleman

3D line art rendering in Go.

updated 7y ago

3.5k

bimgby h2non

Small package for fast and efficient image processing using libvips.

v1.1.5updated 1y ago

3k

picfitby thoas

An image resizing server written in Go.

github.com/thoas/picfitGo 1.25+ 26 dependencies0.18.1updated today

2.3k

svgoby ajstarks

Go Language Library for SVG generation.

github.com/ajstarks/svgoGo 1.15+ 2 dependenciesupdated 3y ago

2.3k

ptby fogleman

Path tracing engine written in Go.

updated 7y ago

2.1k

imagickby gographics

Go binding to ImageMagick's MagickWand C API.

gopkg.in/gographics/imagick.v2Go 1.23+ No dependencies v2.7.1updated 5mo ago

1.9k

smartcropby muesli

Finds good crops for arbitrary images and crop sizes.

github.com/muesli/smartcropGo 1.12+ 2 dependenciesv0.3.0updated 3y ago

1.9k

canvasby tdewolff

Vector graphics to PDF, SVG or rasterized image.

github.com/tdewolff/canvasGo 1.26+ 29 dependenciesupdated 1mo ago

1.8k

giftby disintegration

Package of image processing filters.

github.com/disintegration/giftNo dependencies updated 3y ago

1.8k

govipsby davidbyttow

A lightning fast image processing and resizing library for Go.

github.com/davidbyttow/govips/v2Go 1.25+ 3 dependenciesv2.20.0updated 17d ago

1.7k

geopatternby pravj

Create beautiful generative image patterns from a string.

updated 7y ago

1.3k

stegifyby DimitarPetrov

Go tool for LSB steganography, capable of hiding any file within an image.

v1.2updated 3y ago

1.3k

image2asciiby qeesung

Convert image to ASCII.

updated 4y ago

981

go-qrcodeby yeqown

Generate QR codes with personalized styles, allowing adjustments to color, block size, shape, and icons.

github.com/yeqown/go-qrcode/v2Go 1.19+ 3 dependenciesv2.2.5updated 2mo ago

866

goimagehashby corona10

Go Perceptual image hashing package.

github.com/corona10/goimagehashGo 1.11+ 1 dependencyv1.1.0updated 2y ago

843

govatarby o1egl

Library and CMD tool for generating funny avatars.

github.com/o1egl/govatarGo 1.16+ 2 dependenciesv0.4.1updated 4y ago

607

mortby aldor007

Storage and image processing server written in Go.

github.com/aldor007/mortGo 1.25+ 25 dependenciesv0.37.0updated 10mo ago

523

nativewebpby HugoSmits86

Go native WebP encoder with zero external dependencies.

github.com/HugoSmits86/nativewebpGo 1.22+ 1 dependencyv1.3.0updated 5mo ago

462

go-nudeby koyachi

Nudity detection with Go.

updated 3y ago

421

steganographyby auyer

Pure Go Library for LSB steganography.

github.com/auyer/steganographyGo 1.12+ No dependencies v1.0.3updated 5mo ago

353

go-webpby kolesa-team

Library for encode and decode webp pictures, using libwebp.

github.com/kolesa-team/go-webpGo 1.10+ 1 dependencyv1.0.5updated 9mo ago

314

transformimgsby Pixboost

Transformimgs resizes and optimises images for Web using next-generation formats.

github.com/Pixboost/transformimgs/v8Go 1.18+ 3 dependenciesv8.19.0updated 11mo ago

291

gltfby qmuntal

Efficient and robust glTF 2.0 reader, writer and validator.

github.com/qmuntal/gltfGo 1.20+ 1 dependencyv0.29.0updated 2mo ago

288

mergiby noelyahan

Tool & Go library for image manipulation (Merge, Crop, Resize, Watermark, Animate).

0.1.0updated 1y ago

244

darkroomby gojek

An image proxy with changeable storage backends and image processing engines with focus on speed and resiliency.

github.com/gojek/darkroomGo 1.18+ 16 dependenciesv0.4.2updated 5mo ago

235

gogpu/ggby gogpu

GPU-accelerated 2D rendering with Canvas-like API, zero CGO (part of GoGPU pure Go graphics ecosystem).

github.com/gogpu/ggGo 1.25+ 6 dependenciesv0.52.5updated 1mo ago

168

imgby hawx

Selection of image manipulation tools.

updated 11y ago

158

go-cairoby ungerik

Go binding for the cairo graphics library.

github.com/ungerik/go-cairoGo 1.13+ No dependencies updated 6mo ago

152

cameronby aofei

An avatar generator for Go.

github.com/aofei/cameronGo 1.13+ No dependencies updated 3mo ago

131

color-extractorby marekm4

Dominant color extractor with no external dependencies.

github.com/marekm4/color-extractorGo 1.13+ No dependencies updated 3y ago

131

webp-serverby mehdipourfar

Simple and minimal image server capable of storing, resizing, converting and caching images.

github.com/mehdipourfar/webp-serverGo 1.15+ 6 dependenciesv1.0.0updated 5y ago

82

gridderby shomali11

A Grid based 2D Graphics library.

github.com/shomali11/gridderGo 1.14+ 4 dependenciesupdated 5y ago

81

go-gdby bolknote

Go binding for GD library.

github.com/bolknote/go-gd/v2Go 1.22+ No dependencies updated 5mo ago

60

goimghdrby corona10

The imghdr module determines the type of image contained in a file for Go.

updated 7y ago

40

eagle-image-apiby nicobistolfi

Image optimization and transformation API using libvips, deployable to AWS Lambda and CloudFront.

github.com/nicobistolfi/eagle-image-apiGo 1.25+ 7 dependenciesv1.1.0updated 1mo ago

31

scoutby jonoton

Scout is a standalone open source software solution for DIY video security.

github.com/jonoton/scoutGo 1.27+ 27 dependenciesupdated 10d ago

30

go-webcolorsby jyotiska

Port of webcolors library from Python to Go.

updated 11y ago

29

mpoby donatj

Decoder and conversion tool for MPO 3D Photos.

github.com/donatj/mpoGo 1.27+ 1 dependencyv0.2.0updated 18d ago

28
Esc

Type to search every entry. ↑↓ to move, Enter to open.