Comments (4)
Any updates on this? getting the same error :) and updated library didn't fix it for me
from webp-wrapper.
Hey @JosePineiro , it was about a multi-threaded scenario for me, and the fact that OnCallback
was static. The WebP
class was being accessed/instantiated by multiple threads therefore OnCallback
was being set null, and I was getting those NullReferenceExceptions. I made OnCallback
an instance property and made sure to release it properly, it solved it for me. Thanks!
from webp-wrapper.
I have updated the 64-bit library to version 1.2.1
Please try her. If you use the 32-bit version, I recommend you recompile this library. I have put instructions on how to do it in Compile dll.txt
from webp-wrapper.
Please, test this change:
[DllImport("kernel32.dll", EntryPoint = "CopyMemory", SetLastError = false)]
You should end up with:
[DllImport("kernel32.dll", EntryPoint = "RtlMoveMemory", SetLastError = false, ExactSpelling = true)]
internal static extern void CopyMemory(IntPtr dest, IntPtr src, uint count);
from webp-wrapper.
Related Issues (20)
- Converting PNG to WebP , Background Get Change HOT 3
- Adding method to set webp metadata like comment, keywords and etc HOT 1
- image with transparency does not work correctly HOT 3
- Presets settings don't work HOT 1
- Where is BGRA methods HOT 2
- Suggestion : Change licence to LGPL HOT 2
- add refrence HOT 1
- How to build libwebp-1.1.0 cpp code to .dll HOT 1
- Parameter is not valid at webp.Decode(byte[], WebPDecoderOptions) HOT 3
- License HOT 2
- error with a animated webp HOT 14
- type_mismatch of return_value from DLL HOT 2
- Can't load saved WEBP file
- Webp decode to Stream
- Question for using in ASP.NET Web Application HOT 2
- wrapper code for decoding animated webp HOT 1
- WebP-wrapper HOT 1
- Wrapper source code available? HOT 1
- Where do I put the DLL files in an ASP.NET application HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webp-wrapper.