i have problems during creating image from stream. on my windows pc it forks great, on ubuntu server, it throws an error
System.ArgumentException: A null reference
First, locate the directory where is the System.Drawing.dll file (for example
/opt/mono-4.4.0/lib/gac/System.Drawing/4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
).
Create a file in the same directory called System.Drawing.dll.config
with the following content, updating the directory to the correct location of libgdiplus.so
: