You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in Gix, frames are composed and rendered using the SVG format. This is a very practical format:
It provides features for free (rotate, edge colors, transparency, font support via canvg, etc.)
SVG components are clickable and draggable, in particular with the Vue framework
But there are inconvenients:
SVG rendering means that each frame of the original asset must be converted to JPG, inserted in a SVG <image>, then it gets extracted by the SVG engine's JPG reader, and finally displayed. It should be much faster to just draw from a canvas to another.
SVG rendering may or may not be slower than canvas for bitmap images (unclear).
Note:
This is a lot of work and might not even be a good idea. But huge if it works.
Specs
Frame rendering for the gix-renderer uses only canvas operations instead of SVG+Canvg
All GIF features (stroke line, outline, transparency, etc.) are conserved.
Optional: the GixPlayer also uses canvas operation. Interactivity with that canvas is ensured either using Fabric, or by overlaying transparent SVG elements on top of the canvas.
The text was updated successfully, but these errors were encountered:
Motivation
in Gix, frames are composed and rendered using the SVG format. This is a very practical format:
But there are inconvenients:
<image>
, then it gets extracted by the SVG engine's JPG reader, and finally displayed. It should be much faster to just draw from a canvas to another.Note:
This is a lot of work and might not even be a good idea. But huge if it works.
Specs
The text was updated successfully, but these errors were encountered: