Previous Up Next

26.1.3  Loading images to the legacy format

The readrgb command reads an Xcas image structure (see Section 26.1.1).

Example

Assume the the image shown in Figure 26.1 is stored in file image1234.jpg.


Figure 26.1: An image of size 250× 500 with colors

After reading it into a variable name with readrgb using the legacy Xcas format:

a:=readrgb("image1234.jpg")

the variable a will contain a list.


Previous Up Next