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.ImageSerialize
Description:
Id:util.image.ImageSerialize
Category:accessor
Identifier Syntax

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

Base
active:imageSerialize

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

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

The following verb is supported:

Verb
SOURCE
Response

The following response representations can be returned for SOURCE requests:

SOURCE Representations
Readable Binary Stream

This accessor throws no documented exceptions.

Import Requirements

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

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

Serializes an ImageAspect image to the serialization format specified by the operator. If the operator is not specified the default serialization is image/png

Operator

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

<format>png|jpg|gif</format>