Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/shritesh/roc-image

An image library that supports exporting to PNG.
https://github.com/shritesh/roc-image

image library png roc

Last synced: 3 months ago
JSON representation

An image library that supports exporting to PNG.

Awesome Lists containing this project

README

        

# roc-image

An image library that supports exporting to PNG.

## Example

```roc
Image.new 3 1
|> Result.try \image -> Image.set image 0 0 (255, 0, 0, 255)
|> Result.try \image -> Image.set image 1 0 (0, 255, 0, 255)
|> Result.try \image -> Image.set image 2 0 (0, 0, 255, 255)
|> Result.map Image.toPNG
```