File: index.php

package info (click to toggle)
php-imlib 0.7-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,020 kB
  • ctags: 817
  • sloc: php: 2,464; ansic: 1,324; xml: 94; makefile: 67; sh: 12
file content (110 lines) | stat: -rw-r--r-- 5,349 bytes parent folder | download | duplicates (4)
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
<? $page = 1; include './header.inc' ?>
<p>
This extension, as one might expect, provides access to
<a href="http://www.us.rasterman.com">Rasterman</a>'s excellent image
library, <a href="http://www.us.rasterman.com/imlib.html">Imlib2</a>.  The
extension is coming together fairly well, with probably four fifths of the
Imlib2 API ported which I've been aiming for (There are parts of Imlib2 used
specifically for X applications, which of course, we don't need in a PHP
extension).  See the <a href="about.php">About</a> and
<a href="documentation.php">Documentation</a> sections for more information
on the extension.
</p>
<p>Here's a brief list of what php_imlib does so far:<ul>
<li>Loading, saving, and writing to stdout of jpegs and png's (And other
    non-web-relevant formats)
<li>Image modifications: Cropping, scaling, blending, flipping, rotating,
    seamless tiling, blurring, sharpening
<li>Drawing primitives (rectangles, lines, ellipses, n-point polygons)
    including support for a clipping rectangle
<li>Text drawing with TTF fonts
<li>Color ranges (gradients)
</ul>
</p>
<p>You can find php_imlib <a href="http://mmcc.cx/php_imlib/php_imlib-0.3.tar.gz">here</a>.
See the <a href="downloads.php">Downloads</a> section for requirements
information.</p>
<u>News</u>
<br>
<table border="0" style="padding: 4px" cellspacing="0">
	<tr>
		<td class="d-dark">
			January 10, 2001
		</td>
		<td class="d-cell">
			<b>Version 0.3</b>
			<br>
			It's probably been a bit more than "the next few days" to some folks,			but the holidays are funny that way, I suppose.  Anyway, 0.3 is done			and ready for use, judgement, and criticism.  The announcement is&nbsp;<a href="http://www.phpbuilder.com/mail/php-general/2001011/1528.php">here</a>,			and the tarball is&nbsp;<a href="http://mmcc.cx/php_imlib/php_imlib-0.3.tar.gz">here</a>.			Fair warning about the color range support: In the course of adding			it, I noticed a bug in Imlib2 1.0.0, which causes&nbsp;<a href="documentation.php#imlib_image_fill_color_range_rectangle">imlib_image_fill_color_range_rectangle</a>			to segfault if you call it before adding at least two colors to the			color range.  So, don't do that.
		</td>
	</tr>
	<tr>
		<td class="d-dark">
			December 23, 2000
		</td>
		<td class="d-cell">
			<b>Upcoming release</b>
			<br>
			With the release of PHP 4.0.4, a modest API change was made which will break			php_imlib&nbsp;&lt;= 0.2. So, in the next few days we'll be seeing version 0.3 come out to fix			this, and to add a modest few features. For now it looks like the new features will be color			range (gradient) support and image compression/quality setting. On the bugfix front, there's			also a somewhat significant fix to imlib_blend_image_onto_image, which doesn't behave correctly			in prior releases when blending images with alpha channels.
		</td>
	</tr>
	<tr>
		<td class="d-dark">
			November 1, 2000
		</td>
		<td class="d-cell">
			<b>Version 0.2</b>
			<br>
			Well, I'm releasing 0.2 with two days to spare on my "one or two weeks" time estimate.			Briefly, this release adds all the drawing stuff mentioned below, image rotation, flipping,			tiling, a much better set of PHP classes, and no Xlib requirement.
		</td>
	</tr>
	<tr>
		<td class="d-dark">
			October 20, 2000
		</td>
		<td class="d-cell">
			<b>More Updates</b>
			<br>
			All drawing functions now obey an optional clipping rectangle that			can restrict how much of the image they can draw on.  Pretty slick.  On			the PHP side, the class files are coming out nicely, here's one of the&nbsp;<a href="./class.ImlibImage.txt">class files</a>, and some&nbsp;<a href="./imlibtest.txt">example code</a> that uses most of the			functionality currently in place.&nbsp;<a href="mailto:cardinal at dodds.net">Feedback</a> on this is			especially encouraged.<br><br>There's not much left to do before releasing 0.2, probably in			one or two weeks.  Most of the work at this point is documentation,			some examples, etc.
		</td>
	</tr>
	<tr>
		<td class="d-dark">
			October 16, 2000
		</td>
		<td class="d-cell">
			<b>Imlib2 1.0.0 Released</b>
			<br>
			Well, the first stable release of Imlib2 has been sent out.			php_imlib 0.2 will require it, since it fixes several important bugs,			and adds some drawing functions.
		</td>
	</tr>
	<tr>
		<td class="d-dark">
			October 15, 2000
		</td>
		<td class="d-cell">
			<b>Imlib2 sans Xlib</b>
			<br>
			Raster recently accepted a patch from our own Steve Langasek which			removes the dependency of Xlib from Imlib2.  In other news, I added			polygon drawing and cliprect support, so all in all it was a good wekend.
		</td>
	</tr>
	<tr>
		<td class="d-dark">
			October 9, 2000
		</td>
		<td class="d-cell">
			<b>Development Update</b>
			<br>
			Just a quick update on where things are heading, I've added the			drawing routines and flip/tile stuff.  So, there's two things off my			todo list.  Polygons will be in by next week.  After that, it's going			to be mostly PHP-side coding, getting some good class files fleshed			out that should make development nice and clean.
		</td>
	</tr>
	<tr>
		<td class="d-dark">
			October 5, 2000
		</td>
		<td class="d-cell">
			<b>Version 0.1</b>
			<br>
			First public release of php_imlib, with image loading/saving,			cropping, scaling, and text drawing implemented.
		</td>
	</tr>
</table>