Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/thorvg/thorvg

Thor Vector Graphics is a lightweight portable library used for drawing vector-based scenes and animations including SVG and Lottie. It can be freely utilized across various software platforms and applications to visualize graphical contents.
https://github.com/thorvg/thorvg

updated doc

e4ae146716b639a6a1aa8df86b0e248b7bb88491 authored over 3 years ago by Hermet Park <[email protected]>
infra: just released v0.5.0

5ad17c6ccfc2142c1fe16a4e727f3625a7092c0e authored over 3 years ago by Hermet Park <[email protected]>
sw_engine: fix compiler a warning

handle them double type values.

44768e712515e62aac990736fd2276d24cf33cb7 authored over 3 years ago by Hermet Park <[email protected]>
tvg_saver: resolve sanitizer report.

"runtime error: load of misaligned address 0x7fb67895c815 for type 'unsigned int', which require...

daa114aafa416a091fdedec1a9b37d13fbbbecb3 authored over 3 years ago by Hermet Park <[email protected]>
tvg_saver: fix the memory leak.

3ee6883f16d383995c587acccb4a52471b65b43d authored over 3 years ago by Hermet Park <[email protected]>
tvg_loader: resolve sanitizer report.

"runtime error: load of misaligned address 0x7fb67895c815 for type 'unsigned int', which require...

c8cc973888e6d1148264f619c85fea93ca2f1b7c authored over 3 years ago by Hermet Park <[email protected]>
infra: turn off the simd option in default.

avx is unstable, we can't recommend to use it.

9128272ee36f7adda02447dc249c3c270bd4b986 authored over 3 years ago by Hermet Park <[email protected]>
common paint: refine the bounds() api to return the values after applying transformation.

Current paint::bounds() returns the coordinates under the raw status,
the values are not quite u...

74954db56d9c1d6c8507a963f34a64c8b50238f6 authored over 3 years ago by Hermet Park <[email protected]>
apis: release official apis.

tvg picture is going to be released, we need the Saver as well.
Also, two stable periperal apis ...

000d3ec2f0e4f2703e4a70ed36edda6521bdb30a authored over 3 years ago by Hermet Park <[email protected]>
api: remove the redundant api, Picture::paint().

tvg::Picture is replaced to tvg::Scene if the picture has the vector tree,
Thus it's useless sin...

e784143ff8ecd75421c3211df520b7e5ef07a848 authored over 3 years ago by Hermet Park <[email protected]>
sw_engine Raster: Improving image quality in image scale down

An average value sampled based on adjacent pixels of the target pixel is used.

