Commit Graph

52 Commits (eb9164e65d698a92f4ae2e81ee131ea4c44f062f)

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