Skip to content

Conversion from Vips to System.Windows.Media.Imaging.BitmapImage #81

@gil-c

Description

@gil-c

Hello,

I saw the suggestions in the ticket #57

How about the conversion from Vips to System.Windows.Media.Imaging.BitmapImage?

Currently I am doing:

var bmImage = new BitmapImage();
bmImage.BeginInit();
bmImage.StreamSource = vipsImage.WriteToStream(".tiff");
bmImage.EndInit();

Is there a better way?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions