DiegoCatalano / Catalano-Framework

Framework
GNU Lesser General Public License v3.0
295 stars 99 forks source link

Threshold not working when inverted #26

Closed Nopalin closed 8 years ago

Nopalin commented 8 years ago

I found a bug in the threshold class, when it is not inverted a value greather or equals than the specified is white, but when it is inverted a value less than the specified is black, painting in both cases the same images. Just need to change the condicional from less than to greather or equals to.

Greetings

DiegoCatalano commented 8 years ago

Hello Nopalin,

This class is so old. I have reworked now and this bug is fixed. Much thanks !

Cheers !