Hello,

Cairo, on which libgdiplus depends for graphics, has much
less interpolation options than MS GDI+ defines in its API. So
libgdiplus maps "many to few" options in this case.

Cairo is also known not to downscale images very well (but some Cairo
people are looking at this). Google cairo's mailing-list if you want to
know more about the issues.

Sebastien

On Thu, 2008-09-04 at 06:06 -0700, Onelook wrote:
> 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
> > 
> > 
> 

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

Reply via email to