MaskPath maskpath

Mask file path. Relative or absolute path and name for a mask image file associated with this catalog record.

Allows attaching separate masks to images.

The server uses the path resolution rules described in Managing Source Data to find the data file.

Properties section-cdc3b7e2811e41008479cd97887c01b7

Text string value. Optional. If specified, it must be a valid relative or absolute Image Server file path. attribute::DefaultExt is appended if no file suffix is present.

If both a main image ( catalog::Path) and a mask image ( catalog::MaskPath) are defined in a catalog record, both must have exactly the same pixel size. Mask images must be 8-bit grayscale.

mask= in the request overrides catalog::MaskPath.

catalog::MaskPath overrides the alpha channel in the main image ( catalog::Path), if present, and if the alpha channel is unassociated (that is, not pre-multiplied). If the image alpha is pre-multiplied, catalog::MaskPath is ignored and the alpha channel is always used.

Default section-78533e35bfec469ba087cb68a35bb81b

None.

See also section-68d262f5949c4959b8723ba44611d1dc

attribute::RootPath , attribute::DefaultExt, catalog::Path, mask=, req=mask

recommendation-more-help
a26166cd-f2f4-45ce-996d-96a0f0d6cf49