Comments (2)
The WIC JXR codec was enabled in 0.13, and I've just published a WebP plugin package: https://www.nuget.org/packages/PhotoSauce.NativeCodecs.Libwebp
from photosauce.
For now, all of MagicScaler's codec support comes from the Windows Imaging Component, so if there's a WIC codec, it can be done.
JPEG XR (WMP, HD Photo, whatever...) is built in to WIC, so those can be decoded today and could be encoded in-pipeline if I enabled it.
Google did a read-only WebP codec for WIC some years back and used to have an install package for it on their site, but it seems to have disappeared. It has no metadata support and no encoder, so it would be quite a bit of work to finish it off.
There is also a third-party commercial WIC codec pack that includes JPEG2000 and WebP among others (PSD, etc). These should integrate fine with MagicScaler as well, but I have no experience with them and can't speak to their reliability in a server environment. They may be the easiest path to adding additional codec support, but that's not something I would do myself.
In the long term, I'd like to move toward adding managed codec implementations to break the dependency on WIC. WebP would be further down the list than more popular codecs, though.
In the short term, if you want to deliver WebP, you can do it as a post-processing step. I do this in some of my own workflows by saving to either high-quality JPEG or a fast-encoding lossless format (e.g. uncompressed TIFF) and then running through cwebp. I do likewise for optimized JPEGs with mozjpeg in some cases.
from photosauce.
Related Issues (20)
- RobiniaDocs API Explorer
- Update libwebp HOT 4
- Option to retain gif loop count when resizing HOT 6
- Could not load type 'PhotoSauce.MagicScaler.Converters.ChannelChanger`1' HOT 8
- ColorMatrixTransform does not unpremultiply/premultiply HOT 1
- Default JPEG encoding options are not publicly accessible HOT 4
- EncoderInfo not set correctly if output to Stream
- MagicScalar Linux issue
- libpng throws bad adaptive filter will abort writing result HOT 3
- libpng fails to convert several files that WIC can handle HOT 2
- `ArgumentOutOfRangeException` reading JPEG XL image from their test page HOT 3
- After update the solution to .NET 8 version the NativeCodecs dependency started to fail HOT 3
- Noob question: Having a hard time understanding the native codec binary build steps.
- How to gain best possible quality, disregard performance.
- IMultiFrameDecoderOptions support missing for JPEG XL HOT 1
- Decoder FrameRange validation is not valid HOT 2
- Build warning with net8.0 app HOT 2
- Native png encoder not working in 14.1 HOT 2
- Method not found when converting WebP -> PNG in 0.14.2 HOT 1
- Unimplemented PBGRA128F -> PBGRA32 conversion transform silently does wrong thing
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 photosauce.