EnglishFrenchSpanish

Ad


OnWorks favicon

asimagexmlx - Online in the Cloud

Run asimagexmlx in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command asimagexmlx that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


asimagexml - XML schema to be used for scripting image manipulation by AfterStep and
ascompose libAfterImage/asimagexml

NAMEascompose


is a tool to compose image(s) and display/save it based on supplied XML input file.

DESCRIPTION


ascompose reads supplied XML data, and manipulates image accordingly. It could transform
images from files of any supported file format, draw gradients, render antialiased
texturized text, perform superimposition of arbitrary number of images, and save images
into files of any of supported output file formats.

At any point, the result of any operation could be assigned a name, and later on
referenced under this name.

At any point during the script processing, result of any operation could be saved into a
file of any supported file types.

Internal image format is 32bit ARGB with 8bit per channel.

Last image referenced, will be displayed in X window, unless -n option is specified. If -r
option is specified, then this image will be displayed in root window of X display,
effectively setting a background for a desktop. If -o option is specified, this image will
also be saved into the file or requested type.

TAGS


Here is the list and description of possible XML tags to use in the script :
img - load image from the file.
recall - recall previously loaded/generated image by its name.
text - render text string into new image.
save - save an image into the file.
bevel - draw solid bevel frame around the image.
gradient - render multipoint gradient.
mirror - create mirror copy of an image.
blur - perform gaussian blur on an image.
rotate - rotate/flip image in 90 degree increments.
scale - scale an image to arbitrary size.
slice - enlarge image to arbitrary size leaving corners unchanged.
crop - crop an image to arbitrary size.
tile - tile an image to arbitrary size.
hsv - adjust Hue, Saturation and Value of an image.
pad - pad image with solid color from either or all sides.
solid - generate new image of requested size, filled with solid
color.
composite - superimpose arbitrary number of images using one of 15
available methods.
if - conditional processing based on value of the variables
set - sets value of the variable
printf - formated printing of the value of the variable

Each tag generates new image as the result of the transformation - existing images are
never modified and could be reused as many times as needed. See below for description of
each tag.

Whenever numerical values are involved, the basic math ops (add, subtract, multiply,
divide), unary minus, and parentheses are supported.

Operator precedence is NOT supported. Percentages are allowed, and apply to either width
or height of the appropriate image (usually the refid image).

Also, variables of the form $image.width and $image.height are supported. $image.width is
the width of the image with refid "image", and $image.height is the height of the same
image. The special $xroot.width and $xroot.height values are defined by the the X root
window, if there is one. This allows images to be scaled to the desktop size: <scale
width="$xroot.width" height="$xroot.height">.

Each tag is only allowed to return ONE image.
libAfterImage/asimagexml/text

NAMEtext


- render text string into new image, using specific font, size and texture.

SYNOPSIS


<text id="new_id" font="font" point="size" fgcolor="color"
bgcolor="color" fgimage="image_id" bgimage="image_id"
spacing="points" type="3dtype">My Text Here</text>

ATTRIBUTES


id Optional. Image will be given this name for future reference.

font Optional. Default is "fixed". Font to use for text.

point Optional. Default is 12. Size of text in points.

fgcolor
Optional. No default. The text will be drawn in this color.

bgcolor
Optional. No default. The area behind the text will be drawn in this color.

fgimage
Optional. No default. The text will be textured by this image.

bgimage
Optional. No default. The area behind the text will be filled with this image.

spacing
Optional. Default 0. Extra pixels to place between each glyph.

type Optional. Default 0. Valid values are from 0 to 7 and each represeend different 3d
type.

NOTES


<text> without bgcolor, fgcolor, fgimage, or bgimage will NOT produce visible output by
itself. See EXAMPLES below.
libAfterImage/asimagexml/composite

NAMEcomposite


- superimpose arbitrary number of images on top of each other.

SYNOPSIS


<composite id="new_id" op="op_desc"
keep-transparency="0|1" merge="0|1">

ATTRIBUTES


id Optional. Image will be given this name for future reference.

op Optional. Default is "alphablend". The compositing operation. Valid values are the
standard AS blending ops: add, alphablend, allanon, colorize, darken, diff,
dissipate, hue, lighten, overlay, saturate, screen, sub, tint, value.

merge Optional. Default is "expand". Valid values are "clip" and "expand". Determines
whether final image will be expanded to the maximum size of the layers, or clipped
to the bottom layer.

keep-transparency
Optional. Default is "0". Valid values are "0" and "1". If set to "1", the
transparency of the bottom layer will be kept for the final image.

NOTES


All images surrounded by this tag will be composited with the given op.

ATTRIBUTES


All tags surrounded by this tag may have some of the common attributes
in addition to their normal ones. Under no circumstances is there a
conflict with the normal child attributes:

crefid Optional. An image ID defined with the "id" parameter for any previously created
image. If set, percentages in "x" and "y" will be derived from the width and height
of the crefid image.

x Optional. Default is 0. Pixel coordinate of left edge.

y Optional. Default is 0. Pixel coordinate of top edge.

align Optional. Alternative to x - allowed values are right, center and left.

valign Optional. Alternative to y - allowed values are top, middle and bottom.

clip_x Optional. Default is 0. X Offset on infinite surface tiled with this image, from
which to cut portion of an image to be used in composition.

clip_y Optional. Default is 0. Y Offset on infinite surface tiled with this image, from
which to cut portion of an image to be used in composition.

clip_width
Optional. Default is image width. Tile image to this width prior to
superimposition.

clip_height
Optional. Default is image height. Tile image to this height prior to
superimposition.

tile Optional. Default is 0. If set will cause image to be tiled across entire
composition, unless overridden by clip_width or clip_height.

tint Optional. Additionally tint an image to specified color. Tinting can both lighten
and darken an image. Tinting color 0 or #7f7f7f7f yields no tinting. Tinting can be
performed on any channel, including alpha channel.

Use asimagexmlx online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Phaser
    Phaser
    Phaser is a fast, free, and fun open
    source HTML5 game framework that offers
    WebGL and Canvas rendering across
    desktop and mobile web browsers. Games
    can be co...
    Download Phaser
  • 2
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 3
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 4
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 5
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 6
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • More »

Linux commands

  • 1
    abidiff
    abidiff
    abidiff - compare ABIs of ELF files
    abidiff compares the Application Binary
    Interfaces (ABI) of two shared libraries
    in ELF format. It emits a meaningful
    repor...
    Run abidiff
  • 2
    abidw
    abidw
    abidw - serialize the ABI of an ELF
    file abidw reads a shared library in ELF
    format and emits an XML representation
    of its ABI to standard output. The
    emitted ...
    Run abidw
  • 3
    copac2xml
    copac2xml
    bibutils - bibliography conversion
    utilities ...
    Run copac2xml
  • 4
    copt
    copt
    copt - peephole optimizer SYSNOPIS:
    copt file.. DESCRIPTION: copt is a
    general-purpose peephole optimizer. It
    reads code from its standard input and
    writes an ...
    Run copt
  • 5
    gather_stx_titles
    gather_stx_titles
    gather_stx_titles - gather title
    declarations from Stx documents ...
    Run gather_stx_titles
  • 6
    gatling-bench
    gatling-bench
    bench - http benchmark ...
    Run gatling-bench
  • More »

Ad