Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liammartens/govipsblank
https://github.com/liammartens/govipsblank
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/liammartens/govipsblank
- Owner: LiamMartens
- License: mit
- Created: 2024-06-03T12:08:56.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-03T12:10:55.000Z (7 months ago)
- Last Synced: 2024-12-06T13:31:49.363Z (23 days ago)
- Language: Go
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
})
}
```