mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2025-12-20 11:09:21 +01:00
Updated Image API (markdown)
parent
912e75b0c7
commit
c8dc756799
@ -3,7 +3,7 @@ This library implements its own image format for OpenComputers with a simple los
|
||||
|
||||
## How does it work inside?
|
||||
|
||||
Every image is stored in RAM as a one-dimensional table, where the first two elements are its **width** and **height**, and the next are pixel data. This approach is necessary for RAM saving. For a better understanding, I give you an table example:
|
||||
Every picture stored in RAM as a one-dimensional table, where the first two elements are picture **width** and **height**, and the next are pixel data. This approach is necessary for RAM saving. Here's a table example for better structure understanding:
|
||||
|
||||
```lua
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user