Commit Graph

141 Commits (5cfd5ff2240946780c6c700cb6991bcef0e1b716)

Author SHA1 Message Date
John Benediktsson 2005df3b0c Merge branch 'master' of git://github.com/slavapestov/factor 2011-02-14 22:19:34 -08:00
Keita Haga 073eda332a In several documentation, remove whitespace before or after the colon or period 2011-02-10 01:51:13 +09:00
John Benediktsson f4cc2bcdaa images.http: allow urls to be used with http-image. 2011-01-27 20:00:42 -08:00
John Benediktsson 1defecf279 images.http: use the content type from the http response if provided. 2011-01-26 18:05:02 -08:00
John Benediktsson b4ca9daf27 images.gif: the Graphics Control Block is OPTIONAL in the GIF spec. 2011-01-26 17:23:30 -08:00
Philip Searle e83cc32b14 Add palette and odd-sized PNG unit tests. Fix loading interlaced PNGs < 8x8 in size. 2010-11-13 23:52:13 +00:00
Philip Searle a22f5611de Fix support for interlaced 1/2/4/8/16-bit greyscale and interlaced 8-bit truecolour PNG files. 2010-11-13 21:45:11 +00:00
Philip Searle 0c70f74abe Correct greyscale PNG scaling factor. Non-interlaced greyscale PNG tests now pass. 2010-11-13 19:29:26 +00:00
Slava Pestov fbbaef70c4 Remove stream-peek and stream-peek1, re-implement dns vocab to not need this abstraction 2010-10-08 18:55:13 -07:00
Doug Coleman f7af445625 Add stream-peek1 and remove it from images.gif and dns. Add sequence-peek but not stream-peek (yet?) 2010-10-08 06:34:17 -07:00
Doug Coleman d97bf9f890 Move <rgb-image> to images.testing, add randomize-image word 2010-09-19 21:54:04 -05:00
Philipp Brüschweiler 4c7a88c8a4 images: fix some tests that broke due to an additional slot in image 2010-07-31 20:37:45 +02:00
Doug Coleman 2ca509a8fe Split off io.streams.throwing from io.streams.limited and update usages of limited streams 2010-07-09 13:32:09 -05:00
Joe Groff 05f98a184c images.viewer: tag "not tested" rather than "not tested^M" 2010-05-18 12:43:31 -07:00
Slava Pestov 8a1765a9e9 images.viewer: add not tested tag since the unit tests rely on a GL context 2010-05-18 15:39:43 -04:00
Jon Harper c7012f4276 fix exception for large images 2010-05-16 17:36:51 +02:00
Jon Harper 429c9df977 gl-texture-int is now in opengl.textures 2010-05-15 21:44:08 +02:00
Jon Harper badbb3fbfd fix images.viewer + documentation 2010-05-15 21:33:22 +02:00
Erik Charlebois 3d4dadffe2 Image encoding/decoding of PBM format 2010-04-12 00:49:16 -07:00
Erik Charlebois 925d2c7e58 PGM image loading and saving 2010-04-04 03:23:04 -07:00
Erik Charlebois 116c8850ac PPM image loading and saving 2010-04-01 00:44:32 -07:00
Doug Coleman 55e772c528 Remove the http-data word 2010-03-01 22:32:15 -06:00
Doug Coleman 9bf7f56283 Add a new word http-data that is just http-get nip 2010-02-27 07:58:35 -06:00
Joe Groff 1df64a12ce images.atlas: add "make-atlas-assoc" word to take a name->image assoc and generate a name->texcoord assoc alongside the atlas 2010-02-04 19:43:14 -08:00
Joe Groff df744bf633 tweak images.atlas interface. return a hash of images to texcoords for the images that made up the atlas 2010-02-01 12:05:28 -08:00
Joe Groff 52e25f190c images.atlas tool for creating an atlas image from an array of image objects 2010-01-29 16:33:19 -08: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
Joe Groff 935c0797c3 update existing code for [let change 2009-10-27 22:05:37 -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 afae8753f2 images.normalization: fixed USING 2009-10-09 15:58:36 -04:00
Keith Lazuka 5fb71a8fcd images.normalization: more unit tests and bug fix 2009-10-09 15:58:36 -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 392531b179 images.normalization: refactored to use locals 2009-10-09 15:58:34 -04:00
Keith Lazuka 3763ea29d0 images.normalization: added documentation 2009-10-09 15:58:34 -04:00
Keith Lazuka bf42c83690 images.normalization: removed a lot of boilerplate 2009-10-09 15:58:34 -04:00
Keith Lazuka 6e8e296b99 images.normalization: removed some boilerplate 2009-10-09 15:58:34 -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
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 dc509f111b images.pam: encode and decode support for netpbm's PAM image format 2009-09-30 10:31:23 -04:00
Slava Pestov 17b52314dc Merge branch 'gif' of git://github.com/klazuka/factor 2009-09-30 05:15:21 -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
Keith Lazuka e7db217c1f images.gif: added documentation 2009-09-28 16:01:24 -04:00
Joe Groff 630e5ecc3b update vocabs so a load-all on macosx works without parsing c-type strings 2009-09-27 15:11:21 -05:00
Keith Lazuka 474ecac48f images.gif: renamed loading-gif>image to gif>image to match the TIFF vocab 2009-09-26 13:15:58 -04: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
Keith Lazuka e006b62962 gif: preparing for LZW re-integration with TIFF 2009-09-25 11:12:40 -04:00
Keith Lazuka c0a8334d98 images.gif: added more tests 2009-09-25 09:54:49 -04:00
Keith Lazuka bb71143054 images.gif: added transparent pixel support 2009-09-25 09:33:48 -04:00
Keith Lazuka e9c780ba28 images.gif: Decompression now works. Still need to implement transparency and merge with TIFF LZW code 2009-09-25 06:34:41 -04:00
Keith Lazuka 3cbf48cae7 images.gif: added unit tests 2009-09-23 12:06:49 -04:00
Keith Lazuka 8b5871e9d8 images.gif: fixed image-descriptor parse bug 2009-09-23 12:06:25 -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
Slava Pestov 1798000335 Fix unit tests for specialized-arrays.direct change 2009-09-05 02:26:06 -05:00
Slava Pestov a054ec3d64 specialized-arrays.direct is no more; instead, every specialized-array.<foo> vocabulary has a <direct-T-array> constructor 2009-09-04 22:01:55 -05:00
Doug Coleman 02fe28ce82 add an image-control gadget 2009-08-27 19:06:40 -05:00
Doug Coleman 7cc86bd0ab add initial gif parsing. needs to be run on more gifs, needs lzw decompression 2009-08-27 14:15:34 -05:00
Joe Groff ac3ec67c6a separate component format from component order in image objects 2009-06-22 11:20:54 -05:00
Doug Coleman 6434e4acf1 move images.processing to unmaintained for now 2009-06-09 22:48:19 -04:00
Doug Coleman a59bf32a33 fix cloning weirdness in images rotation tests 2009-06-09 11:48:39 -04:00
Doug Coleman 3c8ce48e3c don't normalize images in processing.rotation. this means there are some padding bytes to deal with 2009-06-04 15:09:25 -05:00
Doug Coleman 5e4506c987 misspelled kobi's name 2009-05-26 21:07:14 -05:00
Doug Coleman 1d721a32c1 check in kobie's image rotation code 2009-05-26 21:05:46 -05:00
Slava Pestov cf9a09b933 images.viewer: you can now pass a pathname object to image-window and image. words 2009-05-07 20:52:39 -05:00
Slava Pestov 875d98197b images.viewer: now accepts image objects 2009-05-05 16:46:57 -05:00
Doug Coleman 2330ec3042 use ui.images drawing code in images.viewer 2009-04-25 18:59:03 -05:00
Slava Pestov 902718f0d3 Clean up images.viewer 2009-04-14 22:18:47 -05:00
Slava Pestov 2b26da1ad2 Move images.normalization to extra since its not used for anything anymore 2009-04-10 04:03:06 -05:00
Slava Pestov 2f26d5f3da images.viewer can now display some un-normalized images 2009-03-10 16:58:35 -05:00
Slava Pestov 375c5e69b5 Various load-everything fixes 2009-03-07 01:22:21 -06:00
Slava Pestov 7b9491066c Fix conflict in images vocab 2009-03-04 21:43:56 -06:00
Doug Coleman 1a8b97e4d9 bitmap loading is cleaner 2009-03-02 19:38:28 -06:00
Slava Pestov cdfab25bb1 Fix up images.viewer 2009-02-27 01:01:51 -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 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
Slava Pestov ab6ec008dd Remove sorting.slots from images.tiff USING: list 2009-02-11 04:59:47 -06:00
Doug Coleman 610c43a3c3 remove circular using 2009-02-10 20:49:10 -06:00
Doug Coleman 94f6d28f34 fix a method 2009-02-10 19:34:02 -06:00
Doug Coleman 7d60fcc598 clean up some image code 2009-02-10 18:52:28 -06:00
Doug Coleman 1d5f6901c1 fix bitmap drawing 2009-02-10 18:48:10 -06:00
Doug Coleman a1e521b54e working on images protocol 2009-02-10 18:42:21 -06:00
Doug Coleman c2e6ef0366 remove dead pathname 2009-02-10 17:23:21 -06:00
Doug Coleman 46bfb5c8ea clean up <image> 2009-02-10 17:20:36 -06:00
Doug Coleman 970953be1f fix tiff/bitmaps color order 2009-02-10 17:17:36 -06:00
Doug Coleman 17724be48c factor out a load-tiff word 2009-02-09 22:05:44 -06:00
Doug Coleman d887ff6788 fix screen capture 2009-02-09 21:26:52 -06:00
Doug Coleman 72b343ce03 fix images tests 2009-02-09 21:15:57 -06:00
Doug Coleman a1e45570f5 rename graphics to images, add an <image> word to load a path 2009-02-09 20:57:26 -06:00