go-cairo alternatives and similar packages
Based on the "Images" category.
Alternatively, view go-cairo alternatives based on common mentions on social networks and blogs.
-
gocv
Go package for computer vision using OpenCV 4 and beyond. Includes support for DNN, CUDA, OpenCV Contrib, and OpenVINO. -
pigo
Fast face detection, pupil/eyes localization and facial landmark points detection library in pure Go. -
darkroom
An image proxy with changeable storage backends and image processing engines with focus on speed and resiliency. -
LookUp
:mag: Pure Go implementation of fast image search and simple OCR, focused on reading info from screenshots -
fastimage
Finds the type and/or size of a remote image given its uri, by fetching as little as needed. -
webp-server
Simple and minimal image server capable of storing, resizing, converting and caching images.
CodeRabbit: AI Code Reviews for Developers

Do you think we are missing an alternative of go-cairo or a related project?
Popular Comparisons
README
go-cairo
Go binding for the cairo graphics library
Based on Dethe Elza's version https://bitbucket.org/dethe/gocairo but significantly extended and updated.
Go specific extensions:
- NewSurfaceFromImage(image.Image)
- Surface.GetData() []byte
- Surface.SetData([]byte)
- Surface.GetImage() image.Image
- Surface.SetImage(image.Image)
go-cairo also sports a sub package extimage with image.Image/draw.Image implementations for 32 bit ARGB and 24 bit RGB color models.
Overview:
- http://go.pkgdoc.org/github.com/ungerik/go-cairo
- http://go.pkgdoc.org/github.com/ungerik/go-cairo/extimage
Missing features
- TextCluster
- FontExtents
- FontFace
- FontOptions
- ScaledFont
- Glyph
Installation:
Install cairo:
For Debian and Debian derivatives including Ubuntu:
sudo apt-get install libcairo2-dev
For Fedora:
sudo yum install cairo-devel
For openSUSE:
zypper install cairo-devel
For Arch Linux: (also gcc and pkgconf are required)
sudo pacman -S cairo
For MacOS you may get errors finding cairo-pdf.h. To fix this run:
xcode-select --install
Install go-cairo and run go-cairo-example:
go get github.com/ungerik/go-cairo
go install github.com/ungerik/go-cairo/go-cairo-example && go-cairo-example
Copyrights: See LICENSE file
*Note that all licence references and agreements mentioned in the go-cairo README section above
are relevant to that project's source code only.