Commit Graph

127 Commits (43b51ef2ebf970df7f6c1915253c1097c7f81346)

Author SHA1 Message Date
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
Keith Lazuka 81ea3afbdc lzw: integrating with gif and tiff 2009-09-25 15:12:44 -04:00
Joe Groff 4a1422e7fe move some allocation words that don't really have much to do with c types out of alien.c-types into a new alien.data vocab 2009-09-17 22:36:05 -05:00
Slava Pestov 527db8995a 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
Marc Fauconneau 29ec9a3e24 Better error images for non-baseline JPEGs.
bugfix: Handles more than one table per DHT chunk.
2009-08-30 17:29:40 +09:00
Doug Coleman f6e4db899a remove debug, fix bootstrap 2009-08-26 14:45:02 -05:00
Doug Coleman 913c0fa597 support loading images from streams, add load-http-image 2009-08-26 14:27:01 -05:00
Joe Groff 845fe9cfda handle RGBA pngs (when inflate finally works) 2009-08-23 09:51:12 -05:00
Doug Coleman d1ce837569 Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring 2009-08-13 19:21:44 -05:00
Joe Groff 0d6ed1c74b some misc categorizations and factorings for image component formats 2009-07-01 13:52:26 -05:00
Joe Groff 20fdd958e0 opengl 3.1 2009-06-24 17:28:37 -05:00
Joe Groff 08ad3a2fc8 provide image component-orders and component-types for all GPU texture formats 2009-06-24 08:26:30 -05:00
Joe Groff 0e7feb0cf6 throw in image component-orders for some more opengl formats 2009-06-23 20:01:53 -05:00
Joe Groff ba1fdc2683 separate component format from component order in image objects 2009-06-22 11:20:54 -05:00
Slava Pestov 4484a9950e Move constructors vocabulary to extra and refactor basis code not to use it 2009-06-13 18:47:19 -05:00
Doug Coleman 56c9302dbc Merge branch 'master' of git://github.com/prunedtree/factor
Conflicts:
	basis/compression/inflate/inflate.factor
	basis/math/matrices/matrices.factor
2009-06-12 02:33:49 -05:00
Doug Coleman 31c754e6e8 fix using 2009-06-11 14:35:55 -05:00
Doug Coleman 29dc2af24f move more bitmap code to bitmap.loading 2009-06-11 13:16:04 -05:00
Doug Coleman 250f756e89 use concat-as 2009-06-10 16:01:46 -04:00
Doug Coleman c39344f773 dont use boa constructor in tiff 2009-06-10 15:52:55 -04:00
Doug Coleman a83e4e7945 make png-loading not an image tuple 2009-06-10 15:50:16 -04:00
Doug Coleman 6a845f64af working on rle uncompresion for bitmaps 2009-06-10 15:16:17 -04:00
Doug Coleman f6a9225179 fix bitmap unit tests, tweaking bitmap loading 2009-06-09 11:50:21 -04:00
Doug Coleman b64508aef8 refactoring bitmap to bitmap.loading and bitmap.saving vocabs 2009-06-06 21:10:40 -04:00
prunedtree 9dce6bc4df images.jpeg: added support for yuv444 and black and white images 2009-06-05 05:28:18 -07:00
Doug Coleman 3e5f043da9 renamd parsed-tiff to loading-tiff 2009-06-04 16:17:26 -05:00