mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-12 17:03:46 +00:00
* craft-affinity: bounded reader for native Affinity documents, moved from VectorCraft The reader of .af, .afdesign, .afphoto and .afpub files (archive, object stream and document model) as it is in storytold/vectorcraft at 6e873b80 (crates/affinity), under a neutral name. Its corpus tests read the pinned public documents scripts/fetch-affinity-corpus.sh fetches. * craft-affinity: fold in what only PhotoCraft's copy of the reader had From storytold/photocraft at 63b641b5 (crates/affinity), onto the VectorCraft copy: - Special shapes: clouds, hearts, cogs, callouts, arrows, double stars, tears, crescents, diamonds and segments come in as their own outlines, not their bounding ellipse. - Null slots of object lists are charged to the document's work before a list is scanned, on every visit of a shared object (children, attachments, effects, compound operands, page lists, paint lists, gradient colours, text blocks and runs, table cells, tile lists). - A colour or gradient position record is decoded only as far as its components are read. - 16-bit and 8-bit planes are interleaved through tables, not an f64 for each pixel. - Limits::max_pixel_bytes: the caller sets what the pixel layers of one import may hold. - Pixels::cmyka8_to_rgba8 for a caller without colour management. The crate README and docs describe the model on its own terms. * craft-affinity: a callout with a right-to-left box no longer panics; an oversized shape imports as its box Ported from storytold/photocraft#10473 by DJHoltkamp. A callout rectangle clamped its tail with clamp(x0, x1), which panics when the box is stored right to left. A box with finite corners whose size overflows gave infinite or NaN outline points; it now imports as its box with a warning. Also drops the inflated doc.dat once it is parsed.
12 KiB
12 KiB
| 1 | cc8ca0db0d8fc545eb29153be900f153fa6b7b7eac068d05e54a502aba1264fe | afdesignload-color.afdesign | MIT | https://raw.githubusercontent.com/NickBeeuwsaert/AFDesignLoad/a18dd50a7079fb861a28835eeefa0d015f03f4a1/testDesigns/color.afdesign |
|---|---|---|---|---|
| 2 | 9a17f500d09fb3b1a70d24aabdc2882955ec3eac3700a474549e6100be3a8484 | afdesignload-layer_mode.afdesign | MIT | https://raw.githubusercontent.com/NickBeeuwsaert/AFDesignLoad/a18dd50a7079fb861a28835eeefa0d015f03f4a1/testDesigns/layer_mode.afdesign |
| 3 | 77ae60c02749224fe2c52691c951568138eaed5f8584ebc5da83715fae0234dd | afdesignload-layer_test.afdesign | MIT | https://raw.githubusercontent.com/NickBeeuwsaert/AFDesignLoad/a18dd50a7079fb861a28835eeefa0d015f03f4a1/testDesigns/layer_test.afdesign |
| 4 | 04944918ff8e29c5c1b466b7e43c232f7ab80db15fb934080bbcd7baaf093e22 | afdesignload-margins.afdesign | MIT | https://raw.githubusercontent.com/NickBeeuwsaert/AFDesignLoad/a18dd50a7079fb861a28835eeefa0d015f03f4a1/testDesigns/margins.afdesign |
| 5 | 35afa31b89f2b9970eb3701ee64e2a19476383637e8b07689334d6ffe556b593 | afdesignload-raster_test.afdesign | MIT | https://raw.githubusercontent.com/NickBeeuwsaert/AFDesignLoad/a18dd50a7079fb861a28835eeefa0d015f03f4a1/testDesigns/raster_test.afdesign |
| 6 | e56c35f876277b101790ff4384cfde103a093ed6c81790a2d62176de21da339f | afdesignload-revision_test.afdesign | MIT | https://raw.githubusercontent.com/NickBeeuwsaert/AFDesignLoad/a18dd50a7079fb861a28835eeefa0d015f03f4a1/testDesigns/revision_test.afdesign |
| 7 | 08946c60c0da1c8aeea92d65acfb244721eeb3b480ed358609f4a48bbecfc5b9 | afdesignload-shape_test.afdesign | MIT | https://raw.githubusercontent.com/NickBeeuwsaert/AFDesignLoad/a18dd50a7079fb861a28835eeefa0d015f03f4a1/testDesigns/shape_test.afdesign |
| 8 | 7306ab4fcbdc225d816f32a0d2aca15ac887053f60170459ac947e70f4ef343d | afdesignload-slice_test.afdesign | MIT | https://raw.githubusercontent.com/NickBeeuwsaert/AFDesignLoad/a18dd50a7079fb861a28835eeefa0d015f03f4a1/testDesigns/slice_test.afdesign |
| 9 | e5d04bac0235af9386aea251cdd6903ed7810d335fdb6194d0483ea30b14e24a | afdesignload-test_path.afdesign | MIT | https://raw.githubusercontent.com/NickBeeuwsaert/AFDesignLoad/a18dd50a7079fb861a28835eeefa0d015f03f4a1/testDesigns/test_path.afdesign |
| 10 | c499cf3ca73cf7cd3e2e65bed048d1b8ecf03e7167b74d54f0ae6db31868cab8 | affinity3-mexican-guy.af | CC0-1.0 | https://raw.githubusercontent.com/samuel-etver/vector-art/255f8add3c8f0740196e22bd59502b811b532f0b/simple/mexican-guy.af |
| 11 | 730e3fae51d9044ada58f51c7b5f9327d99e8d62376453bc251d0d26cda47743 | affinity3-mexican-man.af | CC0-1.0 | https://raw.githubusercontent.com/samuel-etver/vector-art/255f8add3c8f0740196e22bd59502b811b532f0b/simple/mexican-man.af |
| 12 | 5f5fccc0bd8be2bb3b2a07461ec77a012a61eef1883485d7c80f72d4383231ce | affinity3-mexican-woman.af | CC0-1.0 | https://raw.githubusercontent.com/samuel-etver/vector-art/255f8add3c8f0740196e22bd59502b811b532f0b/simple/mexican-woman.af |
| 13 | 0a52bb923c949c566a4339b996bce1a67b683f61def1a73dfefb910effaa450d | affinity3-playing-cards.af | CC0-1.0 | https://raw.githubusercontent.com/samuel-etver/vector-art/255f8add3c8f0740196e22bd59502b811b532f0b/simple/playing-cards.af |
| 14 | 87a7bd93de16c404f6c6dd9cdebff96ec47832a3b342d2ce0af73d9a87e209e0 | designer-beer.afdesign | CC0-1.0 | https://raw.githubusercontent.com/samuel-etver/vector-art/255f8add3c8f0740196e22bd59502b811b532f0b/simple/beer.afdesign |
| 15 | 09ba790c428e8e09dc0b9ddebb4f3db6daefaa2af1da492ee34e73fba1b8af69 | designer-cactus.afdesign | CC0-1.0 | https://raw.githubusercontent.com/samuel-etver/vector-art/255f8add3c8f0740196e22bd59502b811b532f0b/simple/cactus.afdesign |
| 16 | c3bcd0395b407493bc9d2877d424029b70f0e4c817a56e893f7ac74973df52e5 | designer-car.afdesign | CC0-1.0 | https://raw.githubusercontent.com/samuel-etver/vector-art/255f8add3c8f0740196e22bd59502b811b532f0b/simple/car.afdesign |
| 17 | 112562bc91e7cccf003d34364430544208373c4fb4bb4ab9acdaf27cf0125047 | designer-flowers.afdesign | CC0-1.0 | https://raw.githubusercontent.com/samuel-etver/vector-art/255f8add3c8f0740196e22bd59502b811b532f0b/simple/flowers.afdesign |
| 18 | 023531b8216f2d4da24ab715e3b313506712e50d5f5bf7da927f434def1d0ea2 | designer-lion-track.afdesign | CC0-1.0 | https://raw.githubusercontent.com/samuel-etver/vector-art/255f8add3c8f0740196e22bd59502b811b532f0b/simple/lion-track.afdesign |
| 19 | e1b121d7c3d02356baa5dea512f5aa1fe77249c28d7b227e29cab2bc67ec323a | eviltwo-AssetStore.aftemplate | MIT | https://raw.githubusercontent.com/eviltwo/AssetStoreTemplate/f671981ee89d15526285b3cc87b4393d3defe644/AssetStoreTemplate/AssetStore.aftemplate |
| 20 | fbb196e918e302c16f8de9f2e6dffaef70ab3c317b32a9f44607fd4b2ead0206 | jac21-SimpleLogo.afdesign | MIT | https://raw.githubusercontent.com/Jac21/Branding/57ae3f45bf4637f6927c0b07de25b922c55f944f/Logos/JC/DesignerFiles/Affinity/SimpleLogo.afdesign |
| 21 | 9d874245936483de3ec04cca48b383028d33666801dff1814246a44e695e29b8 | jac21-SimpleLogoBanner.afdesign | MIT | https://raw.githubusercontent.com/Jac21/Branding/57ae3f45bf4637f6927c0b07de25b922c55f944f/Logos/JC/DesignerFiles/Affinity/SimpleLogoBanner.afdesign |
| 22 | ec1072cb03fcd0ed7ac1dfc7e087f4920df545fe9c84a386a7dac2fd33fbbe1f | leakcanary-vector_icon.afdesign | Apache-2.0 | https://raw.githubusercontent.com/square/leakcanary/00880a8fb66eb4046a0124bff8303a04874bc07e/docs/assets/vector_icon.afdesign |
| 23 | bbc50c8c376e0e5980939be7df6769feed1a30289c7efc6391b204dfb15de88d | patchy-LICENSE.txt | MIT | https://raw.githubusercontent.com/SethRobinson/Patchy/de84eab550758b30fa062e479f5778cce7693b73/LICENSE |
| 24 | 150e423be0c5eb22f252a38c2de68ab3ccec7e20bfba166f7ddd622ac243d8f4 | patchy-NOTICE.txt | MIT | https://raw.githubusercontent.com/SethRobinson/Patchy/de84eab550758b30fa062e479f5778cce7693b73/NOTICE-THIRD-PARTY.md |
| 25 | 9bea4e2ceddc2438943c3b26505299389d07c64bbe2821be01eba9e69a06ce1e | patchy-adjust-curves.af | MIT | https://raw.githubusercontent.com/SethRobinson/Patchy/de84eab550758b30fa062e479f5778cce7693b73/test-fixtures/af/tiny-adjust-curves.af |
| 26 | 3141df41efeab7a250782e1418d96d4faf3b15107763df8002714aa8a8edd259 | patchy-adjust-hsl.af | MIT | https://raw.githubusercontent.com/SethRobinson/Patchy/de84eab550758b30fa062e479f5778cce7693b73/test-fixtures/af/tiny-adjust-hsl.af |
| 27 | 0361284661e1376b91675cb5f7705b1d560711c9f86aa53e255ee5365e023680 | patchy-artboards.af | MIT | https://raw.githubusercontent.com/SethRobinson/Patchy/de84eab550758b30fa062e479f5778cce7693b73/test-fixtures/af/tiny-artboards.af |
| 28 | 7239c42b6f9fb25b6ad9c12397afb4e0c1361a505e8126855d3a8cb45b192b87 | patchy-blend-affinity.af | MIT | https://raw.githubusercontent.com/SethRobinson/Patchy/de84eab550758b30fa062e479f5778cce7693b73/test-fixtures/af/tiny-blend-affinity.af |
| 29 | 4d1fd761dd1508a31d37c4f4acbe01ca0d336ef3cb9bfdcddfc40ad4102f9d74 | patchy-cmyk.af | MIT | https://raw.githubusercontent.com/SethRobinson/Patchy/de84eab550758b30fa062e479f5778cce7693b73/test-fixtures/af/tiny-cmyk.af |
| 30 | 75975eea4c325b90beac5015f6c2731156e90a5ec0f4c0a22aa6324e5dcb4ffc | patchy-dpi300.af | MIT | https://raw.githubusercontent.com/SethRobinson/Patchy/de84eab550758b30fa062e479f5778cce7693b73/test-fixtures/af/tiny-dpi300.af |
| 31 | bd15ca80e322eb38460176e1b9b187247c3b9e455e55624f71ae5db1122a1eed | patchy-embedded-jpeg.af | MIT | https://raw.githubusercontent.com/SethRobinson/Patchy/de84eab550758b30fa062e479f5778cce7693b73/test-fixtures/af/tiny-embedded-jpeg.af |
| 32 | 62c9a5c4cff475a1a47ad6582d24b4fcb56ac84e94641b7ca44c9f8b05053bf1 | patchy-fx-blur.af | MIT | https://raw.githubusercontent.com/SethRobinson/Patchy/de84eab550758b30fa062e479f5778cce7693b73/test-fixtures/af/tiny-fx-blur.af |
| 33 | d515c84a702aee19359740e61f4ff16b02e363533f24287be5e1ba4b3539ef54 | patchy-fx-gradient.af | MIT | https://raw.githubusercontent.com/SethRobinson/Patchy/de84eab550758b30fa062e479f5778cce7693b73/test-fixtures/af/tiny-fx-gradient.af |
| 34 | eeb8f0988a7effe2088ead4015916bed13875d9aaa88a3bf477127214831e820 | patchy-fx.af | MIT | https://raw.githubusercontent.com/SethRobinson/Patchy/de84eab550758b30fa062e479f5778cce7693b73/test-fixtures/af/tiny-fx.af |
| 35 | 3da524362f70f316c3be4beab2022e2ae7275bbd153cc7204bc328a7dc8a538a | patchy-group.af | MIT | https://raw.githubusercontent.com/SethRobinson/Patchy/de84eab550758b30fa062e479f5778cce7693b73/test-fixtures/af/tiny-group.af |
| 36 | 25ee650339e7951a4db76932e889e0558134bd6b55be7c5b5c7d54b601c053bf | patchy-incremental-chain.af | MIT | https://raw.githubusercontent.com/SethRobinson/Patchy/de84eab550758b30fa062e479f5778cce7693b73/test-fixtures/af/tiny-incremental-chain.af |
| 37 | f83c1bd0108315c95f55ddbfb84b7188e73c301dbeb0e3a209ddf991075737b0 | patchy-lab.af | MIT | https://raw.githubusercontent.com/SethRobinson/Patchy/de84eab550758b30fa062e479f5778cce7693b73/test-fixtures/af/tiny-lab.af |
| 38 | da724875124ca2dea2ab69671198c9e0af87f8e325d634c8f6d4256210b00dcc | patchy-lazy-placed.af | MIT | https://raw.githubusercontent.com/SethRobinson/Patchy/de84eab550758b30fa062e479f5778cce7693b73/test-fixtures/af/tiny-lazy-placed.af |
| 39 | 59da2bb7d58a356e09ca1819020af85bb05217b1b24ec55df9f9f2ff5235c68a | patchy-live-filter.af | MIT | https://raw.githubusercontent.com/SethRobinson/Patchy/de84eab550758b30fa062e479f5778cce7693b73/test-fixtures/af/tiny-live-filter.af |
| 40 | 9e505e5dc5f0854d2a13ae30699b000b32f40b80d80afd570f00a33952ca895e | patchy-rgba16.af | MIT | https://raw.githubusercontent.com/SethRobinson/Patchy/de84eab550758b30fa062e479f5778cce7693b73/test-fixtures/af/tiny-rgba16.af |
| 41 | 9f2a838484399dfc4da4af893facf9d0cd33ed40173aa88264fe8f3756d81a42 | patchy-rgba8.af | MIT | https://raw.githubusercontent.com/SethRobinson/Patchy/de84eab550758b30fa062e479f5778cce7693b73/test-fixtures/af/tiny-rgba8.af |
| 42 | 5dab9c128aa791558ccb8e995e6bf89cc1c50bfcd907dfdce9c764163503e17a | patchy-shapes-2.af | MIT | https://raw.githubusercontent.com/SethRobinson/Patchy/de84eab550758b30fa062e479f5778cce7693b73/test-fixtures/af/tiny-shapes-2.af |
| 43 | dba88c1c2e1c1cca947af6ebc82e32457301b228c8f6a9483edbae7c4ef32653 | patchy-shapes.af | MIT | https://raw.githubusercontent.com/SethRobinson/Patchy/de84eab550758b30fa062e479f5778cce7693b73/test-fixtures/af/tiny-shapes.af |
| 44 | f03afbf8965a137439f2fb5d228e2c3349ca81d26e4e7e426b2fcc191348a7f4 | patchy-text-artistic.af | MIT | https://raw.githubusercontent.com/SethRobinson/Patchy/de84eab550758b30fa062e479f5778cce7693b73/test-fixtures/af/tiny-text-artistic.af |
| 45 | 66b4fadba91cdf974c1ddef021ce073ecc09b5b25d8c273d400d6c71265b7b75 | patchy-text-caps.af | MIT | https://raw.githubusercontent.com/SethRobinson/Patchy/de84eab550758b30fa062e479f5778cce7693b73/test-fixtures/af/tiny-text-caps.af |
| 46 | 0cf93a1105878ad237e7f3d724be8e85619efd91d2c7fc6ae63b121e0930fc72 | patchy-text-frame.af | MIT | https://raw.githubusercontent.com/SethRobinson/Patchy/de84eab550758b30fa062e479f5778cce7693b73/test-fixtures/af/tiny-text-frame.af |
| 47 | dfb6ca947e0d33091a7d6d9466f379cc22e3e8847ae7722d8e93bd89a0e8b813 | patchy-text-indent.af | MIT | https://raw.githubusercontent.com/SethRobinson/Patchy/de84eab550758b30fa062e479f5778cce7693b73/test-fixtures/af/tiny-text-indent.af |
| 48 | 56c5d030b9956151110e57fe83aebc47d141efce4df424f6ff5643312c4a7549 | patchy-text-para-spacing.af | MIT | https://raw.githubusercontent.com/SethRobinson/Patchy/de84eab550758b30fa062e479f5778cce7693b73/test-fixtures/af/tiny-text-para-spacing.af |
| 49 | a5ccb62ee8d7e36d1a19a037aba989a5ba0232767e9f3305f7d9f7d4603291dd | patchy-text-rotated.af | MIT | https://raw.githubusercontent.com/SethRobinson/Patchy/de84eab550758b30fa062e479f5778cce7693b73/test-fixtures/af/tiny-text-rotated.af |
| 50 | 07c54ed90e49c4d791964228bee638fbff95a7b06dc3eccbedb3016f9fcef05e | patchy-text-runs.af | MIT | https://raw.githubusercontent.com/SethRobinson/Patchy/de84eab550758b30fa062e479f5778cce7693b73/test-fixtures/af/tiny-text-runs.af |
| 51 | 87e1dee23769932b7e414116233063a8d68726cbffdebb975b3cd0ef447c602a | patchy-transform.af | MIT | https://raw.githubusercontent.com/SethRobinson/Patchy/de84eab550758b30fa062e479f5778cce7693b73/test-fixtures/af/tiny-transform.af |
| 52 | fa5dd80f44ae0712a9888c62953fd442a28119034d343db93b7892d5d2a61328 | patchy-vector-mask.af | MIT | https://raw.githubusercontent.com/SethRobinson/Patchy/de84eab550758b30fa062e479f5778cce7693b73/test-fixtures/af/tiny-vector-mask.af |
| 53 | 8ab1995ecbd9306ebcb7a4d2cd81701f34401e67f08b242f14dc3e3d04c94803 | patchy-vector.af | MIT | https://raw.githubusercontent.com/SethRobinson/Patchy/de84eab550758b30fa062e479f5778cce7693b73/test-fixtures/af/tiny-vector.af |