Skip to content

Library Inter-op extensions #435

Open
@tocsoft

Description

@tocsoft

ImageSharp should provide an initial standard structure for adding library inter-op apis.

  • ImageSharp <=> System.Drawing interop
    ** Simple API the allows for converting System.Drawing.Image into an ImageSharp.Image<TPixel>.
    ** Simple API the allows for converting an ImageSharp.Image<TPixel> into a System.Drawing.Image .
    ** Simple API for creating an Image<TPixel> that wraps the memory used by a System.Drawing.Image
  • ImageSharp <=> Xamarin IOS CoreImage
    ** Simple API the allows for converting UIImage into an ImageSharp.Image<TPixel>.
    ** Simple API the allows for converting an ImageSharp.Image<TPixel> into a UIImage .
    ** Simple API the allows for converting CIImage into an ImageSharp.Image<TPixel>.
    ** Simple API the allows for converting an ImageSharp.Image<TPixel> into a CIImage .
    ** Simple API for creating an Image<TPixel> that wraps the memory used by the various image types (if possible)
  • ImageSharp <=> SkiaSharp
    ** as above for the various skiasharp constructs
  • ImageSharp <=> UWP
  • ImageSharp <=> WPF

Maybe we just need to provide a System.Drawing version (as a new package SixLabors.ImageSharp.InterOp.SystemDrawing) but would then allow third party developers to be able to follow common patterns to allow them

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions