HC_Edit_Image_Options

void HC_Edit_Image_Options(Key image_key, char const *options)
void HC_Edit_Image_Options(Key image_key, char const options)

Modifies the the options associated with a specific image.

The following choices are recognized for options. These are a subset of the options available when the image is initially inserted via a call to Insert_Image():

name = <string>

This name will be used to create a texture with the options specified in ‘texture options’. Providing no texture option string will mean that a texture is then created with default texture options.

[no] down-sample [= on | off]

If this is set, images will have a bilinear filter applied to them. This typically makes images look smoother, especially if zoomed upon. However, if there are hard edges (e.g. a checker board) it can make the image look unnecessarily blurry. Default = “down-sample”

size = ((float) width units, (float) height units) size = <float> units

Scale for an image where units is either “oru”, “sru” or “pixels”. “size = <float> units” will preserve aspect ratio.

[no] local [= on | off]

If set, the implicit texture created will be local to the currently open segment. Default = “no local”.

texture options = (…)

Options for the implicit texture created for the image. See Define_Texture() for the list of recognized options. The texture options will merge with any existing texture options.

HC_Insert_Image, HC_Edit_Image, HC_Show_Image

Parameters

image_key: The numeric identifier of an image, returned by a previous call to Insert_Image() or Insert_Image_By_Ref().

options: Comma separated list of new options.