Skip to content

Support System.Drawing.Image in WPF #5566

@ghost

Description

WPF can use System.Windows.Media.ImageSource class to provide the image source to WPF controls.
But ImageSource cannot use System.Drawing.Image class as a source directly.

System.Windows.Media.ImageSource:
https://docs.microsoft.com/en-us/dotnet/api/system.windows.media.imagesource

If this is a mixed programming of Winforms and WPF, the Winforms part needs to use System.Drawing.Image class to display image or bitmap. but now the WPF cannot accept the System.Drawing.Image class.

System.Drawing.Image
https://docs.microsoft.com/zh-cn/dotnet/api/system.drawing.image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions