YOU ARE VIEWING DOCUMENTATION FOR ioL v.1. Click here for documentation for older v.0.9x versions of ioL.
ioL

Programming manual (doc.iol.science)



<img>

An img tag renders graphical image data to the screen. The data assigned to the default field must be the complete file contents (in the form of raw data) of one of the following formats: PNG, JPEG, GIF.

This tag does not currently support the .push operation for assigning data to the image. Complete image data must be set in one operation.

Sample program

A sample image viewer program (written in C) is available on the Sample Programs page.

The sample program demonstrates one possible way to load image data out of a file and print it to your ioL console, as well as various ways to manipulate the <img> element on the screen.