canvas
Cairo in Go: vector to raster, SVG, PDF, EPS, WASM, OpenGL, Gio, etc. (by tdewolff)
resize
Pure golang image resizing (by nfnt)
DISCONTINUED
Our great sponsors
canvas | resize | |
---|---|---|
9 | 1 | |
1,411 | 2,883 | |
- | - | |
9.0 | 0.0 | |
15 days ago | almost 2 years ago | |
Go | Go | |
MIT License | ISC License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
canvas
Posts with mentions or reviews of canvas.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-29.
-
Canvas vector graphics update: rich text and path boolean operation support
I wanted to share a recent large update to https://github.com/tdewolff/canvas, which is a vector graphics library written in Go to create images, PDFs, SVGs, OpenGL, etc. using vector drawing operations. Especially I wanted to show two new exciting features:
- Pixie – A full-featured 2D graphics library for Nim
-
Processing equivalent in GoLang
https://github.com/tdewolff/canvas/blob/master/examples/opengl/main.go can draw primitves but i think it would be a bit hard to do event based animation
-
tdewolff/canvas: vector graphics in Go (mayor update)
canvas has a focus on using state-of-the-art algorithms regarding numerical approximations, see https://github.com/tdewolff/canvas#articles for a list of publications used in this library
I see, you'd like to specify the exact output pixel size for the rasterizers? To be honest, the floats are being multiplied and rounded, so given a set of canvas dimensions in mm and a DPMM should be fine in your case. In any case, I've opened an issue to calculate the resulting DPMM automatically to get a certain pixel width and height: https://github.com/tdewolff/canvas/issues/78
Yes! See https://github.com/tdewolff/canvas/tree/master/examples/gonum-plot for an example using gonum-plot. You should be able to plug-and-play to use the canvas library!
resize
Posts with mentions or reviews of resize.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-13.
-
How to create YOLOv8-based object detection web service using Python, Julia, Node.js, JavaScript, Go and Rust
github.com/nfnt/resize - the library to resize images. (Perhaps you can find more modern library, but I just used this one because it works properly)
What are some alternatives?
When comparing canvas and resize you can also consider the following projects:
gocv - Go package for computer vision using OpenCV 4 and beyond.
svgo - Go Language Library for SVG generation
imaginary - Fast, simple, scalable, Docker-ready HTTP microservice for high-level image processing
go-webp - Simple and fast webp library for golang
gg - Go Graphics - 2D rendering in Go with a simple API.
tiny-skia - A tiny Skia subset ported to Rust
generative-art-in-go - A companion source code repository to the book "Generative Art in Go"
go-cairo - Go binding for the cairo graphics library
go-nude - Nudity detection with Go.
govips - A lightning fast image processing and resizing library for Go
picfit - An image resizing server written in Go