News for hackers. Stuff that matters.
Re:Skia: an open source 2D graphics library by voltagex_ on Sunday January 14, 2018 @05:39PM (#16146937)
Has anyone used this? Are there any examples?
Re:Skia: an open source 2D graphics library by qiller on Sunday January 14, 2018 @07:21PM (#16147474)
We used it for our image rendering server, and it worked really great at the beginning. The library is fast, and the API was easy to use, and it worked on Azure App Service without issues.

We eventually abandoned Skia though because it only operates with premultiplied alpha. Works ok if you render on opaque surfaces, but we needed to generate transparent PNGs, and in the allotted timeframe couldn't resolve some rendering differences.

Re:Skia: an open source 2D graphics library by alkonaut on Sunday January 14, 2018 @06:15PM (#16147121)
I’m converting a large desktop (CAD) app from GDI+ to SkiaSharp at the moment. Really liking the Api and the quality of the C# wrapper. Also maps very well to GDI concepts so a conversion is fairly painless.
Re:Skia: an open source 2D graphics library by voltagex_ on Sunday January 14, 2018 @06:51PM (#16147323)
Cool. Are you able to share any more details? I'm guessing this isn't a standard WinForms app. What advantages does moving away from GDI+ give you?
Re:Skia: an open source 2D graphics library by alkonaut on Monday January 15, 2018 @02:24AM (#16149116)
It’s a winforms app, and there isn’t much nonstandard about it other than that large performance sensitive drawing apps are perhaps quite nonstandard to begin with. We want to handle some large cad scenarios in it (e.g smooth pan/zoom in drawings with 500k lines), it’s not the default use case, but it happens. The main advandtage over gdi+ ) is better support for retained mode drawing (record/playback style drawing), more efficient automatic culling, etc.
Re:Skia: an open source 2D graphics library by needusername2 on Sunday January 14, 2018 @08:20PM (#16147735)
Why are you converting to SkiaSharp, if I may ask? Is it for performance or multiplatform reasons?
Re:Skia: an open source 2D graphics library by alkonaut on Monday January 15, 2018 @02:17AM (#16149090)
See my answer on the other msg
Re:Skia: an open source 2D graphics library by seanmcdirmid on Monday January 15, 2018 @01:05AM (#16148821)
Cool, how does it compare to Win2D?
Re:Skia: an open source 2D graphics library by alkonaut on Monday January 15, 2018 @02:16AM (#16149088)
It’s just a lot less ”different”. Performance is pretty similar across all frameworks, and is much more dependent on call patterns than anything else.
Re:Skia: an open source 2D graphics library by bratsche on Sunday January 14, 2018 @08:44PM (#16147828)
There are some examples in the source tree here: https://github.com/mono/SkiaSharp/tree/master/samples
Re:Skia: an open source 2D graphics library by sequence7 on Monday January 15, 2018 @02:53AM (#16149199)
The rather awesome, cross-platform, Microcharts (https://github.com/aloisdeniel/Microcharts) is built on top of SkiaSharp.
Re:Skia: an open source 2D graphics library by barbersturgeon on Monday January 15, 2018 @05:56AM (#16149791)
It's used as one of the backends for Avalonia UI https://github.com/AvaloniaUI/Avalonia/blob/master/readme.md

(Not affiliated but I love this project. If it wasn't still alpha I'd use it for absolutely everything)