Go to file
Carsten Haitzler bcbd64b680 eeek math error at 255 (becomes 254) not surprising i didnt notice.. i
looked at the results rsather than numerically evaluating...


SVN revision: 1088
1999-10-31 22:50:06 +00:00
libltdl Sun Oct 31 20:21:13 PST 1999 1999-10-31 19:45:22 +00:00
test_images better api.h 1999-10-28 23:04:27 +00:00
ttfonts remove some more useless fonts 1999-09-28 00:33:23 +00:00
.cvsignore more "hush yo mouf cvs" changes 1999-10-28 13:11:27 +00:00
COPYING fixed minor bug in png loader.... added copying file :) 1999-08-02 22:50:36 +00:00
ChangeLog Sun Oct 31 20:21:13 PST 1999 1999-10-31 19:45:22 +00:00
Makefile.am work work work... 1999-10-25 16:36:24 +00:00
README ooh now imlib2 has a sexy demo for you people :) mmmmm watch the alpha 1999-09-13 01:56:57 +00:00
api.c LOTS of checkign in the api now to make sure the calling program can't stuff 1999-10-28 15:26:19 +00:00
api.h better api.h 1999-10-28 23:04:27 +00:00
autogen.sh update autogen.sh 1999-09-19 21:57:37 +00:00
blend.c eeek math error at 255 (becomes 254) not surprising i didnt notice.. i 1999-10-31 22:50:06 +00:00
blend.h color modifiers in imlib2 now done.. cleaned up soem code... 1999-10-21 17:07:21 +00:00
color.c dont chose visuals > 24bit :) 1999-10-28 10:40:01 +00:00
color.h dont need that fixme.. 1999-10-29 10:39:09 +00:00
colormod.c color modifiers in imlib2 now done.. cleaned up soem code... 1999-10-21 17:07:21 +00:00
colormod.h color modifiers in imlib2 now done.. cleaned up soem code... 1999-10-21 17:07:21 +00:00
common.h color modifiers in imlib2 now done.. cleaned up soem code... 1999-10-21 17:07:21 +00:00
configure.in let autoconf figure out our endianess 1999-09-19 21:53:58 +00:00
context.c get rid of printfs i dont need no more :) 1999-09-13 05:34:50 +00:00
context.h flim! :) 1999-08-23 16:55:16 +00:00
draw.c more flim 1999-10-25 23:30:01 +00:00
draw.h adding color modifier api backend stuff.... :) 1999-08-28 18:18:29 +00:00
file.c cleaned up code a bit... :) minor speedup for sparse (lost of transparent 1999-09-19 06:28:54 +00:00
file.h Fri Oct 22 10:53:26 PDT 1999 1999-10-22 11:19:11 +00:00
font.c Fri Oct 22 10:53:26 PDT 1999 1999-10-22 11:19:11 +00:00
font.h color modifiers in imlib2 now done.. cleaned up soem code... 1999-10-21 17:07:21 +00:00
format.c add some files... 1999-09-27 04:33:58 +00:00
format.h add some files... 1999-09-27 04:33:58 +00:00
grab.c LOTS of checkign in the api now to make sure the calling program can't stuff 1999-10-28 15:26:19 +00:00
grab.h lots more work on mr imlib2 :) 1999-09-08 17:27:40 +00:00
grad.c nice FAST gradient drawing code.... :) eat my dast... MUHAHAHAHAHHA! :) 1999-10-27 14:08:28 +00:00
grad.h nice FAST gradient drawing code.... :) eat my dast... MUHAHAHAHAHHA! :) 1999-10-27 14:08:28 +00:00
image.c more flim 1999-10-25 23:30:01 +00:00
image.h more flim code..... >8) 1999-10-25 23:30:45 +00:00
loader_jpeg.c Fri Oct 22 10:53:26 PDT 1999 1999-10-22 11:19:11 +00:00
loader_png.c try this.. 1999-10-30 11:54:01 +00:00
main.c speed testing code back.. just testing... 1999-10-30 11:22:48 +00:00
rend.c color modifiers in imlib2 now done.. cleaned up soem code... 1999-10-21 17:07:21 +00:00
rend.h add operation type to blend ops.. :) 1999-09-14 04:21:29 +00:00
rgba.c removed a warning 1999-10-31 19:50:50 +00:00
rgba.h flim! :) 1999-08-23 16:55:16 +00:00
rgbadraw.c oooooooooops - thanks hans! :) 1999-10-29 09:11:58 +00:00
rgbadraw.h work work work... 1999-10-25 16:36:24 +00:00
scale.c cleaned up code a bit... :) minor speedup for sparse (lost of transparent 1999-09-19 06:28:54 +00:00
scale.h adding the start of an actual aip layer... if you have any comments about 1999-08-04 23:36:07 +00:00
updates.c fix ups some toehr stuff... 1999-09-28 18:51:07 +00:00
updates.h fix ups some toehr stuff... 1999-09-28 18:51:07 +00:00
ximage.c color modifiers in imlib2 now done.. cleaned up soem code... 1999-10-21 17:07:21 +00:00
ximage.h adding the start of an actual aip layer... if you have any comments about 1999-08-04 23:36:07 +00:00

README

Imlib 2.0 pre pre pre pre alpha toy code...

the wuick way:
./configure
mkdir ~/.loaders
mkdir ~/.loaders/image
make install
(ignore the make failed error - thats fine)
./imlib2

you'll get a window up with a big bg and little igns in an array - they
follow your mouse around..

notice....
alpha-blended shadow on top & leftof window
notice soft shadows under icons
notice the speed :)
notice that imlib si actually re-loadng ALL of these images continuously
from disk (just alook at the code) (well ok not the bg one) - the image
caching works and is taken full advantage of .. its also delayed loading -
it'll only decode the data to images you need :)

