srejonkhan / asyncimagelibrary Goto Github PK
View Code? Open in Web Editor NEWLoad Image(Texture) in Unity without blocking the main thread, with the full advantage of SkiaSharp.
License: MIT License
Load Image(Texture) in Unity without blocking the main thread, with the full advantage of SkiaSharp.
License: MIT License
I went through the code and at line 76 you are making the texture not readable. Is there a reason for this?
It is making it difficult working with the texture.
During development, it was hardcoded set to the development environment's logical processor. Which should be replaced with actual runtime environment.
Hello,
When I build for iOS using this package I get the following error:
DllNotFoundException: Unable to load DLL 'libSkiaSharp'. Tried the load the following dynamic libraries: Unable to load dynamic library '/libSkiaSharp' because of 'Failed to open the requested dynamic library (0x06000000) dlerror() = dlopen(/libSkiaSharp, 0x0005): tried: '/libSkiaSharp' (errno=2), '/private/preboot/Cryptexes/OS/libSkiaSharp' (errno=2), '/libSkiaSharp' (errno=2)
Please help.
Editor crash when calling DrawText()
multiple times to draw multiple texts, not tested in build.
Stack trace -
Stack Trace of Crashed Thread 32028:
0x00007FFB637E4910 (libSkiaSharp) sk_font_get_typeface
0x000002C2FBCE68FF (SkiaSharp) SkiaSharp.SkiaApi.sk_font_get_typeface()
0x000002C2FBCE673B (SkiaSharp) SkiaSharp.SKFont.get_Typeface()
0x000002C2FBCE6603 (SkiaSharp) SkiaSharp.SKPaint.get_Typeface()
0x000002C2FBC9540B (SrejonKhan.AsyncImageLibrary.Runtime) AsyncImageLibrary.ImageProcess.DrawText()
0x000002C2FBCE5F93 (SrejonKhan.AsyncImageLibrary.Runtime) <>c__DisplayClass2_0.<DrawText>b__1()
0x000002C296B838A7 (mscorlib) <Module>.invoke_void()
0x000002C2FBCE54A9 (SrejonKhan.AsyncImageLibrary.Runtime) AsyncImageLibrary.ImageLoadSave.ProcessBitmap()
0x000002C2FBC98543 (SrejonKhan.AsyncImageLibrary.Runtime) AsyncImageLibrary.ImageLoadSave.LoadBitmapFromFileStream()
0x000002C2FBC98233 (SrejonKhan.AsyncImageLibrary.Runtime) <>c__DisplayClass1_0.<Load>b__0()
0x000002C2FBC9812A (mscorlib) System.Threading.QueueUserWorkItemCallback.WaitCallback_Context()
0x000002C292C3F8F9 (mscorlib) System.Threading.ExecutionContext.RunInternal()
0x000002C292C3F25B (mscorlib) System.Threading.ExecutionContext.Run()
0x000002C2FBC98013 (mscorlib) System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
0x000002C292C38B81 (mscorlib) System.Threading.ThreadPoolWorkQueue.Dispatch()
0x000002C292C36E03 (mscorlib) System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
0x000002C292C37735 (mscorlib) <Module>.runtime_invoke_bool()
0x00007FFBD29CE630 (mono-2.0-bdwgc) mono_get_runtime_build_info
0x00007FFBD2952AC2 (mono-2.0-bdwgc) mono_perfcounters_init
0x00007FFBD297A351 (mono-2.0-bdwgc) mono_unity_managed_callstack
0x00007FFBD297C9D1 (mono-2.0-bdwgc) mono_unity_managed_callstack
0x00007FFBD2976BB8 (mono-2.0-bdwgc) mono_unity_managed_callstack
0x00007FFBD2976946 (mono-2.0-bdwgc) mono_unity_managed_callstack
0x00007FFC6B067034 (KERNEL32) BaseThreadInitThunk
0x00007FFC6B342651 (ntdll) RtlUserThreadStart
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.