0

I'm doing

img = PythonMagick.Image('image.jpg')
img.threshold(30)

Why this does not correspond to manually running

convert -threshold 30%

Same for 0.3. Similar problem with blur 0x1

EDIT: From documentation, threshold is related to quantum depth, which is usually 65536... So 30% is 19660.8 and the thread is solved?

Bibhas Debnath
  • 14,559
  • 17
  • 68
  • 96
Mercier
  • 96
  • 2
  • 7

0 Answers0