Page 1 of 1

The problem about the API of MagickWhiteThresholdImage and MagickEvaluateImage

Posted: 2018-08-20T01:25:36-07:00
by liuxiaomeng2270
HI,

When I use the API of MagickWhiteThresholdImage on one linux operating system, the API works well.
But When I use it on another linux operating system, the background color of processed image will be blue,green or other color, And originally black letters will turn white.

The same problem also occurs in the API of MagickEvaluateImage. When I set MagickEvaluateOperator to AddEvaluateOperator on one linux operating system, the API works well, on another linux operating system, the processed image turns black.

One linux operating system that the API works well is NeoKylin, the verision of ImageMagic is 6.7.8-9. the other operating system is Kylin, the verision of ImageMagic is 6.8.9-9.

Is it related to the operating system ? Or is it related to the version ?

Any suggestions?


THX

Re: The problem about the API of MagickWhiteThresholdImage and MagickEvaluateImage

Posted: 2018-08-20T02:44:26-07:00
by snibgo
Which version works? Which doesn't?

I suggest you paste complete but minimal program(s) that don't work as you think they should.