This file is indexed.

/usr/share/doc/libafterimage-dev/html/ascompose.html is in libafterimage-dev 2.2.12-6.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<title>AFTERImage XML script processor</title>
<style type="text/css">
	<!--

	body {
        	margin-top: 5px;
		background-repeat: repeat;
	}

	.copy {
		margin-top: 10px;
        	margin-left: 4%;
        	margin-right: 4%;
	}

	.copy a:link, .copy a:visited {
        	color:#0FF;
        	text-decoration:none
	}

	.copy a:active, .copy a:hover {
        	color:#FC3;
        	text-decoration:underline
	}

	.copy2 {
		margin-top: 10px;
        	margin-left: 0;
        	margin-right: 0;
	}

	.copy2 a:link, .copy a:visited {
        	color:#0FF;
        	text-decoration:none
	}

	.copy2 a:active, .copy a:hover {
        	color:#FC3;
        	text-decoration:underline
	}

	p.codeBlock {
		background: #444444;
		padding: 1em;
		margin-left: 4em;
		font-family:Tahoma, Arial, Verdana, Helvetica;
		font-size:14px;
	}
	.container {
		padding: -1em;
		margin-left: 0em;
		margin-right: 1em;
		width: 100%;
		background: #ccc;
		border: 1px solid #000;
		font-size:13px;
	}
	p.dense {
		text-align: justify;
		margin-top: 0em;
		padding: 0em;
		line-height: 110%;
	}			       
	p.sect_header
	{
    		background-color: #dddddd;
    		color: #000000;
    		text-align: right;
    		font-size: 11pt;
	}
	p.refsect_header
	{
    		text-align: left;
    		font-size: 14px;
		line-height: 90%;
	}
	dl.dense {
		padding: 0;
		margin: 0;
		font-size:14px;
	}
	ul.dense {
	}
	li.dense {
		line-height: 110%;
	}
	dt.dense {
		line-height: 110%;
		text-align: bottom;
	}
	dd.dense {
		font-size:14px;
	}
	-->
</style>

</head>
<body>
<A name="page_top"></A>
<A href="../../afterstep/html/preface.html">Preface</A>&nbsp;&nbsp;<A href="../../afterstep/html/visualselect.html">Introduction</A>&nbsp;&nbsp;<A href="../../afterstep/html/index.html">Main index</A>&nbsp;&nbsp;<A href="index.html">API Topic index</A>&nbsp;&nbsp;<A href="Glossary.html">API Glossary</A><p>
<h1>AFTERImage XML script processor</h1><font size=4>provides access to libAfterImage functionality, using scripts written in custom XML dialect</font><hr>

<A NAME="libAfterImage/ascompose"><UL><p class="sect_header"><B>libAfterImage/ascompose</B></p></A><LI><p class="refsect_header"><B>NAME</B></p>
<A NAME="ascompose"></A><B>ascompose</B><P class="dense">is a tool to compose image(s) and display/<A href="asimagexml.html#save">save</A> it based on
supplied XML input file.

</P></LI><LI><p class="refsect_header"><B>SYNOPSIS</B></p><PRE><A href="asimagexml.html#ascompose">ascompose</A> -f file|-s string [-o file] [-t type] [-V]
<A href="asimagexml.html#ascompose">ascompose</A> -i include_file [-i more_include_file ... ]
             -f file|-s string [-o file] [-t type] [-V]
<A href="asimagexml.html#ascompose">ascompose</A> -f file|-s string [-o file] [-t type] [-V] [-n]
<A href="asimagexml.html#ascompose">ascompose</A> -f file|-s string [-o file] [-t type [-c compression_level]] 
             [-V] [-r]
<A href="asimagexml.html#ascompose">ascompose</A> [-h]
<A href="asimagexml.html#ascompose">ascompose</A> [-v]

</PRE></LI><LI><p class="refsect_header"><B>DESCRIPTION</B></p><PRE><A href="asimagexml.html#ascompose">ascompose</A> reads supplied XML data, and manipulates image accordingly.
It could <A href="transform.html#transform">transform</A> images from files of any supported file format,
<A href="asfont.html#draw_text()">draw</A> gradients, render antialiased texturized <A href="asimagexml.html#text">text</A>, perform
superimposition of arbitrary number of images, and <A href="asimagexml.html#save">save</A> 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 <A href="asimagexml.html#background">background</A>
for a desktop. If -o option is specified, this image will also be
saved into the file or requested type.

<A href="asimagexml.html#ascompose">ascompose</A> can be compiled to not reference X Window System, thus
allowing it to be used on web servers and any other place. It does not
even require X libraries in that case.

Supported file types for input are :
XPM   - via internal code, or libXpm library.
JPEG  - via libJpeg library.
PNG   - via libPNG library.
XCF   - via internal code. For now XCF support is not complete as it
        does not <A href="transform.html#merge_layers()">merge</A> layers.
PPM/PNM - via internal code.
BMP, ICO, CUR - via internal code.
GIF   - via libungif library.
TIFF  - via libtiff library (including alpha channel support).
see <A href="afterimage.html#libAfterImage">libAfterImage</A>/<A href="import.html#ASImageFileTypes">ASImageFileTypes</A> for more.

Supported file types for output :
XPM   - via internal code, or libXpm library.
JPEG  - via libJpeg library.
PNG   - via libPNG library.
GIF   - via libungif library.
TIFF  - via libtiff library (including alpha channel support).

