Skip to content

An image library that supports exporting to PNG.

Notifications You must be signed in to change notification settings

shritesh/roc-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

roc-image

An image library that supports exporting to PNG.

Example

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

About

An image library that supports exporting to PNG.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages