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

svg2png: changing image size

For resolution > 8k image's width and height are changed,
but the change was not applied to the ...

11b36aa4c9a2a42f586381c0eb19c0337fa16c8a authored over 1 year ago by Mira Grudzinska <[email protected]>
svg_loader: fixing percent. calculations of width/height

The conversion to percentages was applied twice.
Additionally, when a viewbox value was provided...

4599067bee8a1f761ed4b9d64884e6335e04bf6a authored over 1 year ago by Mira Grudzinska <[email protected]>
common: fixing log std stream

By mistake, stdout was switched to stderr
for logs. Fixed.

21ac44d1203ff5e0bd41312f198caa41cf210c8c authored over 1 year ago by Mira Grudzinska <[email protected]>
svg_loader: fix memory violation.

LoadModule data is designed to be returned to the user's call.
and should not be writable in Tas...

f82c274444f86f3c70a7406cc4a8442f61e34cac authored over 1 year ago by Hermet Park <[email protected]>
examples image: ++sample svg

f8c45cb175df6fc10ac6fdd2d7cfc4dd771ce79e authored over 1 year ago by Hermet Park <[email protected]>
svg_loader: code refactoring.

simplify the logic and remove unnecessary member data.

9a9c0e7907b2b11f34fbbfbe68f82515b158a91d authored over 1 year ago by Hermet Park <[email protected]>
svg_loader: handling svg width/height in percentages

The percentages should refer to the size of the viewbox.
This was not the case for not knowing t...

92346c4119f72eea7c7c0d36ab396d7d4af6e94f authored over 1 year ago by Mira Grudzinska <[email protected]>
updated AUTHORS

cf41e1edf76408fdfad71f93a19b48fd8449bc51 authored over 1 year ago by Hermet Park <[email protected]>
sw_engine: ++thread-safety

One more regression bug by afea40a947c7c902b5242e82c13ec5625bedfe59

As tasks will now be trigge...

bc7b448c01f35a027bf2ba0b207ab3f55ec3d945 authored over 1 year ago by Hermet Park <[email protected]>
engine/loaders: Migrate alpha premultiplying to the engine side.

It's not efficient to handle alpha premultiplying in every loader.
The backend engine should be ...

e9b12aa9f76b417fe1cca63da6bf6e76f4289ebb authored over 1 year ago by Hermet Park <[email protected]>
common picture: tiny optimization.

Currently Picture doesn't allow to change the image source.
Thus reloading is not non-sense.

9fb66973f0f56c1a5da1d9640e16fa253a5ad664 authored over 1 year ago by Hermet Park <[email protected]>
loaders: Remove the color space conversion on the loader side.

Now, the job is completely delegated to the backend engine.

c710af2560e7eb2716a3b2bb4e408f70e9b1e55c authored over 1 year ago by Hermet Park <[email protected]>
updated gitignore

a4b2699f8614123878ee12824d78f8083e09a83f authored over 1 year ago by Hermet Park <[email protected]>
sw_engine: supports the color space conversion.

Currently implements only the necessary functions for converting
between ARGB and ABGR.

Now con...

b733030357ce07e1998529cd348f8f2cc9e207ce authored over 1 year ago by Hermet Park <[email protected]>
engine/loaders: develop the ColorSpace feature infrastructure

Replace the existing fragile usage of the colorspace data type
with a new and robust concrete Co...

cf4484c1ad1603c7464496f9566b19f6f103c1b7 authored over 1 year ago by Hermet Park <[email protected]>
tvg_saver: fixing file opening mode

Opening files in text mode on windows can
cause issues. Fixed by changeing the mode
to binary.

...

bce5aef0687beb65b1c26bf04f2b7cecb22d9c4b authored over 1 year ago by Mira Grudzinska <[email protected]>
common engine: code refactoring

Introduce the RenderMesh structure to reduce the number of required parameters.

84012651cc9f9b524f37ad57800aa9a93fcee38c authored over 1 year ago by Hermet Park <[email protected]>
common engine: code refactoring

Unify renderImage and renderImageMesh and hide their routines in backends.

6d08586883d4f68a785eee6dc5037324ffd5d4cb authored over 1 year ago by Hermet Park <[email protected]>
Update AUTHORS

65116b87ada27689d79fa4db241cf777f3b268c5 authored over 1 year ago by Hermet Park <[email protected]>
Regression finder

e8b1c654d4b329b303091956f89f5c6c7cc5b7b8 authored over 1 year ago by Rafał Mikrut <[email protected]>
common: code refactoring

Use own bit operation helper.

8a67bff7c9023526621c268cff7dc9d69506650b authored over 1 year ago by Hermet Park <[email protected]>
loader svg: ++code readability

Use own bit operation helpers.

1e370712e0085fdb950e1f257ea313ac44c2ac4e authored over 1 year ago by Hermet Park <[email protected]>
sw_engine rle: The out-of-range memory access has been fixed.

@Issue: https://github.com/thorvg/thorvg/issues/1370

20466ea78f196db84d1b85f3cb048d3bf17086bb authored over 1 year ago by Hermet Park <[email protected]>
sw_engine mempool: fixed to address a potential memory corruption issue.

The previous memory pool was being shared by both the main and first threads,
which could lead t...

7e3380db8b13d11b3b822494e563cce2122cd1a0 authored over 1 year ago by Hermet Park <[email protected]>
common taskscheduler: fix a potential crash issue.

Guarantee the tasks are not deleted until the taskscheduler finished them.

@Issue: https://gith...

ac8d0018b5f4188ae59614d5fe12fb17c8372d21 authored over 1 year ago by Hermet Park <[email protected]>
svg_loader: removed unused code

While css styling applied one of conditions was
always false. It is now removed and the function...

bf2b3483438c43114ae82c41081219740cb2df5a authored over 1 year ago by Mira Grudzinska <[email protected]>
svg_loader: fixing grad overwritting

Gradient was mistakenly overwritten in
files in which the <def> section existed,
but grad was de...

83ffe9f612e8f88c73f29a04372e04576e109aaa authored over 1 year ago by Mira Grudzinska <[email protected]>
common: polished the log message.

Removed 'l.'. It just bothers in reading numbers.

92dbc8507e5260c20a8c5f48d6cf39e685750559 authored over 1 year ago by Hermet Park <[email protected]>
svg_loader: removing setting the locale

The locale was set while reading the path attr,
which could have caused race conditions between
...

ef93a45d5645fd4ef3db76c3b276dcbf4ee4f456 authored over 1 year ago by Mira Grudzinska <[email protected]>
capi: type identifier apis added

The tvg_gradient_get_identifier and tvg_paint_get_identifier
apis have been introduced. They set...

cc75928c234cd96c00f168c73aadecf0da912ef0 authored over 1 year ago by Mira Grudzinska <[email protected]>
svg_loader: changed update order

The gradient was updated before the style,
which resulted in only the URL tag being
inherited, b...

74c9a5f795bfb12344877b7618595279d1d46c97 authored over 1 year ago by Mira Grudzinska <[email protected]>
tests: ++coverage of the svg_loader

5f5b4fdb8026901c09c0c0044d3c628c66b2904e authored over 1 year ago by Mira Grudzinska <[email protected]>
svg_loader: fixing 'infinity' handling in svgUtilStrtof

The word 'infinity' was not read to the end due to
the pointer shifting.

b0991b6ce7ebac2613b648ca845b58b87f1ee311 authored over 1 year ago by Mira Grudzinska <[email protected]>
tests capi: missing header added

Because of this tests for SwCanvas were
not performed.

dbca656ff59c34b5da91a9443bfcf0c2c96f7607 authored over 1 year ago by Mira Grudzinska <[email protected]>
tests: fixing error on windows (mingw-64)

Error while comparing a pointer and an integer.
Solved by using a null pointer const instead of
...

f82b16285ae1cc71e94f35b801f2a42f3c05a217 authored over 1 year ago by Mira Grudzinska <[email protected]>
Update README.md

ffbdc6990cc2913d59a4c634730f7ab86d785d47 authored over 1 year ago by Hermet Park <[email protected]>
infra: specify TVG_API for both static/dynamic linking.

The previous meson script was incomplete,
therefore this change requires it to be revised.

To e...

69063d2405a5ffc17d984c3d9b1c25a8400e6c83 authored over 1 year ago by Hermet Park <[email protected]>
test/examples: -- deprecated apis call warnings.

