Jump to content
vfbb

Skia4Delphi v3.0.0

Recommended Posts

github-social-preview.thumb.png.3d1a79eec7c0e535b651e89a77c7b6bc.png

 

 

It is with great pleasure that we announce the new version of the Skia4Delphi library. The library has been completely rewritten in this major update and it looks amazing. 

 

v3.0.0

 

·  Skia library version has been updated from Milestone 88 to 98;

·  New Skia based Canvas for FMX with GPU rendering support (optionally registered as default) accompanied by the following benefits

    a)    Draw with anti-aliasing on any platform; (currently platforms that use TGPUCanvas like mobiles, and Mac computers when Metal is enabled do not use it)

    b)    Increase the overall graphics performance of your application by up to 50%; (even drawing with higher quality)

    c)    Resize images with better quality; (also based on Form.Quality)

    d)    Support Right-To-Left rendering;

    e)    Fix dozens of inconsistencies in drawings, especially in corners and strokes, such as dashes, and in texts with special emojis;

    f)     Increase the performance of the library in general (controls, drawings, among others...).

·  Fully featured demo, with many more fantastic examples;

·  Added TSkLabel control with support for: multiple text styles (colors, sizes, fonts), justify alignment, font weight, families fallback, auto-size of width and height, limit number of lines, right-to-left texts, and more;

·  Added TSkAnimatedImage (replacing TSkLottieAnimation), with support for Lottie, Telegram Sticker, Animated GIF and Animated WebP files.

·  Added WrapMode property to TSkSvg;

·  Added full unicode support: grapheme iterators, BiDi regions, among others;

·  Added new features to SkParagraph;

·  Added SkTypefaceProvider; (custom fonts support in SkParagraph)

·  New codecs registered:

    a)    VCL: svg, wbmp, webp and raw images (arw, cr2, dng, nef, nrw, orf, raf, rw2, pef and srw)

    b)    FMX: bmp, gif, ico, wbmp, webp e raw images (arw, cr2, dng, nef, nrw, orf, raf, rw2, pef and srw)

·  Added support for SVG creation with the SkSVGCanvas class;

·  Exposed SkParticles (provides a way to quickly generate large numbers of drawing primitives with dynamic, animated behavior)

·  Added support for creating XPS documents (Windows-only);

·  Added Cross-Platform unit tests for console, VCL and FMX, with more over then 250 tests;

·  Added Android support for Delphi 10.3 Rio;

·  Added installation support via Chocolatey;

·  Improved the performance of Lottie animations;

·  Improved the performance of OverrideColor in TSkSvg;

·  Improved installation process;

·  Simplified Skia build with a simple native script;

·  Fixed library loading crash that occurred on some 32-bit Androids;

·  Fixed support for Android 32 bits in Android App Bundle (.aab) format;

·  Fixed iterators; (including path elements iterator)

·  Fixed image decoding issue;

·  Fixed Lottie files with static images embedded;

·  Fixed SVG locale-dependent (couldn't render when default decimal separator was not dot);

·  Fixed wrong draw of TSkCustomControl and descendents in FMX, when the property Angle was different than 0;

·  Fixed TSkPaintBox draw without clear the surface;

·  Fixed installation issue in RAD Studio Trial, Community Edition and Started versions;

·  Fixed installation issue in RAD Studio with very large Library Path (especially those that have the ACBr library installed);

·  Fixed many others minor issues;

·  And much more..

 

Compatibility break:

We are in continuous development, so some updates will bring compatibility breaks. So pay attention to version numbers, we use semantic versions (for major versions there is some compatibility break). See some breaking changes in this version:

a)    Removed support to iOS,  MacOS and Linux in RAD Studio 10.4 Sydney;

b)    Removed support to RAD Studio XE6;

c)    Removed the TSkLottieAnimation control, use the TSkAnimatedImage control instead;

d)    Several changes in API;

 

Supported platforms:

·  RAD Studio 11.0 Alexandria: all platforms

·  RAD Studio 10.3 Rio or newer: windows and android

·  RAD Studio XE7 or newer: windows

 

Demo:

 

 

 

 

Github: github.com/skia4delphi/skia4delphi

Website: skia4delphi.org

 

 

 

Edited by vfbb
  • Like 15
  • Thanks 4

Share this post


Link to post

Your hard work greatly improved the richness of drawing/painting/image-processing/animation abilities of Delphi! Thanks!

  • Like 1

Share this post


Link to post

@vfbb

Great library, thanks for that.

Especially the Lottie support I find very interesting.

Yesterday I was checking some Lottie tools, and I must find out that there is no real simple Lottie editor, beside Adobe After Effects.

Do you have the same experience, or could you recommend some simple animation tools ?

  • Like 2

Share this post


Link to post

Your documentation is outstanding.

 

Very interesting to read, pictures, and shows how to get started, step by step. Clearly some effort was put into this. Many libraries often make it very hard to get started.

Edited by Der schöne Günther
  • Like 1

Share this post


Link to post
2 hours ago, Rollo62 said:

@vfbb

Great library, thanks for that.

Especially the Lottie support I find very interesting.

Yesterday I was checking some Lottie tools, and I must find out that there is no real simple Lottie editor, beside Adobe After Effects.

Do you have the same experience, or could you recommend some simple animation tools ?

Rollo, Adobe After Effects alone does not export or import json animation (lottie file). You need to install the Bodymovin plugin for this.

Share this post


Link to post

Yes, but it seems that Adobe After Effects is the only tool which is able to create serious animations,
while no other competitors or free tool exists so far, that could reach that quality.

That is a little strange I think, since Lottie is not that complex and widely used, I would have expected many other tools in the market.

I personally dislike Adobe tools, thats why I look for an alternative.

Share this post


Link to post
5 hours ago, Rollo62 said:

Yes, but it seems that Adobe After Effects is the only tool which is able to create serious animations,
while no other competitors or free tool exists so far, that could reach that quality.

That is a little strange I think, since Lottie is not that complex and widely used, I would have expected many other tools in the market.

I personally dislike Adobe tools, thats why I look for an alternative.

Ah yes. I don't know of any other tool capable of doing the same. The lottiefiles.com website has a lottie editor but it's very limited and doesn't allow you to create a new animation, just edit it. Remembering that on this same site you will find thousands of free lottie files.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×