If you use this extension, can you drop me an email to let me know. It's kinda nice
to have a sort of scrapbook to see where something you've done is being used, and in
how many countries. Cheers. 

-- 
Gareth Ardron <gareth@fotopic.net>


This file contains scratch stuff while working on this ext
----------------------------------------------------------

php foo:

To use your new extension BUILT IN to php, you will have to execute the following steps:

1.  $ cd ..
2.  $ vi ext/imlib/config.m4
2b. <you may need to run aclocal here>
3.  $ ./buildconf
4.  $ ./configure --with-imlib2
5.  $ make
6.  $ ./php -f ext/imlib/imlib.php
7.  $ vi ext/imlib/imlib.c
8.  $ make

Repeat steps 3-6 until you are satisfied with ext/imlib/config.m4 and
step 6 confirms that your module is compiled into PHP. Then, start writing
code and repeat the last two steps as often as necessary.
This is just because we haven't got it stable. It'll be simplier eventually.
Incidently, if anybody happens to get the thing working direct into php5, could they
drop me (gareth@fotopic.net) an email and let me know. I've been swearing at it for some time.

it should definatly work as an extension though:
tar -zxvf php-imlib2.<release>.tar.gz
cd php-imlib2
phpize
./configure
make
make install
(or cp modules/imlib2.so <extension directory in php.ini> for the paranoid amongst you)

-----

stuff we use at fotopic:

imlib2_load_image
imlib2_image_orientate
imlib2_image_get_width
imlib2_image_get_height
imlib2_create_scaled_image
imlib2_load_font
imlib2_free_font
imlib2_image_fill_rectangle
imlib2_image_draw_rectangle
imlib2_text_draw
imlib2_image_format
imlib2_image_set_format
imlib2_dump_image
imlib2_save_image
imlib2_blend_image_onto_image

-----
$Id: readme.txt,v 1.5 2004/09/20 17:09:48 joel Exp $