WARNING!

this isn't even a library yet - it's a single program thats modularised to
become a librayr once it's all debugged.

what you DO have here is:

color allocation & adjustment code  - if in 8bbp or less it will cose the
larges colorcube it can that fits in your available colormap space - right
now the code uses the default colormap, but if you look at color.c carefully
you'll see the code will not be hard to change (have prefercnes as to size
of colorcube etc.)

does alpha blending onto any X drawable with any colormap.
does ``high quality'' rendering with dithering available for all modes up to
16bpp (1bpp, 8bpp, 15bpp, 16bpp).

probably has nasty endianess problems.

has VERY VERY VERY fast rendering code.
has anti-aliased scaling up and down code.

has a modularised loader system (works right now - but still possible
changes might have to be made)
simple to get this going:
mkdir ~/.loaders
mkdir ~/.loaders/image
cp png.so ~/.loaders/image
cp jepg.so ~/.loaders/image

you just installed the png loader - it's theonly one i've written and it
isnt very good (comments in code - load.c) but it works.
you also installed the jpage loader :)

the laoder system automagically updates yhe loaders were you to dump new
files there or overwrite the old ones to any program RUNTIME will pick up
the new code.. :) you dont even have to restart the program.. OOH what joy :)
the image caching is all there and the pixmap caching backend is there too.
there is nothign to generate pixmaps yet - that has yet to come (it will use
the rendering code in rend.c).

things that still need to be worked on:
* colormodifiers (to do gamma etc. correction - need to develop a new system
wherby i can uniquely tag pixmaps with a colormodifier ID for caching
properly).
* border scaling - you know - like E does now for buttons etc.
* saving functions
* image manipulation funcitons (flip, rotate, scale etc of original data)
* a new name for imlib2.0 - 2.0 just sounds boring :)
* more loader / saver modules for ppm, pgm, pgm, xpm, tiff etc...
* RGBA drawing area - basically a RGBA buffer with RGBA buffer ops written
(copyarea, poasteimage, fillrect, drawline, drawtext etc. so you can have a
little virtual RGBA framebuffer - also will include rectangle os ineterst
updating mechanism (so anly the parts of the RGBA buffer that were drawn to
are drawn and updated to the scren).
* more flim!