Result load(const char* data, uint32_t size, bool copy = false)
-> Result load(const char* data,...

5d930e51e4415c7d309fe636ecb627385ef5cb38 authored over 1 year ago by Hermet Park <[email protected]>
infra github: adds static loader test

02bc89fc939b6e197fe5e7e77e0774704a82d896 authored over 1 year ago by Hermet Park <[email protected]>
infra github: changed the file name for clarity.

91781abf0db13aebdd718bcb7c57a4b3e47ef115 authored over 1 year ago by Hermet Park <[email protected]>
infra github: compact actions & added tools build.

Still windows action needs unit_test & examples.

@https://github.com/thorvg/thorvg/issues/1378

a5e84ce79182ec3710e4ee35ae18acbad84c9daf authored over 1 year ago by Hermet Park <[email protected]>
infra github: compact actions & supplement verfication.

a2d93b7d37d69108ffcd578c16a9e95240b31f51 authored over 1 year ago by Hermet Park <[email protected]>
Make it silent MSVC's trivial compilation warnings.

@Issue: https://github.com/thorvg/thorvg/issues/1381

aa915ee1c4ab685875200397dcf1f630fe27b7bf authored over 1 year ago by Hermet Park <[email protected]>
Update README.md

eadca4ec9bf142c0a4324e93a45a876805c1127b authored over 1 year ago by Hermet Park <[email protected]>
Update README.md

ac73202b47255cee119add43f60ec905a416530c authored over 1 year ago by Hermet Park <[email protected]>
Update README.md

2c00d0f6a61dc7d19b5de8c9f585cdf4ba20a203 authored over 1 year ago by Hermet Park <[email protected]>
tools svg2tvg: ++Windows port

Complete the Windows port build that is currently missing.

@Issue: https://github.com/thorvg/th...

fc196b0965952372fe0b546b5c03bcdc66f16eec authored over 1 year ago by Hermet Park <[email protected]>
svg_loader: fixing clipper transformation

In a case where both the clipper and the clippee
are transformed, the final clipper transformati...

46147dcec70b81102e3c0f625ac8ee72b9c770c8 authored over 1 year ago by Mira Grudzinska <[email protected]>
common: order(bool strokeFirst) api introduced

The new api is introduced to handle the rendering
order of a stroke and a fill. By default fill ...

69a958335405f594bc54effca2c36ccc1897e291 authored over 1 year ago by Mira Grudzinska <[email protected]>
svg_loader: paint-order attrib handled

@Issue: https://github.com/thorvg/thorvg/issues/1340

219e23855fee17d08acc19432ed53a054a59899d authored over 1 year ago by Mira Grudzinska <[email protected]>
svg_loader: _applySvgViewFlag refactored

e61857f27d2ded60cf77e142595ce5f680494ea0 authored over 1 year ago by Mira Grudzinska <[email protected]>
svg_loader: fix vx and vy

If no viewbox is given, vx and vy were set to values
corresponding to the svg's bounding box. Th...

158e36f7c96125d95051a58dad522ce553aa1906 authored over 1 year ago by Mira Grudzinska <[email protected]>
svg_loader: fixing parsing empty elements

Self-closing tags (empty elements) were parsed until
the appearance of the '>' character, causin...

f089b77a45c4aed074274b7b87d1aba344d57201 authored over 1 year ago by Mira Grudzinska <[email protected]>
sw_engine: support Scene ClipPath behavior.

Introduced SceneTask, it implements scene clippath behavior
by merging RLE of the scene children...

b26672a1f6c20718d8ba329c849bce465cc59365 authored over 1 year ago by Hermet Park <[email protected]>
sw_engine renderer: add clip() interface.

As there are multiple types of painting tasks,
the clip() interface has been newly designed to h...

a45275b779d461894c705496aab06993de8d5495 authored over 1 year ago by Hermet Park <[email protected]>
example: add an example SceneClipper

a0fbe7db41876a9d419ce5ae144463ab7be53bee authored over 1 year ago by Hermet Park <[email protected]>
sw_engine rle: fix RLE intersect.

IntersectSpansRegion() wasn't working correctly,
as it didn't take care of some corner cases.

T...

bd695c6631a882386d54d12e71c01c8edcb35f2e authored over 1 year ago by Hermet Park <[email protected]>
examples: added sample svgs

08b833b5bb8d94366a3feacd0b781531171cf933 authored over 1 year ago by Hermet Park <[email protected]>
svg_loader: code refactoring

Changed order of functions - needed in the grad
inheritance commit.

66ef84e7d70c8379064627f8c3406286e7ae0b83 authored over 1 year ago by Mira Grudzinska <[email protected]>
svg_loader: gradient inheritance implemented

Till now only the grad stops were inherited. Now all
grad attribs are.
Inheritance from differen...

598c28a597bc65c4acaee65815c5c62e31ba5b86 authored over 1 year ago by Mira Grudzinska <[email protected]>
common paint: prevent fastrack except Shapes.

Use fasttrack only for Shape types, as it is suitable for them.
It is not recommended to use it ...

352539fe8ef7143c6ece6efcc5878cd0f2d7df2f authored over 1 year ago by Hermet Park <[email protected]>
common picture: reset data properly.

either way the render data should be reset.

b018c83e93cfa7cf49746481842d0c9b2d9b7ca5 authored over 1 year ago by Hermet Park <[email protected]>
common: code refactoring

trivial changes to utilize RenderData type.

033a65b5606dbf84a7519dcbac9f345d4f2df2c6 authored over 1 year ago by Hermet Park <[email protected]>
common: adding [E]/[L] markers to errors/logs (#1365)

common: adding [E]/[L] markers to errors/logs

@Issue: https://github.com/thorvg/thorvg/issues...

4f3b718c3f174c4eed9b0630f9c5ec12caa31781 authored over 1 year ago by Mira Grudzinska <[email protected]>
common: enhancement++ of the logging method

Logging tags are marked with the corresponding
log type color, the file and the line information...

0a3718f923b88824dba252fc799e31c1d3f38605 authored over 1 year ago by Mira Grudzinska <[email protected]>
infra github: ++minor changes.

7bb671350550f0fe9ec85d5daaafce70f3facee2 authored over 1 year ago by Hermet Park <[email protected]>
infra github: bump up version

Node.js 12 actions were deprecated.
Updated the script to use a more recent version.

4709c8195f248646b811134fae1879aa61a9cd76 authored over 1 year ago by Hermet Park <[email protected]>
infra github: updated script

Specify the build option "all" for the future expansion.

d694e6adef40567d778975b039fecda866cdba86 authored over 1 year ago by Hermet Park <[email protected]>
infra github: apply codeql

Setup a bot script to run codeql.
It discovers vulnerabilities across a thorvg codebase.

See: h...

e44a1c1ee9049bfce8931c504bd256b03747c62c authored over 1 year ago by Hermet Park <[email protected]>
common: enhancement of the logging method

Introducing colors for various log types.
For error messages, the file name and line
number are ...

54cfd451656d9dac03988b6a2aff2a805a5d83f1 authored over 1 year ago by Mira Grudzinska <[email protected]>
common taskscheduler: warning removed

b866ee9cac7ec1d966c4ad1e380f5b73fb1ea157 authored over 1 year ago by Mira Grudzinska <[email protected]>
common taskscheduler: increase thread efficiency.

Revise the logic to avoid potential blocking of the main thread.
Move the clippers job completio...

afea40a947c7c902b5242e82c13ec5625bedfe59 authored almost 2 years ago by Hermet Park <[email protected]>
common: ++todo

5112bdb80551e704f20324ab3fe73e2849d28e8a authored almost 2 years ago by Hermet Park <[email protected]>
common: code refactoring for the IteractorAccessor.

The instantiation of the accessor is unnecessary
as it does not require any internal context.

S...

084e78d98d964a536e69ad4a2db67cfdf7bbaa27 authored almost 2 years ago by Hermet Park <[email protected]>
infra - add 'all' option for savers.

ex) meson . build -Dsavers="all", ...

b2692484b7f4ba4ac21df4f4d3050d33241c271c authored almost 2 years ago by Hermet Park <[email protected]>
sw_engine: fix the inproper stroke raster.

We have an incorrect value comparison when the stroke corner center
is adjusted. All coordinates...

daecef5acd8a6be8409da96a27143feab6b3b9b3 authored almost 2 years ago by Hermet Park <[email protected]>
test capi: ++coverage

added jpg, tvg tests

d359d65640873450f4a7085c60f02583bd0462d3 authored almost 2 years ago by Hermet Park <[email protected]>
test: fix broken plugin support.

The thorvg test should not attempt to perform features
that were not enabled, as this will cause...

f0ae3e9ceef491facfd82f32098b736953672a56 authored almost 2 years ago by Hermet Park <[email protected]>
examples: preventing undef behavior

Calling get() on a unique pointer after
it has been moved is the undefined behavior.

9102f669483b16a1823cf898747f5a809399289d authored almost 2 years ago by Mira Grudzinska <[email protected]>
svg_loader: fixing svgs without viewbox attr

For svgs without any viewbox and width/height
whole image is drawn. Before it was forced
to set ...

d60a7bec7e5af32ecee45dfd26f7612b94b37088 authored almost 2 years ago by Mira Grudzinska <[email protected]>
picture: remove unnecessary reloads

After #1338 is applied there is no need to reload
the pictures while aksing about its viewbox or...

7b90d61e71e08d023328d07c0d1255cdf9a60c10 authored almost 2 years ago by Mira Grudzinska <[email protected]>
svg_loader: forcing file loading completion

Svgs without any viewbox and width/height information
have to be loaded before any other action ...

c7137a8105ba9d776c3336cc15bb3f567fae2a84 authored almost 2 years ago by Mira Grudzinska <[email protected]>
external_jpg_loader: Fix crash when loader is reloaded

When reload is called from tvgPicture,
clear() of external_jpg loader is called and 'data' is fr...

1e088a6a6128bcdaff407bd90994d562c50d1d9c authored almost 2 years ago by JunsuChoi <[email protected]>
sw_engine: fix safety check

An incorrect check introduced in bf07eb11f25909d2c73aa7e5baeb01a80af384d0
as a solution of the #...

f65d410b9f5b9240d193674cec21b5ed27105330 authored almost 2 years ago by Mira Grudzinska <[email protected]>
Update README.md

updated discord link. the previous one was expired...

1a9ff13165df53a1bc1f89268ac2387aacdde239 authored almost 2 years ago by Hermet Park <[email protected]>
Update README.md

d5dfb3d7dced1767849242a2cc28f20993caa09e authored almost 2 years ago by Hermet Park <[email protected]>
common/accessor: fix uninitialized field.

--warnings.

5ebde2c9b682fd7bc69cb3d6f14eacb6b6c30e1b authored almost 2 years ago by Hermet Park <[email protected]>
svg_loader: invalid strokes' width set to zero

In case the "stroke" attrib is set to "none",
the width of the stroke is set to zero. Thanks
to ...

d96b8f43859e0cd16a7e560874130135c4b40a71 authored almost 2 years ago by Mira Grudzinska <[email protected]>
svg_loader: handling svgs without viewBox/viewPort

Additionally:
- cases of inforrect viewBox values are handled
- cases of zero width/height of a ...

9e8980a1f787b67f9bbe45c6ce8b9607290f6458 authored almost 2 years ago by Mira Grudzinska <[email protected]>
svg_loader: handling zero width/height viewbox

For svgs with the width and/or height value set to zero
rendering was disabled - the load api re...

be361221df6953006df915e67a80b779d36861e0 authored almost 2 years ago by Mira Grudzinska <[email protected]>
sw_engine - ++safety

Prevent any potential crash.

@Issues: https://github.com/thorvg/thorvg/issues/1327

c9657e3e68f8330378e3cf8513138e8683e2db4b authored almost 2 years ago by Hermet Park <[email protected]>
Create CODEOWNERS

4c2688fcd446d934d92d1a094b2210614899afbf authored almost 2 years ago by Hermet Park <[email protected]>
png_loader(static): Fix the colorspace of an image with an alpha channel

Set colorspace to ABGR when colortype of lodepng is LCT_RGBA.
Since an image without an alpha ch...

02613feac3e30e8d17205bc7fb2b6769f455e92f authored almost 2 years ago by JunsuChoi <[email protected]>
png_loader(static): Move the colortype check code to open()

50da80573dd3fd3c6aa42c9ce88acb695aef20ba authored almost 2 years ago by JunsuChoi <[email protected]>
loader: Support ABGR colorspace

Since the color space is set at the time of specifying the target buffer of the canvas,
there is...

507b11829c1a3b9d1f6795c3e014a463c2213306 authored almost 2 years ago by JunsuChoi <[email protected]>
infra: update gitignore

1fd78a3485f095fb916cd0805bc43f2b0ba74b6c authored almost 2 years ago by Hermet Park <[email protected]>
common shape: code refactoring.

keep name consistency.

a05816e219984e77cdd938d88808e82b3ecc6135 authored almost 2 years ago by Hermet Park <[email protected]>
gl_engine: -- compiler warnings

../src/lib/gl_engine/tvgGlRenderer.cpp: In member function ‘virtual bool GlRenderer::renderShape...

e576e1d8e6a78b97e23bbb443777a97a4ce85cfd authored almost 2 years ago by Hermet Park <[email protected]>
common shape: code refactoring & data optimization.

re-design the shape data structure so that render backends
are able to access them directly.

Th...

919c90a97e734b18085a2475c55ee919f733743a authored almost 2 years ago by Hermet Park <[email protected]>
common paint: keep clean apis and small size.

these are no more necessary.

110f4a5cc9c668512661b63b2f4933d10ae9ac15 authored almost 2 years ago by Hermet Park <[email protected]>