User manual
Automation Protocol Filename-Based Commands
Miranda Technologies Ltd Page 89
Save Image R1
This saves a previously loaded or grabbed image to disk. The Image is saved
with all its currently selected keying, masking and positioning attributes.
The mask flag is only used in Imagestore 2/3. If the Mask Flag is 0, then the
entire image is saved. If the mask flag is 1, then only the area of the image
within the current mask rectangle is saved, thus reducing disk space and
increasing load times.
The requirement to save disk space is less important on Imagestore 300,
Imagestore HD-TV, Imagestore 750 and LGK-3901. For this reason the mask
flag has no effect on these systems and the complete image is always
preserved to allow a crop to be reversed at a later date.
The filename and title are string parameters – the title is a simple text field
which can provide additional information about an image. Titles are not
required to be unique.
This command supersedes and extends the 9 and I commands (which remain
supported)
CMD Param_1 Param_2 Param_3 Param_4
R1 %1x: Layer
No.
%1x: Mask Flag:
0 = Full Image, 1 = Masked
area
Filename Title
Example: Save image
void SaveImage(int Layer, bool Masked,
char* filename, char* title)
{
remote_send("R1%1x%1x%s|%s", Layer, Masked,
filename, title);
}
Erase Image R2
This command erases a specified media file from the unit’s internal disk.
This command supersedes and extends the Q command (which remains
supported)
CMD Param_1
R2 Filename