1ascompose(1)             AfterStep X11 window manager             ascompose(1)
2
3
4

NAME

6       ascompose -  provides  access  to  libAfterImage  functionality,  using
7       scripts written in custom XML dialect libAfterImage/ascompose
8

NAMEascompose

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

SYNOPSIS

15       ascompose -f file|-s string [-o file] [-t type] [-V]
16       ascompose -i include_file [-i more_include_file ... ]
17                    -f file|-s string [-o file] [-t type] [-V]
18       ascompose -f file|-s string [-o file] [-t type] [-V] [-n]
19       ascompose -f file|-s string [-o file] [-t type [-c compression_level]]
20                    [-V] [-r]
21       ascompose [-h]
22       ascompose [-v]
23

DESCRIPTION

25       ascompose reads supplied XML data, and manipulates image accordingly.
26       It could transform images from files of any supported file format,
27       draw gradients, render antialiased texturized text, perform
28       superimposition of arbitrary number of images, and save images into
29       files of any of supported output file formats.
30
31       At any point, the result of any operation could be assigned a name,
32       and later on referenced under this name.
33
34       At any point during the script processing, result of any operation
35       could be saved into a file of any supported file types.
36
37       Internal image format is 32bit ARGB with 8bit per channel.
38
39       Last image referenced, will be displayed in X window, unless -n option
40       is specified. If -r option is specified, then this image will be
41       displayed in root window of X display, effectively setting a background
42       for a desktop. If -o option is specified, this image will also be
43       saved into the file or requested type.
44
45       ascompose can be compiled to not reference X Window System, thus
46       allowing it to be used on web servers and any other place. It does not
47       even require X libraries in that case.
48
49       Supported file types for input are :
50       XPM   - via internal code, or libXpm library.
51       JPEG  - via libJpeg library.
52       PNG   - via libPNG library.
53       XCF   - via internal code. For now XCF support is not complete as it
54               does not merge layers.
55       PPM/PNM - via internal code.
56       BMP, ICO, CUR - via internal code.
57       GIF   - via libungif library.
58       TIFF  - via libtiff library (including alpha channel support).
59       see libAfterImage/ASImageFileTypes for more.
60
61       Supported file types for output :
62       XPM   - via internal code, or libXpm library.
63       JPEG  - via libJpeg library.
64       PNG   - via libPNG library.
65       GIF   - via libungif library.
66       TIFF  - via libtiff library (including alpha channel support).
67

OPTIONS

69          -h --help          display help and exit.
70          -f --file file     an XML file to use as input.
71          -s --string string an XML string to use as input.
72          -n --no-display    don't display the last referenced image.
73          -r --root-window   draw last referenced image image on root window.
74          -o --output file   output last referenced image in to a file.
75                             You should use -t to specify what file type to
76                             use. Filenames are meaningless when it comes to
77                             determining what file type to use.
78          -t --type type     type of file to output to.
79          -c --compress level compression level.
80          -v --version       display version and exit.
81          -V --verbose       increase verbosity. To increase verbosity level
82                             use several of these, like: ascompose -V -V -V.
83          -D --debug         maximum verbosity - show everything and
84                             debug messages.
85          -i --include file  include file as input prior to processing main
86                                file.
87

PORTABILITY

89       ascompose could be used both with and without X window system. It has
90       been tested on most UNIX flavors on both 32 and 64 bit architecture.
91       It has also been tested under CYGWIN environment on Windows 95/NT/2000
92

USES

94       libAfterImage         all the image manipulation routines.
95       libAfterBase          Optionally. Misc data handling such as hash
96                             tables and console io. Must be used when compiled
97                             without X Window support.
98       libJPEG               JPEG image format support.
99       libPNG                PNG image format support.
100       libungif              GIF image format support.
101       libTIFF               TIFF image format support.
102

AUTHOR

104       Ethan Fisher          <allanon at crystaltokyo dot com>
105       Sasha Vasko           <sasha at aftercode dot net>
106       Eric Kowalski         <eric at beancrock dot net>
107

EXAMPLE

109       Here is the default script that gets executed by ascompose, if no
110       parameters are given :
111

SOURCE

113       Source :
114       #if 1
115       static char* default_doc_str = "<composite op=hue>  <composite op=add>    <scale width=512 height=proportional>        <img id=rose src=rose512.jpg/></scale>    <tile width=512 height=384><img src=back.xpm/></tile>  </composite>  <tile width=512 height=384><img src=fore.xpm/></tile></composite><printf format=
116       <printf format=
117       <printf format=
118       #else
119       static char* default_doc_str = "  <composite op=add>    <scale width=512 height=proportional>        <img id=rose src=rose512.jpg/></scale>    <tile width=512 height=384><img src=back.xpm/></tile>  </composite>";
120       #endif
121
122
123
1243rd Berkeley Distribution      AfterStep v.2.2.6                  ascompose(1)
Impressum