Commit Graph

42 Commits (78a85d0b059a00d2261d7c250f8defe9f5c07888)

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
Philipp Brüschweiler 14f8742aae ui.render: set pack alignment to 1, so padding images isn't needed anymore 2010-06-01 13:52:00 +02:00
Slava Pestov ad6d8556e0 Change [0,b) usages to iota 2010-01-15 08:05:50 +13: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
Doug Coleman 7e66f0beaf fix display issue with png files where height not a multiple of 4 2009-11-06 00:43:59 -06: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
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
Keith Lazuka 31e34acc01 images: consolidated test suite for image decoders 2009-09-30 17:01:09 -04:00
Doug Coleman d7626b177a fix png loading 2009-09-28 15:59:20 -05:00
Doug Coleman 1fb7cf37c4 make a png-image type instead of having a singleton class 2009-09-28 14:50:36 -05:00
Doug Coleman bf2cfd0aa6 Merge branch 'png' of git://github.com/klazuka/factor 2009-09-28 14:29:00 -05:00
Doug Coleman 438e848356 fix reverse png filtering with klazuka's idea 2009-09-28 14:20:44 -05:00
Keith Lazuka f45a6df8e5 images.png: teased apart PNG parse and decode phases to match images.tiff and images.gif 2009-09-28 11:21:35 -04:00
Doug Coleman 033892dc10 minor refactoring 2009-09-26 22:24:14 -05:00
Doug Coleman 4bc6b302cf remove some misguided code,oops 2009-09-26 20:34:10 -05:00
Doug Coleman 030351ef87 move the png filtering code to images.png 2009-09-26 20:09:16 -05:00
Doug Coleman 71952f702a trying to make sense of png filter modes 2009-09-26 18:46:27 -05:00
Doug Coleman 55dd1a7401 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
Doug Coleman 974266c9d5 support loading images from streams, add load-http-image 2009-08-26 14:27:01 -05:00
Joe Groff 556adeb9b4 handle RGBA pngs (when inflate finally works) 2009-08-23 09:51:12 -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 38ac04d317 make png-loading not an image tuple 2009-06-10 15:50:16 -04:00
Doug Coleman a3f0c6c057 use singletons instead of subclassing the image class 2009-06-04 16:09:38 -05:00
Doug Coleman 175b03c134 add a <limited-file-reader> word to open a limited stream from a file correctly 2009-06-03 21:21:21 -05:00
Daniel Ehrenberg ba5b582e01 Redoing images.loader to work with jpeg 2009-06-02 20:39:51 -05:00
Doug Coleman 89ccc4b00a throw exceptions on png types we dont support 2009-05-16 08:46:41 -05:00
Doug Coleman c443d6d815 check in marc's jpeg loader, png decoder, huffman, inflate, and image-processing vocabularies 2009-05-14 15:46:10 -05:00
Doug Coleman 992d1f4d13 crc32 the png chunks, helper word to concatenate deflated bytes 2009-03-04 13:34:28 -06:00
Doug Coleman 6ee3f802a4 initial support for parsing in png files and a test image 2009-03-03 16:24:41 -06:00