Embedded image

Image The inline image directly stores pixel values in the Ocean file. Unlike Embedded image, no the image is not encoded using a traditional file format.

Inline images cannot be created using the graphical interface. They are used by format converters.

Ocean XML 5.6 example

The image bytes are encoded in base64 format

<image type="inline" name="image" format="rgb32f" width="8" height="8">
    0.2     0.5     0.1     0       0       0       0.2     0.5     0.1     0       0       0       0.2     0.5     0.1     0       0       0       0.2     0.5
    0.1     0       0       0       0       0       0       0.2     0.5     0.1     0       0       0       0.2     0.5     0.1     0       0       0       0.2
    0.5     0.1     0       0       0       0.2     0.5     0.1     0.2     0.5     0.1     0       0       0       0.2     0.5     0.1     0       0       0
    0.2     0.5     0.1     0       0       0       0.2     0.5     0.1     0       0       0       0       0       0       0.2     0.5     0.1     0       0
    0       0.2     0.5     0.1     0       0       0       0.2     0.5     0.1     0       0       0       0.2     0.5     0.1     0.2     0.5     0.1     0
    0       0       0.2     0.5     0.1     0       0       0       0.2     0.5     0.1     0       0       0       0.2     0.5     0.1     0       0       0
    0       0       0       0.2     0.5     0.1     0       0       0       0.2     0.5     0.1     0       0       0       0.2     0.5     0.1     0       0
    0       0.2     0.5     0.1     0.2     0.5     0.1     0       0       0       0.2     0.5     0.1     0       0       0       0.2     0.5     0.1     0
    0       0       0.2     0.5     0.1     0       0       0       0       0       0       0.2     0.5     0.1     0       0       0       0.2     0.5     0.1
    0       0       0       0.2     0.5     0.1     0       0       0       0.2     0.5     0.1
</image>