picture

Valid in: Schematic and Symbol files

type x1 y1 width height angle ratio mirrored embedded
filename
encoded picture data
encoded picture end


Field Type/unit Description
type char G
x int/mils Lower left X coordinate
y int/mils Lower left Y coordinate
width int/mils Width of the picture
height int/mils Height of the picture
angle int/degrees Angle of the picture
mirrored char Mirrored or normal picture
embedded char Embedded or link to the picture file
filename string path and filename of a not embedded picture
encoded picture data string Serialized picture encoded using base64
encoded picture end string A line containing only a dot character

Example:
G 16900 35800 1400 2175 0 6.435331e-01 0 0
../bitmaps/logo.jpg

A picture object with the lower left corner at (16900, 35800). The width of the image is 1400 mils, and its height is 2175 mils (i.e.: the ratio is 0.6353).
The picture rotation is 0 degrees and the picture is not mirrored, neither embedded.
The picture path and filename is showed in the second line.

Example:
G 16900 35800 1400 2175 0 6.435331e-01 0 1
../bitmaps/logo.jpg
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
.

A picture object with the lower left corner at (16900, 35800). The width of the image is 1400 mils, and its height is 2175 mils (i.e.: the ratio is 0.6353).
The picture rotation is 0 degrees, it is not mirrored, and it is embedded.
The picture path and filename is showed in the second line. Since this is an embedded picture, the filename and path are not used.
The encoded picture data is only an example (it is not real data). The last line containing a single dot '.' character marks the end of the encoded picture data.

Ales Hvezda 2006-01-23