Commit Graph

355 Commits

Author SHA1 Message Date
Christian Kreibich e9746c22f2 I don't know if the loader has endianness issues
(I guess it does), but this should definitely
work better.


SVN revision: 2848
2000-06-21 16:36:40 +00:00
Christian Kreibich af590f9221 An XCF loader. Currently it can handle layers, layer offsets, layer
opacity, layer masks, and merging layers in the default mode
(simply "looking" through all the layers). The other layer modes
are missing right now (I hardly ever use anything other than "Normal"
anyway, but that's just me of course).

If you load an image as /path/to/file:<layer number> only the
specified layer is displayed, at the defined offset in the image.
Try this with imlib2_view since it ignores file loading errors.
Passing parameters to the loader will have to be handled better
(or did I miss someting?) but the loader can basically return
layers selectively.


SVN revision: 2847
2000-06-21 14:23:18 +00:00
Carsten Haitzler 8ae5e31dd9 patch to fix loader to handle non line-feed header pnm's :) and ascii too.
SVN revision: 2783
2000-06-15 15:34:19 +00:00
Carsten Haitzler a489b0932c fix endianess problem with loader
SVN revision: 2777
2000-06-12 06:39:20 +00:00
Chris Ross 2f28988bc4 Argh.
SVN revision: 2758
2000-06-06 11:03:14 +00:00
Chris Ross 1315abe956 Be quiet.
SVN revision: 2757
2000-06-06 11:00:46 +00:00
Carsten Haitzler 15a14bb4c1 oooooooh look at that.. it now supports compressed image data in the db
SVN revision: 2756
2000-06-05 23:59:20 +00:00
Carsten Haitzler 73068c1e54 IT WORKS! :)
SVN revision: 2755
2000-06-05 22:28:18 +00:00
Carsten Haitzler 03443b4e9e shoudl in theory handle locks better....
SVN revision: 2754
2000-06-05 18:19:37 +00:00
Carsten Haitzler 102fa5c645 loader that loads and saves images from a dbm database.... :)
SVN revision: 2753
2000-06-05 03:15:56 +00:00
Chris Ross 426b37c2bd Moving over to the new home in the efm module.
SVN revision: 2742
2000-06-01 16:36:41 +00:00
Carsten Haitzler 50d5d7dc8c disable others.......
SVN revision: 2738
2000-05-31 06:23:40 +00:00
Carsten Haitzler f4f6d6ee47 turn off bump mappign for now..
SVN revision: 2737
2000-05-31 06:21:52 +00:00
Chris Ross d1fd5a3806 New pic. Got bored with the last one =).
SVN revision: 2732
2000-05-30 23:52:19 +00:00
Chris Ross f4eaa25fa7 Start of a filter test app, and applied Willem's patch for imlib2. thanks
Willem.


SVN revision: 2731
2000-05-30 22:10:01 +00:00
Chris Ross 7e456edad8 blum.
SVN revision: 2727
2000-05-29 15:46:36 +00:00
Chris Ross 1cf642a3f2 blum. fixed "error" on first install type bug in the dox tree.
SVN revision: 2726
2000-05-29 15:41:00 +00:00
Michael Jennings 81a8709050 It's always a good idea to "make distcheck" before you commit when you add
or remove files. :-)

I fixed that.  I also fixed a bug in filter_test that would have been
revealed by the proper warnings flags.  So whoever wrote that wins the
raster boobie prize for allowing a non-void function to return without a
value.

I also made the spec file auto-generated.


SVN revision: 2719
2000-05-28 16:57:22 +00:00
Chris Ross 32616cd45d blu7m.
SVN revision: 2718
2000-05-28 16:04:43 +00:00
Chris Ross 5c5e842517 More changes. Still doesn't do anything.
SVN revision: 2717
2000-05-28 15:33:58 +00:00
Chris Ross 28b3445f1a Ok, some more clean ups to the filter stuff, should have some new filters to
play with soon - want to get the stuff correct before I commit some more
stuff. dox is the start of dox2 the document viewer based on imlib2. Designed
so that the style of the docs is seperate from the contents. Will evolve
rapdily over the next week.


SVN revision: 2716
2000-05-28 15:17:38 +00:00
Tom Gilbert 8deb1b493e Default x,y to 0 and w, h to image dimensions, so if you don't specify, the
filter applies to the whole image.


SVN revision: 2715
2000-05-28 11:17:27 +00:00
Tom Gilbert 180e91cc1d SHUT YOUR HOLE CVS BITCH!
SVN revision: 2691
2000-05-22 17:26:11 +00:00
Chris Ross e67e249949 Clean up of code, all macros for filter_param -> real varaible are put in
script.h. Changed filters to reflect this change, and actually plan on writing
some more macors and filters soon.


SVN revision: 2689
2000-05-22 11:41:40 +00:00
Chris Ross 2588c903da * forgot to mention that i've added an option to test/imlib2
-bmp2pt add this too it's command line and it'll bump map to where the
           cursor is.

  otherwise you will just get bump mapping from an infinite dist lightsource


SVN revision: 2687
2000-05-22 03:25:24 +00:00
Chris Ross bd5836823e * rewrite of the script parser, basically you can now parser a filter as a
variable to another filter as willem requested the other day.
  eg.
    filter( var=anotherfilter( var=13,var=30 ), var=blum );

  youcan have as manylevels of filters as you want.

* parser should be quicker, no need to add "NULL" to the end of a
  imlib_apply_filter() command.

* some more funky filters should be added soon, at 4.45am i decided to leave
  that job till t/m.


SVN revision: 2686
2000-05-22 03:23:03 +00:00
Chris Ross 431278a13c Added Willem patch for the bump map filter, now does proper bump mapping from
an infinet light source. Needs to be optimsed further - lookup tables or
some such..... thats for another day.


SVN revision: 2683
2000-05-21 19:20:53 +00:00
Chris Ross 0a32e88438 Gah, turn off debug mode, and comment out necessary blurb...
SVN revision: 2678
2000-05-21 00:21:58 +00:00
Chris Ross c200ced976 * modifed the script engine, instead of three passes i've nobbled it down to
one, this means the bump_mapped pr0n will now render a coupla degree's faster
 (gilbertt this is for you, and those pictures of pabs' mom)
* Update Imlib2.h and api.c to reflect changes

ps. on the road to the next gen script interpreter


SVN revision: 2677
2000-05-21 00:04:39 +00:00
Chris Ross b6409d23fa One fricken character. Freetype 1.2, not 1.1
SVN revision: 2676
2000-05-20 23:10:38 +00:00
Chris Ross f4b4a3feb6 * Stuff from term, fixes some rpm build issues with imlib_view
SVN revision: 2675
2000-05-20 23:01:11 +00:00
Chris Ross 2e5728f366 * Changed some of the methods to stop furutre name conflicts
* Added Willems patch for bump mapping -very vey cool, check out
  test/imllib2
* Died due to excess excitement over bump mapping


SVN revision: 2674
2000-05-20 22:33:14 +00:00
Carsten Haitzler caa073ee7b bowis's filter stuff... :)
SVN revision: 2673
2000-05-20 17:37:00 +00:00
Carsten Haitzler e28f0b22e3 fix tga loader....... :)
SVN revision: 2670
2000-05-19 17:36:48 +00:00
Carsten Haitzler 7ccc965fcb add headre checking.....
SVN revision: 2669
2000-05-19 16:41:38 +00:00
Carsten Haitzler ef82633774 oosp parse better :)
SVN revision: 2668
2000-05-19 05:53:24 +00:00
Carsten Haitzler 74d92aade5 got rid of X calls in loader - no XParseColor
SVN revision: 2667
2000-05-19 05:45:02 +00:00
Carsten Haitzler 589473593b oops - forgot to commit that :)
SVN revision: 2656
2000-05-16 18:17:48 +00:00
Christian Kreibich d96e92ae91 4:31 am. Oh my.
SVN revision: 2655
2000-05-16 02:11:25 +00:00
Christian Kreibich 3e6c0a5018 Raster,
here's my humble attempt of an xpm loader, based on Imlib1 code. Seems
to work fine on the xpms I found on my box. I'm not sure if the
progressive stuff is feasible, though :o) ...


SVN revision: 2654
2000-05-16 02:10:38 +00:00
Carsten Haitzler 74af24a8ed OS2 pacthes make imlib2 build on os/2 apparently :)
SVN revision: 2653
2000-05-15 23:18:35 +00:00
Carsten Haitzler f31a31581d add tga loader - thanks dan :)
SVN revision: 2652
2000-05-15 22:46:36 +00:00
Carsten Haitzler 9e55f36473 gawwwwwwwwwd - oops th = h not th = w; :)
SVN revision: 2649
2000-05-14 19:15:51 +00:00
Carsten Haitzler 00c6064e79 use willems math... :)
SVN revision: 2632
2000-05-12 19:15:03 +00:00
Carsten Haitzler 095afe1c6c spec file up...
SVN revision: 2628
2000-05-12 01:19:32 +00:00
Carsten Haitzler dd38114d7f up to 0.0.5
SVN revision: 2627
2000-05-12 01:19:06 +00:00
Carsten Haitzler e55dc05d0b blend.c - RGBA destination works -and its optimized.. just a lookup..
SVN revision: 2626
2000-05-12 01:16:42 +00:00
Mandrake 53a383bf4b heh. not actually using configure option for mmx disabling correctly
SVN revision: 2624
2000-05-11 19:24:32 +00:00
Carsten Haitzler cce0e519cf the RIGHT math for RGBA->RGBA ops... :) not optmized at all tho :)
SVN revision: 2623
2000-05-11 07:25:18 +00:00
Carsten Haitzler 91416b3c2f get rid of unused flsuh func, cleanup rects properly for case of 1 rect
SVN revision: 2617
2000-05-09 18:30:52 +00:00