Top "System.drawing" questions

System.

c# Image resizing to different size while preserving aspect ratio

I'm trying to resize an image while preserving the aspect ratio from the original image so the new image doesn't …

c# image-processing system.drawing image-scaling
A Generic error occurred in GDI+ in Bitmap.Save method

I am working on to upload and save a thumbnail copy of that image in a thumbnail folder. I am …

c# gdi+ system.drawing
How to find reason for Generic GDI+ error when saving an image?

Having a code that works for ages when loading and storing images, I discovered that I have one single image …

c# .net image gdi+ system.drawing
Set color through color code in c#

I am trying to add color in c# code, with the following color code for example. ListTreeView.Background = new SolidColorBrush(…

c# system.drawing
how to draw a line on a image?

i want to draw a line on a bmp image which is pass into a method using drawline method in …

c# system.drawing
C# Drawing on Panels

I'm drawing up a day schedule and representing timeslots with panels, and appointments are yet more panels on top. The …

c# winforms gdi system.drawing
How to save an image from a picturebox to jpg

I have been able to save a file as a .jpeg, but the image won't load, has anyone got a …

vb.net system.drawing savefiledialog
Manipulating images with .NET Core

I have updated my project from .NET 4.5 to .NET Core (with ASP.NET Core). I had some very simple code …

c# asp.net-core .net-core system.drawing
Drawing a line in Winforms

I am having trouble drawing a line within a group box in a simple windows form. here is my code: …

c# .net winforms system.drawing
how can I convert System.Drawing.Icon to System.Drawing.Image?

I'm getting icon from another application using this: Icon IEIcon = Icon.ExtractAssociatedIcon(@"C:\Program Files\Internet Explorer\iexplore.exe"); how …

c# .net image icons system.drawing