Questions tagged [system.drawing.common]
21 questions
0
votes
1 answer
Simple image operations for .NET Core 6 and beyond
I have some C# code that relies on doing really basic graphic operations such as getting and setting pixels, and drawing texts over images. This uses the System.Drawing package which Microsoft has dropped the ball on.
Microsoft says this: Migrate to…

pengu1n
- 471
- 6
- 15
0
votes
0 answers
What make memory leak in .NET Standard 2.1 bitmap
using var stream = new MemoryStream(filteredFrame);
using var image = Image.FromStream(stream);
using var resizedBitmap = new Bitmap(image, new Size(640, 320));
using var resizedImageStream = new MemoryStream();
…

Sunday
- 109
- 1
- 9
0
votes
0 answers
System.Drawing.Common throws DllNotFoundException in Linux
I am using System.Drawing.Common in my code, but when I deploy it to Linux Container (Ubuntu 20.04, Focal Fossa) it shows me there's an error, that user32.dll was not found, which is a Windows application. Here's an image of the error ~

DJ001
- 75
- 7
0
votes
1 answer
Trying to convert jpeg to png in ASP Net Core throws GDI+ exception
I am using the System.Drawing.Common 5.0.1 nuget package in a ASP Net Core (5) application and want to convert an image (can be jpeg, png etc.) to png (if not already png).
When the image has been uploaded successfully I try to convert it with…

Patric
- 2,789
- 9
- 33
- 60
-1
votes
0 answers
The type initializer for 'Gdip' threw an exception. conflict with Oracle.ManagedDataAccess.Core
i use .net 7 and when use stimulsoft for get report throw exception from System.Drawing with Oracle.ManagedDataAccess.Core gdi+ has
exception
in docker linux

amin
- 289
- 4
- 17
-1
votes
1 answer
Spire.PDF.PdfDocument.print() throws System.NotImplementedException on Ubuntu LTS 20.04
Edit:I contacted the developer team. They created issue for that. I will update this post if there is any improvement. Issue Link
The project have coded using by .netCore3.1. Also I used FreeSpire.PDF v5.4. I convert the incoming pdf data to pdf…

uyusuk
- 311
- 1
- 2
- 15