Commit Graph

99 Commits

Author SHA1 Message Date
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
Carsten Haitzler 0143114f4d create .a's :)
SVN revision: 1657
1999-12-17 15:37:18 +00:00
Carsten Haitzler e64d52318b fix dat.........
SVN revision: 1638
1999-12-16 16:26:34 +00:00
Carsten Haitzler e4d5926978 jpeg loader stays quiet - png loader handles grayscale + alpha images correctly
SVN revision: 1637
1999-12-16 16:24:51 +00:00
Carsten Haitzler 4b69037861 fix a little of the rend code - never testyed that bit...
andf the imlib2_view works nicely iwth zooming too :)


SVN revision: 1145
1999-11-02 13:32:39 +00:00
Carsten Haitzler 3a0b11b007 argb format loader & saver. my own format just so i can load and save raw ARGB
data blindingly fast for imlib2 :)


SVN revision: 1136
1999-11-02 10:16:50 +00:00
Carsten Haitzler 72ed61340b pnm loader can save now...
SVN revision: 1135
1999-11-02 08:25:18 +00:00
Carsten Haitzler 66fc703118 binary png loaders done..plus speculating on the P8 format... dont like it
much... i think ineed a FAST trivial to load ARGB format.


SVN revision: 1133
1999-11-02 00:53:44 +00:00
Carsten Haitzler dba0a3cfcb pnm loader handles binary formats allright... :)
SVN revision: 1132
1999-11-02 00:24:17 +00:00
Carsten Haitzler b5db7a81c2 hmm that didnt compile.. ooh fun :)
SVN revision: 1122
1999-11-01 20:50:16 +00:00
Carsten Haitzler 44e446078e oops makefile......
SVN revision: 1118
1999-11-01 18:46:23 +00:00
Carsten Haitzler 0061ac78ef starting on pnm loader (ppm, pgm pbm, pam) - will finish later...
SVN revision: 1117
1999-11-01 18:45:29 +00:00
Carsten Haitzler 665151aff4 handle progress callback for saving in png loader..
SVN revision: 1114
1999-11-01 18:10:30 +00:00
Carsten Haitzler 18502ab692 add ignores......
SVN revision: 1112
1999-11-01 18:06:33 +00:00
Carsten Haitzler 942f4219e8 re-structure......
SVN revision: 1107
1999-11-01 17:40:51 +00:00