Following the examples in the ImageMagick site I was able to execute this command:
convert my_img.jpg -define tiff:rows-per-strip=1 -depth 1 -background black -flatten -compress Group4 out_img.tif
it converts a jpeg image (8 bits) to tiff format (1 bit) with group 4 compression, I liked it

Now I'm trying to do a program using MagickWand API but have no idea how to traslate these options of the command line to the program:
-define tiff:rows-per-strip=1
-background black
-flatten
-compress Group4
I used the function: MagickSetImageDepth(wand, 1) to implement the -depth 1 option and I get the output file in black and white (correctly). I tryed other functions like:
MagickSetImageCompression(wand, Group4Compression ) and MagickSetImageBackgroundColor for the other options but the image is not compressed

Any help will be very welcome.
Kind Regards.