Convert SixLabors.ImageSharp.Image to System.Drawing.Image? #1355
Answered
by
JimBobSquarePants
SoftCircuits
asked this question in
Q&A
-
I have a WinForms application with a PictureBox control. Is there any way to convert a FWIW, my only interest here is in resizing an image. |
Beta Was this translation helpful? Give feedback.
Answered by
JimBobSquarePants
Sep 16, 2020
Replies: 1 comment 1 reply
-
Check out this class from the test utilities. It contains methods to copy pixel data to/from ImageSharp images to System.Drawing ones. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
JimBobSquarePants
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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