Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Image manipulation in asp.net/c# without System.Drawing/GDI+

Is there any alternative image manipulation library for .net? I would prefer something that is managed and open source.

I ask this because of two reasons:

  1. I have encountered hard to debug GDI+ errors with System.Drawing in the past
  2. I have read that using System.Drawing in asp.net web applications is not 100% supported.

Thanks!

edit: clarification, I know that System.Drawing can work asp.net web apps - I have used it in the past. I really just wonder if there are any managed image manipulation libraries for .net :)

like image 657
Mike Avatar asked Aug 16 '08 19:08

Mike


People also ask

What is image processing in C#?

ImageProcessor is a collection of lightweight image processing libraries built using C#. ImageProcessor gives the user the ability to edit and manipulate images quickly and easily on both desktop and mobile applications.

What is image control in asp net?

The Image control lets you work with images from server code. Use the Image control to display any valid image supported by the requesting browser on the Web page. The path to the displayed image is specified by setting the ImageUrl property.

How do I resize an image in .NET core?

The easiest method is to create a new Bitmap object from the in-memory image. When creating the Bitmap object, you assign the new dimension in the Size parameter. Finally, the resized Bitmap is written to a byte array. That's it.

How can add image in web form in asp net?

To upload the image, click on Choose File and then browse to the image which you want to upload. Once the image is selected then the name of the image will be displayed next to the Choose File button as shown in the following screenshot. As you can see the that images.


1 Answers

You should look into the WPF Imaging libraries shipped with .NET 3.0. They're optimized and robust (used to run Aero, so you know they're efficient). They don't depend on the WPF dispatcher, are easily extensible, and officially supported. What more could you want?

like image 73
Frank Krueger Avatar answered Sep 19 '22 14:09

Frank Krueger