You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to add new image codecs for image formats which are not supported by the built-in Skia codecs. This is not currently possible, even though Skia itself supports it. There is no C# API and the C++ API has been excluded from the native library.
Describe the solution you would like
The native API, SkCodec::Register, requires a pointer to a C++ object.
Since this is not easy to wrap in C#, it would be acceptable just to expose the native API in your build of the native Skia library. We can then write and register a codec ourselves in a small native library.
Is your feature request related to a problem?
I want to add new image codecs for image formats which are not supported by the built-in Skia codecs. This is not currently possible, even though Skia itself supports it. There is no C# API and the C++ API has been excluded from the native library.
Describe the solution you would like
The native API,
SkCodec::Register
, requires a pointer to a C++ object.Since this is not easy to wrap in C#, it would be acceptable just to expose the native API in your build of the native Skia library. We can then write and register a codec ourselves in a small native library.
Describe alternatives you have considered
There are no alternatives.
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: