SkiaSharp is a cross-platform 2D graphics API for .NET platforms based on Google's Skia Graphics Library. It provides a comprehensive 2D API that can be used across mobile, server and desktop models to render images.
MIT License
4.53k
stars
540
forks
source link
[FEATURE] Adding metadata properties to JPEG images when using SKPixmap.Encode() #1139
Is your feature request related to a problem? Please describe.
JPEG images and other image file types can have additional metadata properties that can enhance how the picture is interpreted by renderers. An example is the
"/xmp/{wstr=http://ns.google.com/photos/1.0/panorama/}:ProjectionType" = "equirectangular" property which identifies an image as a 360 panoramic projection image.
You can easily use the exiftool app https://exiftool.org/gui/ to add the metadata but I need to add it in the code of my app.
Describe the solution you'd like
Add a dictionary property to SKJpegEncoderOptions to enable setting metadata properties when encoding JPEG images.
Describe alternatives you've considered
None known.
Is your feature request related to a problem? Please describe. JPEG images and other image file types can have additional metadata properties that can enhance how the picture is interpreted by renderers. An example is the
"/xmp/{wstr=http://ns.google.com/photos/1.0/panorama/}:ProjectionType" = "equirectangular"
property which identifies an image as a 360 panoramic projection image. You can easily use the exiftool app https://exiftool.org/gui/ to add the metadata but I need to add it in the code of my app.Describe the solution you'd like Add a dictionary property to SKJpegEncoderOptions to enable setting metadata properties when encoding JPEG images. Describe alternatives you've considered None known.
Additional context