JosePineiro / WebP-wrapper

Wrapper for libwebp in C#. The most complete wapper in pure managed C#. Exposes Simple Decoding API, Simple Encoding API, Advanced Encoding API (with stadistis of compresion), Get version library and WebPGetFeatures (info of any WebP file). In the future I´ll update for expose Advanced Decoding API. The wapper are in safe managed code in one class. No need external dll except libwebp.dll (included). The wapper work in 32 and 64 bit system.
MIT License
214 stars 48 forks source link

Where is BGRA methods #16

Closed raimand13 closed 4 years ago

raimand13 commented 4 years ago

I have many PNG files with transparent background and i need to convert them to WebP files. I download the source code then run release version and select a file and out put was good but when i open the solution and run in debug mode, PNG background changed to green. i decompile the release version and i find the problem ... there was no BGRA method in UnsafeNativeMethods class!!!

JosePineiro commented 4 years ago

Add BGRA in simple Encode Lossless and simple Encode Lossy

JosePineiro commented 4 years ago

Implemented BGRA methods for alpha transparency.