Commit Graph

82 Commits (97a8e889c3118bc48bda6846fc20277da369dc51)

Author SHA1 Message Date
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
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