WARNING: This server provides a static reference view of the NetKernel documentation. Links to dynamic content do not work. For the best experience we recommend you install NetKernel and view the documentation in the live system .

Endpoint
Name:util.image.ImageQuantize
Description:
Id:util.image.ImageQuantize
Category:accessor
Identifier Syntax

util.image.ImageQuantize is an accessor using Active URI syntax with the following base identifiers:

Base
active:imageQuantize

and the following arguments: (for more details on argument passing details see here)

ArgumentRulesTypingDescription
operand
Mandatory
Representation (java.lang.Object)input ImageAspect
operator
Mandatory
Representation (java.lang.Object)declarative transform
Request Verbs

The following verb is supported:

Verb
SOURCE
Response

The following response representations can be returned for SOURCE requests:

SOURCE Representations
ImageAspect

This accessor throws no documented exceptions.

Import Requirements

To use util.image.ImageQuantize accessor you must import the module urn:org:netkernel:util:image:

<import>
  <uri>urn:org:netkernel:util:image</uri>
</import>

Quantizes the number of colours used in the palette of an image with the format specified by the operator.

Operator

The operator declaratively specifies the crop dimensions. It must be transreptable to a String HDS tree. Its syntax in XML format is:

<transform>
  <palette>128</palette>
</transform>