56d31775ffa792023877d7f7d68e146e772de11c authored over 3 years ago by JunsuChoi <[email protected]>
wasm: enable png loader (#828)

dcbcc409dfe61a9f08b9101479a16dcb12cde641 authored over 3 years ago by Michal Maciola <[email protected]>
example image: added image image-embeded-png.svg (#827)

4c13246f9ca1fc8cc1c6c6d38820c8871aed4afd authored over 3 years ago by Michal Maciola <[email protected]>
sw_engine avx: removing not portable variable type

__m256i_u is an internal gcc/clang type, which can not be used by msvc.
To ensure the portabilit...

8ef928fcfc5219276f322252535f9c7088aef875 authored over 3 years ago by Mira Grudzinska <[email protected]>
common: change args type in the internal size() implementation

The API expected floats, whereas the called impl function expected
ints. The values were saved a...

90fa4fbe6dfa3ea5a08e3b03af7d0fafd2baffdb authored over 3 years ago by Mira Grudzinska <[email protected]>
infra: excluding pthread lib dependency on windows os

c5430684d154b220e87fe3d1c8f27540f363f37a authored over 3 years ago by Mira Grudzinska <[email protected]>
example: refactoring

cfacdd705fe2cef8aeb5de5353818f4799dee253 authored over 3 years ago by Mira Grudzinska <[email protected]>
svg: fix url property

If 'fill="url(#image)"' and defs with id 'image' was not found, the paint was
improperly filled ...

702f452c6c5d014eea982687256086eceba1395e authored over 3 years ago by Michal Maciola <[email protected]>
common: preventing msvc compiler warnings (#817)

4589196689300387e251b773eae22b1f5d195290 authored over 3 years ago by Mira Grudzinska <[email protected]>
common: preventing possible compiler warnings

9d63e2894d0fd4c882b3054175dddabde2363e39 authored over 3 years ago by Mira Grudzinska <[email protected]>
prepare to release tvg format feature.

75e1310c7a023b0531e6b32caa49e942edd1bb1c authored over 3 years ago by Hermet Park <[email protected]>
tvg_saver: code refactoring

removed the duplicated given child transform code,

no logical changes actually.

3d93867e8e5d85dfd4256f4265cd0a3d762f2906 authored over 3 years ago by Hermet Park <[email protected]>
examples: updated tvg resources.

80a940c70adc0656d3c687efa2ef264adf48f6bf authored over 3 years ago by Hermet Park <[email protected]>
tvg_saver: proper serialization of a grad fill

In the case when a gradinet fill is present, the transformation matrix
can't be preapplied.

6b216e362d672f4cadd2c0dfeb1e200f44a7d1d6 authored over 3 years ago by Mira Grudzinska <[email protected]>
sw_engine: Fixed build errors.

09301dfde1f2be9df0212e40f9a29e8e03e9fe37 authored over 3 years ago by Michal Szczecinski <[email protected]>
tvg_saver: do not merge if the shapes have outlines.

Merged shapes with outlines expects the layered,
unfortunately tvg can't cover the situation.

@...

ee7dc1352eb0c7410cf9f2cb18ac97615bda0c47 authored over 3 years ago by Hermet Park <[email protected]>
examples: updated favorite tvg to fix position issue.

e5f8bc99b789eb3f86b70c95cfcd917b3f115e34 authored over 3 years ago by Hermet Park <[email protected]>
examples: updated tvg resources

these two resources were fixed by the positioning.

c4e1a1f7522f5133c1caa4b23882a6e69591c04e authored over 3 years ago by Hermet Park <[email protected]>
examples: updated tvg resources

4142237cac801bc75cf529086059b31cfd8cff9a authored over 3 years ago by Hermet Park <[email protected]>
svg_loader: proper svg resizing

Solves the problem of 'vx' and 'vy' < 0 and cases with 'width'
and 'height' values different tha...

c9c37762074bb0783d57397766ce68ed5d20f30e authored over 3 years ago by Mira Grudzinska <[email protected]>
wasm: paint opacity in the layers list (#804)

1d8625d40dd3775fb5f25f624719389ae08512cb authored over 3 years ago by Michal Maciola <[email protected]>
examples: updated tvg sample

47c1aac562367588618389ed2c7d9c1671b90e7a authored over 3 years ago by Hermet Park <[email protected]>
examples: extends svg samples

e3266ac19c4346078db28bfb5ac00b482b0729b1 authored over 3 years ago by Hermet Park <[email protected]>
svg_saver: shifting 'preTransform' value changing

'preTransform = false' makes sense in case a stroke exist,
so not only when the stroke-width > 0...

d3368c9727f52324e725106a097bf9b9ad1cbb2e authored over 3 years ago by Mira Grudzinska <[email protected]>
example images: added rotlines.svg (#796)

150cff0fd5d723985ee92a326d52cd25ee0aff84 authored over 3 years ago by Michal Maciola <[email protected]>
wasm: improved bounds calculation (#795)

Improved bounds calculation in case a rotation is applied

e62f8a0db4e5df0148ae984d43d6f3b2f489cae2 authored over 3 years ago by Michal Maciola <[email protected]>
Update README.md

8c2e762e98abc2796aaddb9e5d39f6457df3f63e authored over 3 years ago by Hermet Park <[email protected]>
wasm: validate empty data (#790)

e91dcdb0de259c63dd5b6bd51d2447a10061ee4f authored over 3 years ago by Michal Maciola <[email protected]>
wasm: remove default data (#789)

b294a71613924d4b33764569ef9737822c34272b authored over 3 years ago by Michal Maciola <[email protected]>
api: removed unused

4e9452c4b8589e594488ee6dc2adaa899317767f authored over 3 years ago by Hermet Park <[email protected]>
Wasm: allow iterator and add functions for layers revising (#730)

* common: move iterator functionality into separate IteratorModule
* wasm: allow internal lib d...

2a2ccb30bd1bb1069c0e23581e6a4e605707d4fc authored over 3 years ago by Michal Maciola <[email protected]>
wasm: pass mimetype on loading and store original size

This patch adds the mimetype parameter for load() function and adds storing of
an original size ...

f732479acca2b482481b72fca81c898f5c623ad4 authored over 3 years ago by Michal Maciola <[email protected]>
api: set default value nullptr for user convenience.

79933d9efaee86cd8b38a77f61cd406535c9cb2b authored over 3 years ago by Hermet Park <[email protected]>
wasm: add force parameter for update() function

8c4197a8a5e8b825c4ffd8f7d41b21b43a8e22ab authored over 3 years ago by Michal Maciola <[email protected]>
sw_engine image: fix the clipped image issue.

there was a wrong condition introduced the bug that image was not updated,
because transformatio...

1ea96928413ff21d9ab639ca17864af3fa593dcc authored over 3 years ago by Hermet Park <[email protected]>
examples: updated a tvg resource.

789083527e5852fc0022f6a1204c257950d8917b authored over 3 years ago by Hermet Park <[email protected]>
tvg_saver: fix the stroke width scaling factor

To get the scaling factor from the transformation matrix we have
to use two of its elements.

288c9f5c1dcb207f28a4851b3728357e2a6a2bfd authored over 3 years ago by Mira Grudzinska <[email protected]>
examples tvg: added a new example to verify tvg resources.

These tvg resources might be updated before official release.

b495f04ef40b07f917361b9f5ad005ee87a09fe5 authored over 3 years ago by Hermet Park <[email protected]>
sw_engine: overlaping stroke cap

A square or a round cap was mistakenly added to the parts
of the dashed lines that should be con...

ae6d57446680d0fc12e3a50b892e89edeac0cd04 authored over 3 years ago by Mira Grudzinska <[email protected]>
tvg_saver: fix a wrong logic by mistake.

an incorrect logic was introduced by mistake.

that breaks the tvg memory chunks.

now recover i...

f652b33a27f3e79adb4574e1457ec47c6b4f23b6 authored over 3 years ago by Hermet Park <[email protected]>
tvg_loader: code refactoring.

no logical changes in the succesful cases,

change the code for better readibility.
and add log ...

e381edacb71e307ccaff1a19cac7370bda0601d2 authored over 3 years ago by Hermet Park <[email protected]>
tvg_saver: fix the incorrect stroke transformation

Saver tries to pre-transfom to skip the matrix data,
but it missed the case - transformed stroki...

f1d9f691ccc64bbc74b59ca9c7fc3ebf095c8ccb authored over 3 years ago by Hermet Park <[email protected]>
svg_loader: parsing flags in the elliptical arc curve

Since the arc flags can have values 0 or 1, we reported as
an error cases, when a float value wa...

b421660676bc13db3484889ac76b1c21ea313445 authored over 3 years ago by Mira Grudzinska <[email protected]>
tvg_saver: save the missing scene reserve count. (#771)

This reserved count was just missed,
Aside from it, tvg_loader logic is not well organized (har...

d21089ddfd6215534d8c3a787b95290a9f2322fd authored over 3 years ago by Hermet Park <[email protected]>
tvg_loader: code refactoring & optimization loading. (#772)

Skip the reassigning values by the flags,
We assume those property values are reserved,
leave ...

eddd253c55b728651e0ac2eac6b17494f037b494 authored over 3 years ago by Hermet Park <[email protected]>
sw_engine: handling clips from outside the render region

Clips from outside the rendering region were ignored resulting
in rendering shapes, which should...

5cad097485b1ebda2a155c8bb0514b5e1e76e373 authored over 3 years ago by Mira Grudzinska <[email protected]>
Revert "sw_engine avx: the not aligned memory separated in the rasterRGBA32 func"

This reverts commit dafc229a757b71feb3f67c8bf4f8073f662d6964.

d6193dddd0137758a3ae2565acce4f75b6088b18 authored over 3 years ago by Hermet Park <[email protected]>
sw_engine avx: the not aligned memory separated in the rasterRGBA32 func

The aligned and not aligned memory parts handled separately.
This gives around 10% of the perfor...

dafc229a757b71feb3f67c8bf4f8073f662d6964 authored over 3 years ago by Mira Grudzinska <[email protected]>
utc: testing loading and saving .tvg

Added tests of loading and saving .tvg.
Created testSavers.cpp. Created files tag.tvg and test.t...

3ded3e359d1376d98d4fe7e140755f42d37de8db authored over 3 years ago by Michal Maciola <[email protected]>
test SwEngine: increasing lines coverage (#767)

All functions from tvgSwStroke.cpp called.

5c504cbfe646de5128dadc42cfdbae15b13b535c authored over 3 years ago by Mira Grudzinska <[email protected]>
test SwEngine: _rasterTranslucentRect added into the tests

dddb38d9005f94c67468681b38c2bb11f6b29893 authored over 3 years ago by Mira Grudzinska <[email protected]>
test SwEngine: raster image functions included into the unit tests

All image rastering funcions called in the 'Image Draw' test case.

2fb07d9ac8daed20b93fc45d1683b37106af40c5 authored over 3 years ago by Mira Grudzinska <[email protected]>
sw_engine: calling avxRasterTranslucentRect instead of its c version

For avx vector support the avxRasterTranslucentRect should be called
instead of cRasterTransluce...

3a54c5e2196db09d728e66963ea63c0791bc080f authored over 3 years ago by Mira Grudzinska <[email protected]>
docs: minor linguistic changes (#759)

d7cb87971b45bfe2cf57a846916cf3de563a553a authored over 3 years ago by Mira Grudzinska <[email protected]>
svg2png: changed help message (#762)

bf2e9631bf9954797dca5e7d2bb4fd8d8aa2f8e5 authored over 3 years ago by Michal Maciola <[email protected]>
svg2png: fixing the args interpretation (#760)

The background color was misinterpreted and its value was treated
as an svg file name (warning ...

a1480bedb1819172a2e04d44a37782787086f71b authored over 3 years ago by Mira Grudzinska <[email protected]>
tvg_loader: guarantee the buffer ends with the null character

the issue is detected by asan.

c6becf4ec66a71275697a628313019126d52c4d8 authored over 3 years ago by Hermet Park <[email protected]>
sw_engine neon: refactoring

One if statement less.

c0e21bfceedceb08e972a92d911420095502216b authored over 3 years ago by Mira Grudzinska <[email protected]>
sw_engine neon: fix the iterations number of 'neon calls'

In the case, when the dst memory was not aligned,
we went out of the dst range in the 'neon loop'.

36ac948ec9c0de53b4fe851db912747417f12241 authored over 3 years ago by Mira Grudzinska <[email protected]>
README: updated svg2png section (#758)

4b8229f1c340ede65b2d91db8caf885325bc3947 authored over 3 years ago by Michal Maciola <[email protected]>
Update README.md

e9871361a21c7d362e3e99427818ce2bc5eb67cf authored over 3 years ago by Hermet Park <[email protected]>
sw_engine: code refactoring.

simplify neon code and fix the wrong range access.

01e1fec367e0ed7cf2bb052089b12e9c406f30d8 authored over 3 years ago by Hermet Park <[email protected]>
tvg_loader: fixed a wrong delete call.

delete is not expected here, malloc-free must be paired.

37e801132509d522a958e91a34dbd068943b10fe authored over 3 years ago by Hermet Park <[email protected]>
tvg saver: enabling gradient transformation

A gradient transformation was omitted when saving
into the tvg format. Fixed

dee32053c64f84afaa713c227bc9c8987d6214bb authored over 3 years ago by Mira Grudzinska <[email protected]>
doc: Enhance appendPath docs

Added description according to api behavior change

700abffd387f23484ed8340239f41065e69f1713 authored over 3 years ago by JunsuChoi <[email protected]>
tvg_format: fix broken clippath region.

there some multiple wrong calculation about size during tvg optimiation.
this patch fixes them.
...

2fcc06b5535d4277bc81e5e2439ede7c679ef012 authored over 3 years ago by Hermet Park <[email protected]>
wasm: fix loading for binary files

This patch changes load function in thorvgwasm.cpp for using size()
instead of strlen(). It fixe...

ed31fc215fe80ef9078ca3591a13c3242461b97e authored over 3 years ago by Michal Maciola <[email protected]>
sw_engine shape: prevent crash when wrong pair of commands & points.

add an exception handling,
if the given points count is not matched with expected points count f...

f2252787eea22b4daed79b22c8e411279689e09d authored over 3 years ago by Hermet Park <[email protected]>
sw_engine avx: addad ALPHA_BLEND and avxRasterTranslucentRect functions

Both functions implemented using 128-bit registers.
avxRasterTranslucentRect is around 5 times f...

54b328b1a93da596ee985ae8a57b3be96dc7fae6 authored over 3 years ago by Mira Grudzinska <[email protected]>
wasm: intoduce saveTvg via File System API

This patch adds saveTvg() function into thorvgwasm.cpp.
Functions saves tvg using File System AP...

7be4bf4c4f9e1acb884fdf203a4b96fb3a8282b7 authored over 3 years ago by Michal Maciola <[email protected]>
tvg_loader: make sure the pointer does not exceed the size

fe474856b97eb6d51a15df802f365895689bc46c authored over 3 years ago by Michal Maciola <[email protected]>
tvg format: fix broken encoding/decoding.

a regression bug was introduced by 52a7a257b2fb863f1e9e9292de7291b7e2986adf
in size calculation ...

d599f744c83c3288e70863640ffad4d1aabb30ad authored over 3 years ago by Hermet Park <[email protected]>
common picture: quick fix the broken bounds() interface.

picture must return the boundary info - 0, 0, w, h
We assume that it has a designated picture si...

3d80f0a9e9b6e870127c267aa7eef9364fe3bbd9 authored over 3 years ago by Hermet Park <[email protected]>
svg: fix opacity percentage value parsing

Percentage values wasn't handled by _toOpacity() function. Other incorrect values
was handled wr...

ae3141d65c0cc1c54a7b526dc5606fd6c2e83765 authored over 3 years ago by Michal Maciola <[email protected]>
Update CONTRIBUTING.md

f5f1e9f3a414afbbef089cd7970b471ccabb1f36 authored over 3 years ago by Hermet Park <[email protected]>
sw common: Added neon translucent rect API implementation.

Changes:
Added neonRasterTranslucentRect implementation. Rendering was tested on
32 lottie fiels...

94a3e92fddadb84b76b1737a2fcb6fa6830d4517 authored over 3 years ago by Michal Szczecinski <[email protected]>
tvg_format: newly introduced for tvg data compression.

By choosing compress option, tvg tries to compress the data to reduce the binary size.
Since the...

52a7a257b2fb863f1e9e9292de7291b7e2986adf authored over 3 years ago by Hermet Park <[email protected]>
Update README.md

80f02c64d1584e752ec31749ca007c8e18ff234a authored over 3 years ago by Hermet Park <[email protected]>
res: updated images

077132e9d9a5979db762d8ed05d613eca15366c2 authored over 3 years ago by Hermet Park <[email protected]>
res: updated images.

documentation images are not updated,
remove the file first and add again.

ff32d7ce2e1e9e4ebf793d89adb513cb0b0682d5 authored over 3 years ago by Hermet Park <[email protected]>
res: updated images.

e8452560579f83e56027a60da3beaf186cf2481c authored over 3 years ago by Hermet Park <[email protected]>
Update README.md

8d02b459adecb2ee32a3629d17fdda1da05bda01 authored over 3 years ago by Hermet Park <[email protected]>
utc: increase coverage of picture and fill

8ed6a1a12d1ed4914c603585b4f13b54bc5bb6a7 authored over 3 years ago by Michal Maciola <[email protected]>
utc: increase coverage SwEngine

f66ea21e9c4da996ca9af6ba16d8c5596b503a2a authored over 3 years ago by Michal Maciola <[email protected]>
wasm: turn off the vectorization.

We can visit this feature later when it's stable.

2ceee70fcfdb55ff2bc1eec24ee03a87f3cd6276 authored over 3 years ago by Hermet Park <[email protected]>
utc: increase coverage up #1

d82b088b7a8fdca89172e3e9635a05022ff710a0 authored over 3 years ago by Michal Maciola <[email protected]>
utc: increase coverage up

3a05ae4c0188d7bb35c4f8a1dcff37aded24d61a authored over 3 years ago by Michal Maciola <[email protected]>
infra: simplify vector meson option.

neon/avx can't be resided in together,
we replace it with a string variable.

6f95e9dbe7e11ef0a6caf9bb6c59303a9aab98c8 authored over 3 years ago by Hermet Park <[email protected]>
svg2png: enhance the feature.

Svg2png fully redesigned.
Introduced whole directory parsing. Created flags interface.

Usage...

78dd50acc01f54faefdd9486c7cc9995ba0a0758 authored over 3 years ago by Michal Maciola <[email protected]>
picture: fix reloading images

Calling picture->load after it was already once called resulted in
segmentation fault or memory ...

399caaaff9bd502ff9c80672e492c1a2ff499eec authored over 3 years ago by Michal Maciola <[email protected]>