Commit graph

543 commits

Author SHA1 Message Date
treeform af90e6e888 rm file 2022-05-15 12:06:27 -07:00
treeform a46a9ebf12 api changes, encoding fixed. 2022-05-15 12:05:17 -07:00
treeform 655099a64e more ttc 2022-05-14 09:57:50 -07:00
treeform dffe86074f Add TTC parser. 2022-05-14 09:42:22 -07:00
Ryan Oldenburg 6f6f73382b f 2022-05-12 23:19:15 -05:00
Ryan Oldenburg 35efcf1495 jpeg version 2022-05-12 18:47:53 -05:00
Ryan Oldenburg 159f1b38f9 validate correct shell cmd? 2022-05-12 18:39:56 -05:00
Ryan Oldenburg 9a94687488 f 2022-05-12 18:07:31 -05:00
Ryan Oldenburg 23e2d5b331 morepretty 2022-05-11 20:03:40 -05:00
Ryan Oldenburg 8b62fc428b jpegsuite, validate uses masters/diffs/rendered independently 2022-05-11 17:54:02 -05:00
treeform ecd59d214a Better JPEG validation. 2022-05-07 12:19:15 -07:00
treeform a6ea5fe6c2 Simplfy component ordering. 2022-05-07 12:03:03 -07:00
treeform 2e4efefabb Add benchmarks. 2022-05-05 10:20:10 -07:00
treeform 5e484ad4ab
Resurrect old nim-native jpeg parser and fix most issues (#414)
* Add new jpeg tests.
* Resurrect old jpeg.
* Fix Jpeg grayscale
* Fix 4:1:1 scaling.
* Better chunk scanner.
* Fight progressive.
* Fight restart markers.
* Jpeg can now parse all of the test files.
* Fuzzing and overflow checks
* Make getBits* the only way to read the bits. 
* Make Quantiziation and IDCT happen only in one place.
* Rename jpg folder to jpeg
2022-05-05 09:19:17 -07:00
Ryan Oldenburg 530e59c8f2 morepretty 2022-04-25 00:20:25 -05:00
Ryan Oldenburg 64b63d421d check for fenv epsilon instead of literal 0 2022-03-24 12:02:02 -05:00
treeform 2262459b5d
Merge pull request #404 from treeform/dev
Add context base alignment.
2022-03-22 14:12:29 -07:00
treeform b1f9b943f9 Rename. 2022-03-22 14:09:00 -07:00
Ryan Oldenburg dd85e5f9b0 add check for arc step of 0 2022-03-22 15:48:39 -05:00
treeform b876feddc8 Add context base alignment. 2022-03-22 09:43:43 -07:00
treeform 0dda63d66d Review. 2022-03-21 19:56:42 -07:00
treeform 341b710549 Run textUber though computePaths. 2022-03-21 18:46:43 -07:00
treeform 2365004c9c Seperate the idea layout and pixel bounds. 2022-03-20 13:04:31 -07:00
treeform 6068a92363 Split invert out. 2022-03-20 08:50:28 -07:00
treeform 42bedda0a7 Fix #372 - Add negative spread. 2022-03-20 08:50:28 -07:00
treeform 84ed4c9b9d Fix for #393 and other polygon improvements. 2022-03-18 13:43:47 -07:00
treeform 542c8e84fd Fix #394 - zero width mask fill. 2022-03-17 07:32:47 -07:00
Ryan Oldenburg efba29578e 4.0.2 check valid polygon 2022-03-13 15:39:50 -05:00
Ryan Oldenburg bd5ba5bd59 fix for custom line-heights 2022-02-22 19:15:35 -06:00
treeform 1a89f5d07b
Merge pull request #384 from treeform/dev
The great enum rename.
2022-02-13 22:15:53 -08:00
treeform 3e5926c92c More enum renames. 2022-02-13 20:02:37 -08:00
treeform a68512d065 Remove old minifiedBaboon. 2022-02-13 20:01:11 -08:00
Ryan Oldenburg 5282caa056 bmp dib decoder 2022-02-13 16:55:10 -06:00
Ryan Oldenburg ccccd883bb rm seq[uint8] 2022-02-12 18:59:13 -06:00
treeform 65b8dad89b Rename HorizontalAlignment, VerticalAlignment and TextCase enum. 2022-02-12 10:51:14 -08:00
treeform 9fdb3b8b0d Rename LineCap and LineJoin enum. 2022-02-12 10:35:19 -08:00
treeform e4805f7c08 Rename WindingRule enum. 2022-02-12 10:29:28 -08:00
treeform 5074e33efc Rename PaintKind enum. 2022-02-12 10:25:28 -08:00
treeform 95886c4861 Renamed minified Mandrill. 2022-02-12 10:21:36 -08:00
treeform c6f59b9692 Rename BlendMode enum. 2022-02-12 10:18:39 -08:00
treeform b456c54825
Merge pull request #383 from treeform/dev
Improve bitmap reader.
2022-02-11 21:33:30 -08:00
treeform 7198d2623d add test sutie images 2022-02-11 21:08:33 -08:00
treeform d250e4be01 Fixed fuzzing. 2022-02-11 21:08:24 -08:00
treeform 4dc50d9778 Read more bmp formats. 2022-02-11 20:08:09 -08:00
treeform 294adef29f f 2022-02-11 14:28:26 -08:00
treeform 104006212f Add test files. 2022-02-11 14:27:20 -08:00
treeform 25bc1116fb Improve bitmap reader. 2022-02-11 14:27:11 -08:00
Ryan Oldenburg 3373067226 fix jpg test path 2022-02-11 14:00:07 -06:00
Ryan Oldenburg d19b2ee65c use colors 2022-02-05 23:32:10 -06:00
Amjad Ben Hedhili 217e6c7eeb Rename baboon to mandrill
![Baboon](https://en.wikipedia.org/wiki/Baboon)
![Mandrill](https://en.wikipedia.org/wiki/Mandrill)
2022-02-04 15:07:34 +01:00
Ryan Oldenburg 78e23f83d6 fix and re-enable fill optimization 2022-01-30 14:53:12 -06:00
treeform 2da986d0fe Disable fill optimization for now. 2022-01-30 12:15:13 -08:00
Ryan Oldenburg e89001b46b 3.1.3 2022-01-25 17:06:09 -06:00
Ryan Oldenburg 12636e4e9f very strange issue 2022-01-25 17:04:43 -06:00
Ryan Oldenburg be57c71c3c ppm consistent style pass 2022-01-20 20:04:13 -06:00
Rasmus Moorats a7388a291d
assert that generated images match P6 master 2022-01-11 12:51:54 +02:00
Rasmus Moorats be26fe5193
fix high-depth handling and add a test case 2022-01-10 15:26:20 +02:00
Rasmus Moorats 158b279926
add dead simple tests for PPM files 2022-01-09 17:43:43 +02:00
Ryan Oldenburg 9a5436b850 zippy 0.7.4 2022-01-06 20:14:05 -06:00
Ryan Oldenburg 1e980aa018 f 2022-01-03 19:14:48 -06:00
Ryan Oldenburg 26d616cc32 f 2022-01-03 19:11:18 -06:00
Ryan Oldenburg 91abc684ad qoi consistent style pass 2022-01-03 17:41:36 -06:00
Emery Hemingway 291a0e3a5d QOI support
https://qoiformat.org/
2022-01-03 17:20:00 +01:00
Ryan Oldenburg 18592c446a fix benchmarks 2021-12-23 23:31:44 -06:00
Ryan Oldenburg 34d96df323 3.1.2 bugfix 2021-12-23 14:10:32 -06:00
Ryan Oldenburg 06fe67084f fuzz draw trs 2021-12-16 22:19:22 -06:00
Ryan Oldenburg 39e37c357a mask magnifyBy2 simd + copyMem 2021-12-14 13:00:15 -06:00
Ryan Oldenburg a6ed55592c opaque fast path 2021-12-14 13:00:15 -06:00
Ryan Oldenburg de13c129e4 isOpaque 2021-12-12 21:48:07 -06:00
Ryan Oldenburg 5da8241231 rm 2021-12-12 18:21:54 -06:00
treeform ef8f0fd4a9 Fix benchmark_masks. 2021-12-12 11:47:43 -08:00
Ryan Oldenburg cee2f7ec3a add path.fillImage test 2021-12-03 19:30:03 -06:00
Ryan Oldenburg 5d0539bf9b add dragon2 test 2021-12-03 15:24:08 -06:00
Ryan Oldenburg 50621aec50 faster packAlphaValues, better test 2021-11-28 03:08:25 -06:00
Ryan Oldenburg 61e78bcc6a use float32 2021-11-28 00:48:26 -06:00
Ryan Oldenburg 18d987013d file changes 2021-11-26 21:10:12 -06:00
Ryan Oldenburg 6d71b2f96c fix test 2021-11-26 21:06:51 -06:00
Ryan Oldenburg 4d416f1053 svg upscaling test 2021-11-26 20:56:38 -06:00
Ryan Oldenburg 6eb1d6fa12 f 2021-11-26 20:56:38 -06:00
Ryan Oldenburg 038a133b93 better benchmark name 2021-11-26 20:56:38 -06:00
Ryan Oldenburg 9320beecc3 f 2021-11-25 05:01:03 -06:00
Ryan Oldenburg 83706a2429 update 2021-11-24 23:02:24 -06:00
Ryan Oldenburg c9d792823d ensure float32 2021-11-23 04:38:37 -06:00
Ryan Oldenburg edaaeff2e3 faster horiz and vert gradients 2021-11-23 04:14:08 -06:00
Ryan Oldenburg a8518c8218 save work if no shadow offset 2021-11-23 03:19:08 -06:00
Ryan Oldenburg f246c1dd15 image changes 2021-11-22 03:40:55 -06:00
Ryan Oldenburg 5ea3c64968 leak fix, iterative discretize, lengthSq error 2021-11-22 02:37:48 -06:00
Ryan Oldenburg 56a9981f91 merge hits that stop and then continue filling without any gap 2021-11-21 07:07:19 -06:00
Ryan Oldenburg b8c1dbc4f2 f 2021-11-21 01:10:15 -06:00
Ryan Oldenburg f1b04ca441 remove most countups 2021-11-19 12:35:01 -06:00
Ryan Oldenburg 7e2fb402ad 3.0.3 2021-11-18 16:07:42 -06:00
Ryan Oldenburg 87c7e9fee6 rm float64 2021-11-12 23:39:43 -06:00
Ryan Oldenburg e3fc57ce3c faster path intersects 2021-11-10 17:08:26 -06:00
treeform 35fda58c33 Fixed negative/flipped axis matrix drawing. 2021-11-07 15:42:53 -08:00
Ryan Oldenburg 4a0d9c29b8 morepretty 2021-10-27 16:44:22 -05:00
Ryan Oldenburg 3721cb806a faster flips 2021-10-24 21:37:36 -05:00
Ryan Oldenburg 9e062788d4 rm 2021-10-19 21:09:59 -05:00
Ryan Oldenburg 08beb6b947 3.0.2 bugfix 2021-10-19 20:12:45 -05:00
Ryan Oldenburg 7774695e35 3.0.1, minifyBy2 fix for non-even src dimens 2021-10-19 17:45:03 -05:00
Ryan Oldenburg 71d9c8cd6e magnifyBy2 faster 2021-10-17 22:05:27 -05:00
Ryan Oldenburg db378d2a8f typo, better benchmark 2021-10-12 13:11:01 -05:00
Ryan Oldenburg 703279505c update benchmark 2021-10-11 19:20:43 -05:00
Ryan Oldenburg 728f580a8e nimble test file sync 2021-10-04 17:29:46 -05:00
treeform e486c25d7d Add tiled test. 2021-10-04 11:44:37 -07:00
treeform d29b4e1c45 The magnifyBy2 fix. 2021-10-04 11:41:09 -07:00
treeform 88cd22e22b Add more tests. 2021-10-04 07:35:30 -07:00
treeform 343e82e185 f 2021-10-03 20:23:35 -07:00
treeform e7f436571d f 2021-10-03 20:16:57 -07:00
treeform a4a9da76be f 2021-10-03 20:12:16 -07:00
treeform 3cf68ec480 way better 2021-10-03 20:11:18 -07:00
Ryan Oldenburg ff37660633 blur kernel 16 bits 2021-10-03 21:22:10 -05:00
Ryan Oldenburg bc25a3103f f 2021-10-03 20:24:25 -05:00
Ryan Oldenburg 09b296e616 fix tests, benchmarks, fuzzes, etc 2021-10-03 17:49:21 -05:00
Ryan Oldenburg 3484857163 reorganize tests a bit 2021-10-03 17:25:23 -05:00
Ryan Oldenburg ea1aef7bd2 mask magnifyBy2 2021-10-03 15:32:10 -05:00
Ryan Oldenburg e99879b3bd f 2021-10-03 15:19:33 -05:00
treeform 052eeb5a18 Fix tofu advance. 2021-10-03 11:12:56 -07:00
treeform a1659198e3 Add files. 2021-10-03 11:12:56 -07:00
treeform a8e1943556 Better fallback 2021-10-03 11:12:56 -07:00
Andre von Houck c0f31b276f Add font fallback. 2021-10-03 11:12:56 -07:00
Andre von Houck 733b0e56a1 remove mac image diff 2021-09-26 14:05:14 -07:00
Andre von Houck 83dc10170f Rename lerp to mix. lerp is deprixated and GLSL uses mix. 2021-09-26 14:02:28 -07:00
Andre von Houck cc880be3ff Add raw to benchmark PNG. 2021-09-16 11:41:47 -07:00
Ryan Oldenburg 303abc6249 fix multi-break long words 2021-09-12 15:43:26 -05:00
treeform f419fdb4d9 Add long words test. 2021-09-12 13:24:22 -07:00
treeform 190eb92ef8 Fix computeBounds with \n at the end. 2021-09-10 13:04:24 -07:00
Ryan Oldenburg 60bcff9bb2 simd draw bugfix 2021-09-08 22:59:47 -05:00
treeform a85b4a2905 Fix test. 2021-09-08 17:46:12 -07:00
treeform 8a67455f73 Fix selection rects align to pixel logic. 2021-09-08 17:42:58 -07:00
treeform 8d1a84efea Fix strikethough and underline for CFF fonts with winding order flag. 2021-09-07 13:08:44 -07:00
treeform 935a0eb5c2 Remove .wh on Images and Masks (it was odd one). 2021-09-06 10:05:56 -07:00
treeform 301c6bd31c Add tests for underline and strike though. More const. 2021-09-06 09:20:16 -07:00
treeform fd3c9f64e7 add test font 2021-09-03 12:15:57 -07:00
treeform 3fa9d34544 Add test for a CID based font. 2021-09-03 12:03:36 -07:00
treeform f92e6d49d1 Add test for CFF font. 2021-09-03 08:41:16 -07:00
Ryan Oldenburg e79d85c1a1 fail if kerning has issues parsing 2021-08-28 19:55:33 -05:00
Ryan Oldenburg 7debb739f9 small things 2021-08-23 18:18:35 -05:00
Ryan Oldenburg 8c9daadd04 morepretty 2021-08-17 23:11:48 -05:00
treeform b84746f6f2 Fix isTransparent and add test. 2021-08-17 20:25:36 -07:00
Ryan Oldenburg 7e56800de7 image isTransparent isOneColor 2021-08-17 16:14:31 -05:00
Ryan Oldenburg d8afee9bf3 superImage 2021-08-17 15:15:39 -05:00
Ryan Oldenburg 412baf6c19 more binding prep 2021-08-17 15:15:39 -05:00
Ryan Oldenburg abbe4f63ea more changes for bindings 2021-08-12 21:41:43 -05:00
Ryan Oldenburg 8c458d2ab2 paint uses color 2021-08-11 23:25:30 -05:00
Ryan Oldenburg a95d1f546b changes noticed while working on bindings 2021-08-11 19:42:57 -05:00
Ryan Oldenburg 6d9ab5b200 paint as ref object 2021-08-06 19:00:06 -05:00
Ryan Oldenburg 3f08c2bfa4 path as ref object 2021-08-06 14:39:21 -05:00
Ryan Oldenburg daaa71b2b1 font as ref object 2021-08-06 01:26:20 -05:00
Ryan Oldenburg 789d543faf morepretty 2021-07-19 00:50:49 -05:00
Ryan Oldenburg 2ee4f747e2 implement svg opacityy, fill-opacity, stroke-opacityy, linearGradient 2021-07-19 00:49:30 -05:00