gg
Primitive Pictures
gg | Primitive Pictures | |
---|---|---|
14 | 16 | |
4,463 | 12,905 | |
- | 1.1% | |
0.0 | 0.0 | |
about 1 year ago | 7 months ago | |
Go | Go | |
MIT License | MIT License |
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.
gg
-
I wrote a tool in Go to write Sequence Diagrams in Go
The author explicitly says:
> You don't need to download any dependencies such as plantUML or Graphviz, which is what most of the tools out there require and what was also my motivation to start this project. go-uml is using a 2D graphics engine written 100% in Go https://github.com/fogleman/gg
So no, this is not a solution for these requirements.
-
Golang library similar to Python's pillow
I really like the [fogleman/gg](https://github.com/fogleman/gg) package for image manipulation, it is pure Go and has many functions to draw and manipulate images.
-
Creating Dynamic Shipping Labels
you can try something like: https://github.com/fogleman/gg to create such images from templates
-
Imagor - fast, Docker-ready image processing server written in Go and libvips, with Thumbor URL syntax
I've always used the GG library for my image processing needs, and I've heard of libvips somewhere before (likely from the Node.js world) but didn't know it had a Go port/wrapper. :) I'll definitely check that out as well
-
Rotate Text on Image
what library are you using? I recommend this one.
-
Trying out some new generative techniques with Go.
Mainly, the standard library and my favorite gg.
-
Processing equivalent in GoLang
Have you been hit by https://github.com/fogleman/gg/issues/85 when writing your book?
-
Ebiten now supports Nintendo Switch™!
It does relatively little, and that's the point! It works really well when you combine it with other packages; I find it plays very well with fogleman/gg, but your objectives may differ. The dev is very responsive and helpful (even if I don't understand their tweets).
-
Putting Text on an Image with Golang
That piece of code makes all the magic. With the help of Fogleman library manipulating images in Go is a breeze. Let's check what this is doing:
-
Looking for help on how to do image manipulation for Discord bots in GO
The base image package doesn't have text rendering functions. It would probably be easier to use a higher level library like https://github.com/fogleman/gg
Primitive Pictures
- Ask HN: What is the best online Vectorizer (.Png to .Svg)?
-
Vtracer: Next-Gen Raster-to-Vector Conversion
TIL about https://github.com/fogleman/primitive from https://en.m.wikipedia.org/wiki/Comparison_of_raster-to-vect...
-
Forest
Looks great! I've been thinking of having my own attempt at something like this ever since I saw a similar idea at primitive.lol
-
A better compact image placeholder hash
Looks like it's made with https://github.com/fogleman/primitive
-
Turn an image into blocky colour shapes
If you're looking for a more artistic arrangement of coloured blocks, and you've got some skills (or a Mac), there is this one application that's fun to play with. But I'm sure there are other ways.
-
Do you know any stories of successful devs that struggled in the beginning?
Some examples off the top of my head (not game-dev specific) are https://www.michaelfogleman.com/ (creator of https://primitive.lol/), Marco Arment (https://marco.org/ - Overcast), or Pieter Levels (sadly as I write this I found that his blog seems to have been taken down and just redirects to his twitter https://twitter.com/levelsio?ref=levels.io - but still has a laundry list of projects old and new in his twitter bio)
-
How do we cross-compile GitHub repositories nowadays without go get?
Any ideas on how I could simply cross-compile a non-module GitHub repository to three different architectures with predictable filenames? I wouldn't mind setting up a go.mod file, the problem is I would like to compile the executable in the github.com/fogleman/primitive repository, not my own code.
- Other ways to direct my plotter
- Primitive Pictures – Reproducing images with geometric primitives
-
Experiment in evolving the smallest image file format
Consider an SVG from [Primitive](https://github.com/fogleman/primitive) and a mostly-transparent overlay containing the diff against the original image. Tuning Primitive is not entirely deterministic (like your algorithm) and I think a human interface for the front-end would allow a few knobs to erase parts of the diff in order to shrink the detail imperceptively. Seems like a good opportunity for a contest :)
What are some alternatives?
govips - A lightning fast image processing and resizing library for Go
mpo - JPEG-MPO Decoder / Converter Library and CLI Tool
svgo - Go Language Library for SVG generation
imaginary - Fast, simple, scalable, Docker-ready HTTP microservice for high-level image processing
canvas - Cairo in Go: vector to raster, SVG, PDF, EPS, WASM, OpenGL, Gio, etc.
go-opencv - Go bindings for OpenCV / 2.x API in gocv / 1.x API in opencv
pt - A path tracer written in Go.
go-cairo - Go binding for the cairo graphics library
gltf - Go library for encoding glTF 2.0 files
img - A selection of image manipulation tools
gowitness - 🔍 gowitness - a golang, web screenshot utility using Chrome Headless