.. default-domain:: http .. highlight:: json Image ===== .. _http-Drawing.Image: .. rubric:: Image An image that markers can be drawn with. Created using :http:post:`/drawing/add-image`. .. note:: An image is kept across scene changes, until it is removed or the client that created it disconnects. A ``Image`` object is returned as ``{"id": ..., "class": ...}``, its identifier and the name of its own class. An argument is that object or the identifier alone. A path that acts on an object takes the identifier as ``(id)``. .. http:get:: /drawing/image/(id)/width The width of the image, in pixels. :param id: The identifier of the :ref:`Image ` object. :resjson int32 value: .. http:get:: /drawing/image/(id)/height The height of the image, in pixels. :param id: The identifier of the :ref:`Image ` object. :resjson int32 value: .. http:post:: /drawing/image/(id)/remove Remove the image. A marker drawn with it goes back to its own icon. :param id: The identifier of the :ref:`Image ` object.