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
Doug Coleman
0fd46ac59d
dont use boa constructor in tiff
2009-06-10 15:52:55 -04:00
Doug Coleman
38ac04d317
make png-loading not an image tuple
2009-06-10 15:50:16 -04:00
Doug Coleman
0262074b97
working on rle uncompresion for bitmaps
2009-06-10 15:16:17 -04:00
Doug Coleman
6e26ea1952
fix bitmap unit tests, tweaking bitmap loading
2009-06-09 11:50:21 -04:00
Doug Coleman
44850e6533
refactoring bitmap to bitmap.loading and bitmap.saving vocabs
2009-06-06 21:10:40 -04:00
prunedtree
011abaa079
images.jpeg: added support for yuv444 and black and white images
2009-06-05 05:28:18 -07:00
Doug Coleman
60a0170e38
renamd parsed-tiff to loading-tiff
2009-06-04 16:17:26 -05:00
Doug Coleman
a3f0c6c057
use singletons instead of subclassing the image class
2009-06-04 16:09:38 -05:00
Doug Coleman
580ff7fd32
fix loading of bitmaps when computed size is 0
2009-06-04 15:06:33 -05:00
Doug Coleman
31595542d3
clean up bitmap code, support a lot more bitmaps like 1/4/16 bit
2009-06-03 21:36:03 -05:00
Doug Coleman
175b03c134
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
f31c3f867a
support run-length encoding in bitmaps
2009-06-02 23:29:04 -05:00
Doug Coleman
367623e375
report unhandled compression modes
2009-06-02 23:20:07 -05:00
Daniel Ehrenberg
8ec2e12b22
fixing images unit test
2009-06-02 21:17:45 -05:00
Daniel Ehrenberg
ba5b582e01
Redoing images.loader to work with jpeg
2009-06-02 20:39:51 -05:00
Daniel Ehrenberg
29395bf900
Words in images to get and set pixels
2009-06-01 22:37:44 -05:00
Doug Coleman
8b37eced05
use literal-arrays
2009-05-17 13:36:53 -05:00
Doug Coleman
4deda17c30
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-16 13:03:23 -05:00
Slava Pestov
7c705c4db4
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
132249660d
Fix conflict
2009-05-16 09:48:42 -05:00
Doug Coleman
89ccc4b00a
throw exceptions on png types we dont support
2009-05-16 08:46:41 -05:00
Doug Coleman
451a13c740
oops, i was using alt.bitstreams in some places
2009-05-15 01:27:00 -05:00
Doug Coleman
af2f62ae62
remove all the compress code from lzw until it works, fix bitstreams
2009-05-14 23:33:00 -05:00
Slava Pestov
fb6df472a2
Cleaning up USING: lists for new strict semantics
2009-05-14 16:54:16 -05:00
Doug Coleman
c443d6d815
check in marc's jpeg loader, png decoder, huffman, inflate, and image-processing vocabularies
2009-05-14 15:46:10 -05:00
Doug Coleman
8e8623aef0
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
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