Phreak87 / LeptonicaSharp

Full featured wrapper for leptonica 1.77.0
Other
8 stars 5 forks source link

pixSetUnderTransparency signature incorrect #53

Closed fdncred closed 5 years ago

fdncred commented 5 years ago

This is not correct.

public static Pix pixSetUnderTransparency(Pix pixs, uint val, DebugOnOff debug)

It should be:

public static Pix pixSetUnderTransparency(Pix pixs, uint val, int debug)
Phreak87 commented 5 years ago

i checked a few examples.Enum DebugOnOff is because of the BuildConfig.xml but should have values 0 and 1 instead of 1 and 2. Fixed it.