[Gambas-user] Image smoothing

juan duque ilustrisimo.sr.duque at ...626...
Thu Jul 14 09:37:03 CEST 2016


Thanks Gianluigi, Benoit, Paint.ZoomImage and Draw.Zoom does the work
as expected, regards

2016-07-14 3:06 GMT+01:00, Benoît Minisini <gambas at ...1...>:
> Le 09/07/2016 10:41, juan duque a écrit :
>> Obviously my English is somewhat lacking. Apologies.
>>
>> I think this is not a bug but rather a design with some shortcomings.
>>
>> Smoothing (or interpolation) of an image is often convenient but not
>> desirable in all cases.
>> Attached a sample program (this would be a magnifying glass).
>>
>> Is there any way of disable smoothing in the image/paint/draw component?
>>
>
> Use Paint.Antialias = False with Paint.DrawImage().
>
> Or you can use the Paint.ZoomImage() method.
>
> Regards,
>
> --
> Benoît Minisini
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
>
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning
> reports.http://sdm.link/zohodev2dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list