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
Doug Coleman
1310aff3d8
fix bitmap tests path
2009-10-02 15:54:39 -05: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
f297e88987
images.loader: added image encode protocol
2009-09-30 10:00:18 -04:00
Slava Pestov
17b52314dc
Merge branch 'gif' of git://github.com/klazuka/factor
2009-09-30 05:15:21 -05:00
Doug Coleman
be8033a39f
limit the byte-reader streams when loading images
2009-09-28 16:29:56 -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
Doug Coleman
4fbdcc72aa
fix jpeg loading
2009-09-28 15:59:32 -05:00
Doug Coleman
d7626b177a
fix png loading
2009-09-28 15:59:20 -05:00
Doug Coleman
8755f0bba0
fix a stack effect
2009-09-28 15:59:02 -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
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
Joe Groff
8965d04c0d
Merge branch 'master' of http://factorcode.org/git/factor
2009-09-27 11:07:08 -05:00
Joe Groff
5054c954be
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
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
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
Joe Groff
076ab42dc3
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
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
Marc Fauconneau
5a20dee2aa
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
bdb95d7fc3
remove debug, fix bootstrap
2009-08-26 14:45:02 -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
Doug Coleman
3f3d57032b
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
9ddecb5e03
some misc categorizations and factorings for image component formats
2009-07-01 13:52:26 -05:00
Joe Groff
ab8b99d4fd
opengl 3.1
2009-06-24 17:28:37 -05:00
Joe Groff
eaddd1fdd4
provide image component-orders and component-types for all GPU texture formats
2009-06-24 08:26:30 -05:00
Joe Groff
c051665efb
throw in image component-orders for some more opengl formats
2009-06-23 20:01:53 -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
7134236e46
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
8ea400ca47
fix using
2009-06-11 14:35:55 -05:00
Doug Coleman
41a2894083
move more bitmap code to bitmap.loading
2009-06-11 13:16:04 -05:00
Doug Coleman
ae034f1f09
use concat-as
2009-06-10 16:01:46 -04:00