Commit Graph

164 Commits (276db71ecd5b8aff397940d1fcfeca53dbce99e0)

Author SHA1 Message Date
erikc 6a18dec566 Had the color order for TGA backwards 2010-02-05 15:32:38 -08:00
erikc 0770b940b0 Merge up 2010-01-30 20:48:06 -08:00
Joe Groff 54e0221de5 images: extend pixel-at/set-pixel-at with versions that select/replace rows of pixels 2010-01-29 16:30:34 -08:00
Erik Charlebois 1c8b4f08a4 Merge branch 'master' of git://github.com/slavapestov/factor 2010-01-29 15:57:31 -08:00
Doug Coleman 9a8bd26786 Remove an iota from images.jpeg 2010-01-28 23:13:28 -06:00
erikc 66aaebe08d Targa image file loading and saving for RGB and ARGB uncompressed images 2010-01-25 16:38:04 -08:00
Doug Coleman 8c1d202b4c Rename accumulator to collector, pusher to selector 2010-01-22 15:00:53 -06:00
Slava Pestov ad6d8556e0 Change [0,b) usages to iota 2010-01-15 08:05:50 +13:00
Doug Coleman f7f67c57a3 use clamp 2010-01-14 11:18:10 -06:00
Doug Coleman 2ca0375dee fix png loading 2009-12-30 14:58:50 -06:00
Slava Pestov 0612bc6177 Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Slava Pestov ffd7de02d6 Update a few places that used string C type names to use words; fixes some deploy tests 2009-11-20 03:21:48 -06:00
Doug Coleman b71d86a1dc update more 8bit encoding usages 2009-11-12 18:36:47 -06:00
Doug Coleman 7e66f0beaf fix display issue with png files where height not a multiple of 4 2009-11-06 00:43:59 -06:00
Joe Groff 61d579360d remove non-primitive-related uses of tuck from basis 2009-11-05 17:03:24 -06:00
Joe Groff fa6d7b7069 eliminate spin from basis 2009-11-05 14:05:06 -06:00
Slava Pestov 8b8b9031fd Move a few libraries from extra to basis since basis stuff depends on them 2009-11-01 22:17:00 -06:00
Doug Coleman 7730272f2f fix using for normalize-path 2009-10-28 20:17:46 -05:00
Doug Coleman e376a0ece2 (normalize-path) -> absolute-path, canonicalize-path -> resolve-symlinks 2009-10-28 17:25:50 -05:00
Slava Pestov 08e7d25dc5 change-each -> map!, deep-change-each -> deep-map! 2009-10-27 22:32:56 -05:00
Slava Pestov 102af9badb specialized-arrays, specialized-vectors: fix potential problem if two vocabularies define different C types with the same name 2009-10-19 04:41:53 -05:00
Keith Lazuka 5429b2132a images.normalization: reorder-components should fail if component-order is not a representation of its layout 2009-10-09 15:58:36 -04:00
Keith Lazuka bbb742509a images.bitmap: fixed unit-test dependency 2009-10-09 15:58:36 -04:00
Keith Lazuka 17c1713ebb images.testing: added documentation 2009-10-09 15:58:36 -04:00
Keith Lazuka dc8fe077c1 images.png: added PngSuite test image files 2009-10-09 15:58:35 -04:00
Keith Lazuka f56320b142 images.testing: switched from PAM reference image to Factor serialized image (.fig) 2009-10-09 15:58:35 -04:00
Keith Lazuka 3a13c59da2 images.bitmap: respect upside-down? flag when encoding 2009-10-09 15:58:35 -04:00
Keith Lazuka 6ce12ed342 images.bitmap: now conforms to image encode protocol. images.normalization: added several component-order shuffle words 2009-10-09 15:58:34 -04:00
Doug Coleman 5ee547e227 refactor images.png logic for adam7. implement adam7 2009-10-09 11:22:54 -05:00
Doug Coleman 4a8be006f0 extra error checking in images.png 2009-10-09 01:25:20 -05:00
Doug Coleman 8556476b76 handle indexed color pngs 2009-10-08 20:55:53 -05:00
Doug Coleman 796b1c8977 fix byte swapping on greyscale-alpha 2009-10-08 20:37:00 -05:00
Doug Coleman fd4c6b73bb ushort pngs are byte-reversed from how i'm reading them -- fixed. 2009-10-08 20:33:15 -05:00
Doug Coleman 2945393965 dont scale 8,16 bit greyscale pngs. greyscale-alpha pngs are 8,16 bit already, so don't scale them either. 2009-10-08 19:37:14 -05:00
Doug Coleman 77f968fad6 load greyscale png images, refactor some code 2009-10-08 18:18:33 -05:00
Doug Coleman 7403bcef0c make pngs read scanlines in terms of bits instead of bytes 2009-10-08 16:58:24 -05:00
Doug Coleman 8dff4776c6 handle ushort-component pngs, throw errors on adam7 interlaced pngs for now 2009-10-06 00:33:29 -05: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
Doug Coleman 1310aff3d8 fix bitmap tests path 2009-10-02 15:54:39 -05:00
Keith Lazuka 31e34acc01 images: consolidated test suite for image decoders 2009-09-30 17:01:09 -04:00
Keith Lazuka 7484bb73ae images.gif: unit tests now use a PAM reference image to verify decoding 2009-09-30 16:35:51 -04:00
Keith Lazuka 19107de7d8 images.testing: consolidated TIFF/GIF/PNG/PAM test images and wrote PAM unit tests 2009-09-30 13:33:10 -04:00
Keith Lazuka f297e88987 images.loader: added image encode protocol 2009-09-30 10:00:18 -04:00
Slava Pestov 17b52314dc Merge branch 'gif' of git://github.com/klazuka/factor 2009-09-30 05:15:21 -05:00
Doug Coleman be8033a39f limit the byte-reader streams when loading images 2009-09-28 16:29:56 -05:00
Doug Coleman 5b924ff910 move images.http to extra so it can use images.viewer, fix load-http-image 2009-09-28 16:12:12 -05:00
Doug Coleman 4fbdcc72aa fix jpeg loading 2009-09-28 15:59:32 -05:00
Doug Coleman d7626b177a fix png loading 2009-09-28 15:59:20 -05:00
Doug Coleman 8755f0bba0 fix a stack effect 2009-09-28 15:59:02 -05:00
Doug Coleman 1fb7cf37c4 make a png-image type instead of having a singleton class 2009-09-28 14:50:36 -05:00