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
Doug Coleman
112e7c6898
use singletons instead of subclassing the image class
2009-06-04 16:09:38 -05:00
Doug Coleman
8f4983aae4
fix loading of bitmaps when computed size is 0
2009-06-04 15:06:33 -05:00
Doug Coleman
488314ed1a
clean up bitmap code, support a lot more bitmaps like 1/4/16 bit
2009-06-03 21:36:03 -05:00
Doug Coleman
9ba6f1205b
add a <limited-file-reader> word to open a limited stream from a file correctly
2009-06-03 21:21:21 -05:00
Doug Coleman
a14ec0db2f
support run-length encoding in bitmaps
2009-06-02 23:29:04 -05:00
Doug Coleman
5e2b0fe401
report unhandled compression modes
2009-06-02 23:20:07 -05:00
Daniel Ehrenberg
04f1898461
fixing images unit test
2009-06-02 21:17:45 -05:00
Daniel Ehrenberg
a1ca9fd51d
Redoing images.loader to work with jpeg
2009-06-02 20:39:51 -05:00
Daniel Ehrenberg
93fcc8358c
Words in images to get and set pixels
2009-06-01 22:37:44 -05:00
Doug Coleman
68ceb33891
use literal-arrays
2009-05-17 13:36:53 -05:00
Doug Coleman
ec16b5445f
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-16 13:03:23 -05:00
Slava Pestov
2f5b706b12
Comment out JPEG code until we figure out if we want default bootstrap to depend on BLAS or not
2009-05-16 10:02:48 -05:00
Slava Pestov
03e6ab0372
Fix conflict
2009-05-16 09:48:42 -05:00
Doug Coleman
223a47c8d9
throw exceptions on png types we dont support
2009-05-16 08:46:41 -05:00
Doug Coleman
6aab540e45
oops, i was using alt.bitstreams in some places
2009-05-15 01:27:00 -05:00
Doug Coleman
44721b48ff
remove all the compress code from lzw until it works, fix bitstreams
2009-05-14 23:33:00 -05:00
Slava Pestov
d7db5edadc
Cleaning up USING: lists for new strict semantics
2009-05-14 16:54:16 -05:00
Doug Coleman
3901427128
check in marc's jpeg loader, png decoder, huffman, inflate, and image-processing vocabularies
2009-05-14 15:46:10 -05:00
Doug Coleman
ff0cef1627
throw more errors on tiff if formats are unsupported
2009-05-05 22:58:38 -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
Doug Coleman
5279bb0efc
change L to LA for grayscale tiffs
2009-04-09 10:46:43 -05:00
Doug Coleman
1551eacfa2
add support for tiff grayscale images
2009-04-09 10:44:50 -05:00
Doug Coleman
49852f5715
fix saving bitmaps
2009-04-08 18:42:01 -05:00
U-SLAVA-DFB8FF805\Slava
1731b57249
Add textures without alpha channels, cropping; update usages of <texture>; don't ignore trailing in x>offset
2009-04-03 07:01:22 -05:00
U-SLAVA-DFB8FF805\Slava
9c3054c84a
More progress on Uniscribe
2009-04-02 13:05:26 -05:00
Slava Pestov
3bf5d2bfd4
Implement image tesselation in image.tesselation. This is used by opengl.textures to break up large bitmaps into multiple smaller textures. The gl-rect and gl-fill-rect words have different stack effects now, so usages were updated.
2009-03-27 18:31:25 -05:00
Slava Pestov
04c3443e95
Split off normalize-image into images.normalization
2009-03-26 21:28:57 -05:00
Doug Coleman
8eea41b537
normalizing alpha data for tiffs is done too often, check in test image for it
2009-03-16 07:11:56 -05:00
Doug Coleman
bb33894d8a
check in more test images
2009-03-16 07:11:46 -05:00
Doug Coleman
baf2cc6c5a
fix bitmap loading of odd-width files
2009-03-16 07:08:35 -05:00
Doug Coleman
3a0b0aff79
support loading bitmaps that have extra padding bytes on each line, like reference.bmp
2009-03-15 15:08:55 -05:00
Doug Coleman
2698c30a30
fix BGR>RGB
2009-03-15 13:59:06 -05:00
Slava Pestov
9eab2a7d71
loading an image doesnt hang now, not quite right yet..
2009-03-14 23:23:49 -05:00
Doug Coleman
845158fffd
fix using
2009-03-14 15:52:25 -05:00
Doug Coleman
f8da7967fc
remove unused slot
2009-03-14 15:52:04 -05:00
Doug Coleman
935849b418
fix bitmap rendering
2009-03-14 15:31:59 -05:00
Doug Coleman
aa91df6b10
more bitmap cleanup
2009-03-14 15:17:51 -05:00
Doug Coleman
8ac5834861
cleaning up bitmaps
2009-03-14 15:08:50 -05:00
Doug Coleman
cdec85dc8f
write out bitmaps from arbitrary image tuples
2009-03-14 14:48:28 -05:00
Doug Coleman
4302e36424
Merge branch 'master' of git://factorcode.org/git/factor
2009-03-14 00:04:08 -05:00
Doug Coleman
4ed2d030c8
bitmap loading was broken
2009-03-14 00:03:44 -05:00
Slava Pestov
3c29c92f5b
Better unit tests for images.bitmap
2009-03-14 00:01:01 -05:00
Doug Coleman
b38348aae0
Merge branch 'master' of git://factorcode.org/git/factor
2009-03-11 15:06:31 -05:00
Slava Pestov
ff3c5b28bd
Move normalize-scanline-order implementation from images.bitmap to images
...
Add upside-down? slot to image tuple
Update cap for recent changes
2009-03-10 16:35:47 -05:00
Doug Coleman
ea259f8690
Merge branch 'master' of git://factorcode.org/git/factor
2009-03-05 16:39:14 -06:00
Slava Pestov
7b9491066c
Fix conflict in images vocab
2009-03-04 21:43:56 -06: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
Doug Coleman
1a8b97e4d9
bitmap loading is cleaner
2009-03-02 19:38:28 -06:00
Slava Pestov
385c4661d6
First attempt at ui.text.pango
2009-02-28 01:31:51 -06:00
Slava Pestov
51fdd23248
Abstract out images.memory from core-graphics vocab
2009-02-26 23:29:39 -06:00
Slava Pestov
91d0c4ed1f
Fix conflict
2009-02-22 20:02:13 -06:00
Doug Coleman
7a3c086178
remove ?at from db.types, images.tiff
2009-02-22 17:14:46 -06:00
Slava Pestov
89f1ac4afd
Refactoring
2009-02-21 00:40:03 -06:00
Slava Pestov
bdb790010a
Add bytes-per-pixel word to images vocab
2009-02-19 04:08:32 -06:00
Slava Pestov
6b25e99470
Add summary for heaps more vocabs
2009-02-16 21:05:13 -06:00
Slava Pestov
723dcd334f
Merge branch 'master' of git://factorcode.org/git/factor
2009-02-15 20:06:23 -06:00
Slava Pestov
6b99b04531
Add vocab: for vocab-relative paths
2009-02-15 19:53:21 -06:00
Doug Coleman
5ef7afcbb3
refactor tiff loading a bit, identify lots of ifd header tags
2009-02-15 10:42:36 -06:00
Doug Coleman
3df5422151
add support for parsing all baseline tiff tags, fix loading a tiff that used to work
2009-02-15 09:13:53 -06:00
Doug Coleman
5741aa198e
not all images have associated alpha data... oops
2009-02-14 19:28:00 -06:00
Doug Coleman
47a2f42c9f
handle associated alpha data in tiffs
2009-02-14 19:24:42 -06:00
Doug Coleman
b4e7592ba3
support predictors
2009-02-14 00:30:59 -06:00
Doug Coleman
3cf4c6fee2
support 48bpp tiffs
2009-02-13 15:56:22 -06:00
Doug Coleman
001a3eb8f1
Merge branch 'master' of git://factorcode.org/git/factor
2009-02-13 15:48:17 -06:00
Doug Coleman
d7e10c3072
remove XXX from bitmaps
2009-02-13 15:47:07 -06:00
Doug Coleman
813b0cb803
get the byte ordering correct for tiffs
2009-02-13 15:46:36 -06:00
Doug Coleman
0ce47f84c6
use decode instead of >string in images.tiff
2009-02-13 15:14:09 -06:00
Doug Coleman
1424380e5b
x/y resolution should be a scalar
2009-02-13 13:04:14 -06:00
Doug Coleman
bd17f14929
drawing 96bpp images works, add lots of previously unknown ifd fields
2009-02-13 12:12:08 -06:00
Doug Coleman
3fb733b53c
add 48bpp mode to tiff
2009-02-13 10:16:58 -06:00
Doug Coleman
753cfcfd05
support .tif, start 96 bpp
2009-02-13 09:56:22 -06:00
Doug Coleman
6ffe298189
support lzw uncompression in images.tiff
2009-02-12 17:44:15 -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
7361bb90fa
images: fix load errors
2009-02-12 02:41:47 -06:00