https://github.com/iolanguage/image
https://github.com/iolanguage/image
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/iolanguage/image
- Owner: IoLanguage
- License: bsd-3-clause
- Created: 2018-03-11T11:55:15.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-13T08:02:49.000Z (about 8 years ago)
- Last Synced: 2025-03-14T05:44:43.944Z (over 1 year ago)
- Language: C
- Size: 401 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Image
The Image object can read and draw images and provide the image
data as a buffer. Example use:
```Io
image = Image clone open("curly.png")
image draw
image scaleTo(image width / 2, image height / 2)
image save("curly.tiff")
```
When loading an attempt will be made to convert the image into whichever
of the following formats it is closest to: L8, LA8, RGB8, RGBA8.
Currently supported formats include PNG(which supports alpha), JPG and TIFF.
# Installation
`libpng`, `libjpeg` and `libtiff` should be installed and foundable in your system. Then:
```
eerie install https://github.com/IoLanguage/Image.git
```