Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/liammartens/govipsblank


https://github.com/liammartens/govipsblank

Last synced: 22 days ago
JSON representation

Awesome Lists containing this project

README

        

# govipsblank
Small utility for [https://github.com/davidbyttow/govips](govips) which can be used to create a blank image with a background color. (useful for layering/compositing)

## Usage
```go
import "govipsblank"

func main() {
image_ref, err := govipsblank.MakeBlankImage(1200, 800, vips.ColorRBA{
R: 255,
G: 0,
B: 0,
A: 255
})
}
```