Commit Graph

152 Commits (49abe313a38cc3290b81f9f469c0ce1ca58f3205)

Author SHA1 Message Date
Doug Coleman b1e83cdb33 update more 8bit encoding usages 2009-11-12 18:36:47 -06:00
Doug Coleman e8f774f485 fix display issue with png files where height not a multiple of 4 2009-11-06 00:43:59 -06:00
Joe Groff 25d384abe4 remove non-primitive-related uses of tuck from basis 2009-11-05 17:03:24 -06:00
Joe Groff 131605be2e eliminate spin from basis 2009-11-05 14:05:06 -06:00
Slava Pestov efccd6faee Move a few libraries from extra to basis since basis stuff depends on them 2009-11-01 22:17:00 -06:00
Doug Coleman 286b682be5 fix using for normalize-path 2009-10-28 20:17:46 -05:00
Doug Coleman 9ff38fb56c (normalize-path) -> absolute-path, canonicalize-path -> resolve-symlinks 2009-10-28 17:25:50 -05:00
Slava Pestov 34d3d4962a change-each -> map!, deep-change-each -> deep-map! 2009-10-27 22:32:56 -05:00
Slava Pestov 8eba48f4c4 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 ab4cb3e807 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 58862f4c3b images.bitmap: fixed unit-test dependency 2009-10-09 15:58:36 -04:00
Keith Lazuka 397084623c images.testing: added documentation 2009-10-09 15:58:36 -04:00
Keith Lazuka 2780ff01df images.png: added PngSuite test image files 2009-10-09 15:58:35 -04:00
Keith Lazuka 2b3fb426af images.testing: switched from PAM reference image to Factor serialized image (.fig) 2009-10-09 15:58:35 -04:00
Keith Lazuka 936076b91c images.bitmap: respect upside-down? flag when encoding 2009-10-09 15:58:35 -04:00
Keith Lazuka f3fa96904b 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 0d7161bce0 refactor images.png logic for adam7. implement adam7 2009-10-09 11:22:54 -05:00
Doug Coleman 99268a2cc4 extra error checking in images.png 2009-10-09 01:25:20 -05:00
Doug Coleman fb2fb59cef handle indexed color pngs 2009-10-08 20:55:53 -05:00
Doug Coleman a6090e717d fix byte swapping on greyscale-alpha 2009-10-08 20:37:00 -05:00
Doug Coleman 094720f086 ushort pngs are byte-reversed from how i'm reading them -- fixed. 2009-10-08 20:33:15 -05:00
Doug Coleman bbf2e7ee13 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 8a3f8afbb4 load greyscale png images, refactor some code 2009-10-08 18:18:33 -05:00
Doug Coleman 49f0144b75 make pngs read scanlines in terms of bits instead of bytes 2009-10-08 16:58:24 -05:00
Doug Coleman 6e7177e15b handle ushort-component pngs, throw errors on adam7 interlaced pngs for now 2009-10-06 00:33:29 -05:00
Doug Coleman 3a0f67b229 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 28612bdf09 fix bitmap tests path 2009-10-02 15:54:39 -05:00
Keith Lazuka c47c487016 images: consolidated test suite for image decoders 2009-09-30 17:01:09 -04:00
Keith Lazuka 5e83321991 images.gif: unit tests now use a PAM reference image to verify decoding 2009-09-30 16:35:51 -04:00
Keith Lazuka 8b680623a4 images.testing: consolidated TIFF/GIF/PNG/PAM test images and wrote PAM unit tests 2009-09-30 13:33:10 -04:00
Keith Lazuka fa063211d4 images.loader: added image encode protocol 2009-09-30 10:00:18 -04:00
Slava Pestov e16cf76e3a Merge branch 'gif' of git://github.com/klazuka/factor 2009-09-30 05:15:21 -05:00
Doug Coleman b2ad8d31b4 limit the byte-reader streams when loading images 2009-09-28 16:29:56 -05:00
Doug Coleman 3f585786fe 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 802b2f7705 fix jpeg loading 2009-09-28 15:59:32 -05:00
Doug Coleman dfafdae416 fix png loading 2009-09-28 15:59:20 -05:00
Doug Coleman 06d291fd88 fix a stack effect 2009-09-28 15:59:02 -05:00
Doug Coleman 83aa80cb82 make a png-image type instead of having a singleton class 2009-09-28 14:50:36 -05:00
Doug Coleman 9a916347ee Merge branch 'png' of git://github.com/klazuka/factor 2009-09-28 14:29:00 -05:00
Doug Coleman 70e85b1cc1 fix reverse png filtering with klazuka's idea 2009-09-28 14:20:44 -05:00
Keith Lazuka 13d5a30528 images.png: teased apart PNG parse and decode phases to match images.tiff and images.gif 2009-09-28 11:21:35 -04:00
Joe Groff ac2f3763e0 update vocabs so a load-all on macosx works without parsing c-type strings 2009-09-27 15:11:21 -05:00
Joe Groff 4bf9ce1fa0 Merge branch 'master' of http://factorcode.org/git/factor 2009-09-27 11:07:08 -05:00
Joe Groff e5d406693e add USING:s and rearrange definitions so macosx can compile without parsing c-type strings 2009-09-26 23:14:57 -05:00
Doug Coleman 3dc8834704 minor refactoring 2009-09-26 22:24:14 -05:00
Doug Coleman 3c2d85c407 remove some misguided code,oops 2009-09-26 20:34:10 -05:00
Doug Coleman 1f222697b3 move the png filtering code to images.png 2009-09-26 20:09:16 -05:00
Doug Coleman 547d1cb74b trying to make sense of png filter modes 2009-09-26 18:46:27 -05:00
Doug Coleman d7f62107de compute the correct width for png rows, use all the data when decompressing a png, check for impossible png color modes/bit-depths 2009-09-26 15:24:09 -05:00
Keith Lazuka 7e816592a1 compression.lzw: supports both TIFF and GIF 2009-09-25 16:51:47 -04:00