[Mono-dev] System.Drawing.Graphics ignores InterpolationMode

Onelook onelook at volny.cz
Thu Sep 4 09:06:56 EDT 2008


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 at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 
> 

-- 
View this message in context: http://www.nabble.com/System.Drawing.Graphics-ignores-InterpolationMode-tp3078399p19308997.html
Sent from the Mono - Dev mailing list archive at Nabble.com.



More information about the Mono-devel-list mailing list