i've a task to solve. At job ask me be able to adjust the color levels for some images.
I started by setting input and output of black and white for this image:

backround Image result too white for final destination (newspaper).
With white so white image appears to float on printed paper.
So, using photosh0p i level INPUT and OUTPUT :

How replicate, by setting parameters, the same effect using IM ?
thank you for any help,
m.