</PRE></LI><LI><p class="refsect_header"><B>OPTIONS</B></p><PRE>   -h --help          display help and exit.
   -f --file file     an XML file to use as input.
   -s --string string an XML string to use as input.
   -n --no-display    don't display the last referenced image.
   -r --root-window   <A href="asfont.html#draw_text()">draw</A> last referenced image image on root window.
   -o --output file   output last referenced image in to a file.
                      You should use -t to specify what file type to
                      use. Filenames are meaningless when it comes to
                      determining what file type to use.
   -t --type type     type of file to output to.
   -c --compress level compression level.
   -v --version       display version and exit.
   -V --verbose       increase verbosity. To increase verbosity level
                      use several of these, like: <A href="asimagexml.html#ascompose">ascompose</A> -V -V -V.
   -D --debug         maximum verbosity - show everything and
                      debug messages.
   -i --include file  include file as input prior to processing main 
                         file.
</PRE></LI><LI><p class="refsect_header"><B>PORTABILITY</B></p><PRE><A href="asimagexml.html#ascompose">ascompose</A> could be used both with and without X window system. It has
been tested on most UNIX flavors on both 32 and 64 bit architecture.
It has also been tested under CYGWIN environment on Windows 95/NT/2000
</PRE></LI><LI><p class="refsect_header"><B>USES</B></p><PRE><A href="afterimage.html#libAfterImage">libAfterImage</A>         all the image manipulation routines.
libAfterBase          Optionally. Misc data handling such as hash
                      tables and console io. Must be used when compiled
                      without X Window support.
libJPEG               JPEG image format support.
libPNG                PNG image format support.
libungif              GIF image format support.
libTIFF               TIFF image format support.
</PRE></LI><LI><p class="refsect_header"><B>AUTHOR</B></p><PRE>Ethan Fisher          &lt;<A href="blender.html#allanon_scanlines()">allanon</A> at crystaltokyo dot com&gt;
Sasha Vasko           &lt;sasha at aftercode dot net&gt;
Eric Kowalski         &lt;eric at beancrock dot net&gt;
</PRE></LI>
<A NAME="libAfterImage/ascompose/sample"><UL><p class="sect_header"><B>libAfterImage/ascompose/sample</B></p></A><LI><p class="refsect_header"><B>EXAMPLE</B></p><PRE>Here is the default script that gets executed by <A href="asimagexml.html#ascompose">ascompose</A>, <A href="asimagexml.html#if">if</A> no
parameters are given :
</PRE></LI><LI><p class="refsect_header"><B>SOURCE</B></p><P class="dense"><div class="container"><PRE>
#<A href="asimagexml.html#if">if</A> 1
static char* default_doc_str = &quot;\
&lt;<A href="asimagexml.html#composite">composite</A> op=<A href="blender.html#hue_scanlines()">hue</A>&gt;\
  &lt;<A href="asimagexml.html#composite">composite</A> op=<A href="blender.html#add_scanlines()">add</A>&gt;\
    &lt;<A href="asimagexml.html#scale">scale</A> width=512 height=proportional&gt;\
        &lt;<A href="asimagexml.html#img">img</A> id=rose src=rose512.jpg/&gt;&lt;/<A href="asimagexml.html#scale">scale</A>&gt;\
    &lt;<A href="asimagexml.html#tile">tile</A> width=512 height=384&gt;&lt;<A href="asimagexml.html#img">img</A> src=back.xpm/&gt;&lt;/<A href="asimagexml.html#tile">tile</A>&gt;\
  &lt;/<A href="asimagexml.html#composite">composite</A>&gt;\
  &lt;<A href="asimagexml.html#tile">tile</A> width=512 height=384&gt;&lt;<A href="asimagexml.html#img">img</A> src=fore.xpm/&gt;&lt;/<A href="asimagexml.html#tile">tile</A>&gt;\
&lt;/<A href="asimagexml.html#composite">composite</A>&gt;\
&lt;<A href="asimagexml.html#printf">printf</A> format=\&quot;original image width=%d\n\&quot; var=\&quot;rose.width\&quot;/&gt;\
&lt;<A href="asimagexml.html#printf">printf</A> format=\&quot;original image height=%d\n\&quot; var=\&quot;rose.height\&quot;/&gt;\
&lt;<A href="asimagexml.html#printf">printf</A> format=\
\&quot;original image size in pixels=%d\n\&quot; val=$rose.width*$rose.height/&gt;&quot;;
#else   
static char* default_doc_str = &quot;\
  &lt;<A href="asimagexml.html#composite">composite</A> op=<A href="blender.html#add_scanlines()">add</A>&gt;\
    &lt;<A href="asimagexml.html#scale">scale</A> width=512 height=proportional&gt;\
        &lt;<A href="asimagexml.html#img">img</A> id=rose src=rose512.jpg/&gt;&lt;/<A href="asimagexml.html#scale">scale</A>&gt;\
    &lt;<A href="asimagexml.html#tile">tile</A> width=512 height=384&gt;&lt;<A href="asimagexml.html#img">img</A> src=back.xpm/&gt;&lt;/<A href="asimagexml.html#tile">tile</A>&gt;\
  &lt;/<A href="asimagexml.html#composite">composite</A>&gt;&quot;;
#endif
</PRE></div><br></p></LI></UL></UL>
<p><A href="preface.html">Preface</A>&nbsp;&nbsp;<A href="visualselect.html">Introduction</A>&nbsp;&nbsp;<A href="index.html">Topic index</A>&nbsp;&nbsp;<A href="Glossary.html">Glossary</A>&nbsp;&nbsp;<A href="#page_top">Back to Top</A>
<hr>
<p><FONT face="Verdana, Arial, Helvetica, sans-serif" size="-2">AfterStep version 2.2.12</a></FONT>
</body>
</html>