org.ten60.util.image.serialize
Serializes a Java Bitmap Image to PNG, JPEG or GIF
Index > Books > Declarative Development Guide > Reference Library > Accessor Listing > org.ten60.util.image.serialize

Rate this page:
Really useful
Satisfactory
Not helpful
Confusing
Incorrect
Unsure
Extra comments:


Module

urn:org:ten60:util:image

Definition

Active URI Base

active:org.ten60.util.image.serialize

Format

<instr>
  <type>org.ten60.util.image.serialize</type>
  <operand>var:myimage</operand>
  <operator>
    <format>jpg</format>
  </operator>
  <target>this:response</target>
</instr>

Syntax

ArgumentRulesDescription
typeMandatory org.ten60.util.image.serialize
operandMandatory the Java image
operatorOptional A format document with type of image format to use
targetMandatory The serialized image resource

Generates a binary stream of an image in the format specified by the operator <format> document.

The format document specifies the image type to serialize. Its syntax is

<format>png|jpg|gif</format>
© 2003-2005, 1060 Research Limited. 1060 registered trademark, NetKernel trademark of 1060 Research Limited.