« Return to Thread: System.Drawing.Graphics ignores InterpolationMode

Re: System.Drawing.Graphics ignores InterpolationMode

by Onelook :: Rate this Message:

Reply to Author | View in Thread

I have similar problem. All resized (downsampled) images by this code:
https://bugzilla.novell.com/attachment.cgi?id=169051
have very low quality in compare with MS .NET Framework. How can I generate good quality thumbnails in Mono?

Thanks,
Onelook


Jonathan Resnick wrote:
When using the System.Drawing.Graphics class, I set the the property
InterpolationMode to InterpolationMode.NearestNeighbor.  However, the image
rendered to the screen still looks as though it has undergone bilinear
interpolation.  Running the exact same code on .NET runtime in Windows, the
image is clearly not interpolated.
 
Does anyone know if this is a bug (in which case I can submit a bug report),
or is the InterpolationMode property simply not yet supported on Linux?
 
Thanks,
Jonathan

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

 « Return to Thread: System.Drawing.Graphics ignores InterpolationMode