Commit Graph

46 Commits (4d18029ae9a2a1ce4184ec82e1a4ec68c9707c86)

Author SHA1 Message Date
Joe Groff b1c557a825 io.streams.throwing: rename throws-on-eof -> stream-throw-on-eof and input-throws-on-eof -> throw-on-eof and change stream-throw-on-eof to leave the rigged stream on the stack, to better follow convention of other io words 2010-07-09 18:10:51 -07:00
Joe Groff 9a2dd6a96c images.loader and friends: push throws-on-eof down to the loaders that want it 2010-07-09 14:20:32 -07:00
Slava Pestov 74a4c33423 Remove 'prettyprint' from a few USING: forms 2010-05-04 02:34:37 -05:00
Slava Pestov 0612bc6177 Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Keith Lazuka f56320b142 images.testing: switched from PAM reference image to Factor serialized image (.fig) 2009-10-09 15:58:35 -04:00
Doug Coleman cfdaaec068 move verbose-tests? out of private, change decode-test word to set the verbose mode itself, use images.pam in images test vocabs 2009-10-02 16:20:33 -05:00
Keith Lazuka 31e34acc01 images: consolidated test suite for image decoders 2009-09-30 17:01:09 -04:00
Slava Pestov 17b52314dc Merge branch 'gif' of git://github.com/klazuka/factor 2009-09-30 05:15:21 -05:00
Doug Coleman 8755f0bba0 fix a stack effect 2009-09-28 15:59:02 -05:00
Joe Groff 5054c954be add USING:s and rearrange definitions so macosx can compile without parsing c-type strings 2009-09-26 23:14:57 -05:00
Keith Lazuka 8dec2070e5 compression.lzw: supports both TIFF and GIF 2009-09-25 16:51:47 -04:00
Keith Lazuka 64c93d873f lzw: integrating with gif and tiff 2009-09-25 15:12:44 -04:00
Slava Pestov 7f2e2b1777 Specialized array overhaul
- Replace hand-written specialized-arrays.* subvocabularies with new system; instead of USE:ing specialized-arrays.T, do SPECIALIZED-ARRAY: T
- Ditto for specialized-vectors; use SPECIALIZED-VECTOR:
- io.mmap.functor: removed entirely, use <mapped-array> instead
- struct-arrays and struct-vectors have been removed because specialized arrays and vectors subsume them entirely
2009-09-09 22:33:34 -05:00
Doug Coleman bdb95d7fc3 remove debug, fix bootstrap 2009-08-26 14:45:02 -05:00
Doug Coleman 974266c9d5 support loading images from streams, add load-http-image 2009-08-26 14:27:01 -05:00
Joe Groff ac3ec67c6a separate component format from component order in image objects 2009-06-22 11:20:54 -05:00
Slava Pestov b18c84454b Move constructors vocabulary to extra and refactor basis code not to use it 2009-06-13 18:47:19 -05:00
Doug Coleman ae034f1f09 use concat-as 2009-06-10 16:01:46 -04:00
Doug Coleman 0fd46ac59d dont use boa constructor in tiff 2009-06-10 15:52:55 -04:00
Doug Coleman 60a0170e38 renamd parsed-tiff to loading-tiff 2009-06-04 16:17:26 -05:00
Doug Coleman a3f0c6c057 use singletons instead of subclassing the image class 2009-06-04 16:09:38 -05:00
Daniel Ehrenberg ba5b582e01 Redoing images.loader to work with jpeg 2009-06-02 20:39:51 -05:00
Doug Coleman 8e8623aef0 throw more errors on tiff if formats are unsupported 2009-05-05 22:58:38 -05:00
Doug Coleman 5279bb0efc change L to LA for grayscale tiffs 2009-04-09 10:46:43 -05:00
Doug Coleman 1551eacfa2 add support for tiff grayscale images 2009-04-09 10:44:50 -05:00
Doug Coleman 8eea41b537 normalizing alpha data for tiffs is done too often, check in test image for it 2009-03-16 07:11:56 -05:00
Slava Pestov ff3c5b28bd Move normalize-scanline-order implementation from images.bitmap to images
Add upside-down? slot to image tuple
Update cap for recent changes
2009-03-10 16:35:47 -05:00
Doug Coleman 7a3c086178 remove ?at from db.types, images.tiff 2009-02-22 17:14:46 -06:00
Slava Pestov 6b25e99470 Add summary for heaps more vocabs 2009-02-16 21:05:13 -06:00
Doug Coleman 5ef7afcbb3 refactor tiff loading a bit, identify lots of ifd header tags 2009-02-15 10:42:36 -06:00
Doug Coleman 3df5422151 add support for parsing all baseline tiff tags, fix loading a tiff that used to work 2009-02-15 09:13:53 -06:00
Doug Coleman 5741aa198e not all images have associated alpha data... oops 2009-02-14 19:28:00 -06:00
Doug Coleman 47a2f42c9f handle associated alpha data in tiffs 2009-02-14 19:24:42 -06:00
Doug Coleman b4e7592ba3 support predictors 2009-02-14 00:30:59 -06:00
Doug Coleman 001a3eb8f1 Merge branch 'master' of git://factorcode.org/git/factor 2009-02-13 15:48:17 -06:00
Doug Coleman 813b0cb803 get the byte ordering correct for tiffs 2009-02-13 15:46:36 -06:00
Doug Coleman 0ce47f84c6 use decode instead of >string in images.tiff 2009-02-13 15:14:09 -06:00
Doug Coleman 1424380e5b x/y resolution should be a scalar 2009-02-13 13:04:14 -06:00
Doug Coleman bd17f14929 drawing 96bpp images works, add lots of previously unknown ifd fields 2009-02-13 12:12:08 -06:00
Doug Coleman 3fb733b53c add 48bpp mode to tiff 2009-02-13 10:16:58 -06:00
Doug Coleman 753cfcfd05 support .tif, start 96 bpp 2009-02-13 09:56:22 -06:00
Doug Coleman 6ffe298189 support lzw uncompression in images.tiff 2009-02-12 17:44:15 -06:00
Slava Pestov cf9e7d1e75 Add byte-order slot to image tuple; rename <image> to load-image, add <image> for making images from scratch 2009-02-12 04:25:33 -06:00
Slava Pestov 7361bb90fa images: fix load errors 2009-02-12 02:41:47 -06:00
Slava Pestov 2220515947 Re-organize images and images.backend into images and images.loader 2009-02-12 02:41:37 -06:00
Slava Pestov 6ae2694f51 Move images vocab, and constructors (which it depends on) to basis 2009-02-11 05:01:04 -06:00