Skip to content

Convert SixLabors.ImageSharp.Image to System.Drawing.Image? #1355

Discussion options

You must be logged in to vote

Check out this class from the test utilities. It contains methods to copy pixel data to/from ImageSharp images to System.Drawing ones.

https://github.com/SixLabors/ImageSharp/blob/b06cb32b7114961fd5473f7645d38f8fee04ec64/tests/ImageSharp.Tests/TestUtilities/ReferenceCodecs/SystemDrawingBridge.cs

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@antonfirsov
Comment options

Answer selected by JimBobSquarePants
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants