Commit Graph

64 Commits

Author SHA1 Message Date
Carsten Haitzler cf0833cfcb fix big endian code :)
SVN revision: 3391
2000-09-11 20:01:26 +00:00
Carsten Haitzler 8b4280d552 dont need -ldb anymore
SVN revision: 3365
2000-09-09 02:33:25 +00:00
Carsten Haitzler d35f3a64d8 no debugging printf
SVN revision: 3318
2000-09-05 01:48:34 +00:00
Carsten Haitzler 2fe8f410e5 db loader/saver needs edb now - much better! :)
SVN revision: 3317
2000-09-05 01:25:01 +00:00
Michael Jennings f16c92658f Miscellaneous fixes I ran across while doing the colormod stuff. One of
which fixes a seg fault bug.


SVN revision: 3243
2000-08-23 05:02:03 +00:00
Michael Jennings 8a042f014f Some silly goose decided that these files should #include Imlib2.h. NONE
of them should include Imlib2.h.  In fact, nothing in the Imlib2 code
should, but if it's absolutely necessary, make sure the local one is found
before the system-wide one.


SVN revision: 2915
2000-07-13 03:45:15 +00:00
Christian Kreibich 00dcd44c89 Bye bye XCF loader. Apparently I stepped on some Gimp people's feet
with it, because of licensing issues. I guess I'll be talking to Raster
next week what we'll do with the loader. Hope this makes us friends
with the Gimp developers again.


SVN revision: 2888
2000-06-25 14:46:38 +00:00
Christian Kreibich 94c4ad783c Ahem. Of course the load fails when you can't open the file :o)
SVN revision: 2853
2000-06-22 11:22:42 +00:00
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
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
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
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 f31a31581d add tga loader - thanks dan :)
SVN revision: 2652
2000-05-15 22:46:36 +00:00
Tom Gilbert 1f9025dd97 Thu Apr 27 13:43:49 GMT 2000
(gilbertt)

Actually, made the gif loader give back what it's got without changing im->h
to reflect, or reallocing the image data. The reason for this is that it
already told apps what the image size was in the first progressive loader
callback, and changing it afterwards can cause confusion. Also, an app can
still handle/display a half-loaded image, as the rest is just filled black,
and the programmer knows how much of the image he got, 'cos he interrupted
it from the callback. If the programmer wants to trim the image, he knows
where to trim it, but if he/she wants to display a part-loaded image,
that'll work sanely.

I think this is more sane behaviour, having tested it in feh and
imlib2_view, but feel free to disagree ;-)


SVN revision: 2561
2000-04-27 12:37:20 +00:00
Tom Gilbert be906e1416 Thu Apr 27 13:41:11 GMT 2000
(gilbertt)

Free up some RAM and close the filehandle when interrupted.


SVN revision: 2560
2000-04-27 12:27:51 +00:00
Tom Gilbert 2aa32f702e Thu Apr 27 04:22:06 GMT 2000
(gilbertt)

Return 2 from interrupted loaders.


SVN revision: 2552
2000-04-27 03:09:22 +00:00
Tom Gilbert 0a7de7daf5 Thu Apr 27 04:00:28 GMT 2000
(gilbertt)

All done except the tiff loader. (Although I may be giving back incomplete
rows on a couple, I have to test more).
The tiff loader is gonna be hard, libtiff is quite broken in many ways ;-)


SVN revision: 2549
2000-04-27 02:53:20 +00:00
Michael Jennings ceec186cb7 Wed Apr 26 19:58:05 PDT 2000
(KainX)

If progress() returns 0, clip the last row and
return 2.


SVN revision: 2548
2000-04-27 02:46:26 +00:00
Tom Gilbert eff825c0ee Thu Apr 27 02:59:57 GMT 2000
(gilbertt)

Changed all the loaders to use ImlibProgressFunction instead of defining it
themselves. This is so I can change them all at once tomorrow.


SVN revision: 2542
2000-04-27 01:48:17 +00:00
Carsten Haitzler 87146f0a33 damn willem! you love playing with imlib2 don;t you? :-) good show :)
SVN revision: 2358
2000-03-28 18:09:46 +00:00
Tom Gilbert 3511852647 Partial loader_tiff rewrite from Eric Dorland. Much nicer :)
SVN revision: 2280
2000-03-18 23:45:46 +00:00
Tom Gilbert b3ee92cc9a Leak plugged. Thanks Eric :)
SVN revision: 2272
2000-03-18 13:07:52 +00:00
Tom Gilbert 131c7e9857 AARGH. Godamn file decriptor leak which has been driving me CRAZY for a
WEEK! Got the BASTARD. DIE!

(what complicated matters was that it only leaked on when it *couldn't* load
the image).

Please note. there is also a filedes leak in the tiff loader, also when it
fails to load. I haven't been able to fix this yet, because libtiff sucks
ass and has totally encapsulated the file descriptor. Lemme work on it
tomorrow...


SVN revision: 2267
2000-03-18 03:37:54 +00:00
Tom Gilbert 1a27dca950 shaddup ;)
SVN revision: 2264
2000-03-18 01:20:55 +00:00
Tom Gilbert 58c86280d4 Shaddup ;)
SVN revision: 2255
2000-03-17 20:54:19 +00:00
Michael Jennings fba6b6a4f8 Murple.
SVN revision: 2211
2000-03-08 20:01:31 +00:00
Michael Jennings 9a8db62f5c BMP loader fix for progressive loading from Chutt.
SVN revision: 2210
2000-03-08 16:20:06 +00:00
Michael Jennings b2e083789a BMP loader from Isaac Richards <ijr@po.cwru.edu>. It currently has issues
with progressive loading, so don't use it with feh. :-)


SVN revision: 2208
2000-03-08 06:08:29 +00:00
Michael Jennings 2685159452 TIFF loader from Eric Dorland <dorland@lords.com>.
SVN revision: 2207
2000-03-08 04:05:01 +00:00
Carsten Haitzler 91b5d536f5 ooops - big eng9ian bug! :)
SVN revision: 2106
2000-02-19 20:10:36 +00:00
Michael Jennings f799a2c925 Put those back. I hate warnings.
SVN revision: 1937
2000-01-17 22:50:07 +00:00
Carsten Haitzler 301458c778 put that back...
SVN revision: 1936
2000-01-17 22:21:02 +00:00
Michael Jennings dc52737c06 Ummm...
SVN revision: 1903
2000-01-11 22:42:06 +00:00
Michael Jennings cd46864984 *grumble*
SVN revision: 1858
2000-01-05 14:29:56 +00:00
Michael Jennings 97db38a997 Don't ask me how this got out of sync....
SVN revision: 1857
2000-01-05 14:28:49 +00:00
Carsten Haitzler 3a0e190876 oops - expand indexed images...
SVN revision: 1856
2000-01-05 12:23:24 +00:00
Carsten Haitzler 79d2919f9f add loader flush call and fix gif loader to be able to load when theres no
progress set :)


SVN revision: 1855
2000-01-05 10:26:39 +00:00
Michael Jennings 638ac80157 Whoops. Forgot to call the progress callback one last time.
SVN revision: 1738
1999-12-22 10:48:30 +00:00
Michael Jennings 544ab144c3 A GIF loader. There is no save function yet, and you'll need libgif to
use it.


SVN revision: 1732
1999-12-21 20:46:41 +00:00
Carsten Haitzler 6b852c1668 fix loaders......
SVN revision: 1688
1999-12-19 23:02:56 +00:00