Rendering image by using a 'pipeline' of commands

Options

Hello

We need to resize an image using ContentByExport and than apply a watermark on resized image, there is the possibility to use a 'pipeline' of commands in otmm.rendering.1.command ? I'm trying to obtain that with miff:- keyword of ImageMagik: "-resize 515x515 -strip -interlace Plane -quality 50% miff:- | composite -watermark 7% -tile /medias/watermark.png miff:-" but export process produces this error in log file: 

Executing command: 
convert jpg:/opt/OpenText/MM/data/cs/working_area/export/2300591/DIA_000001N_10129V_EOS.jpg format\\\#jpg -resize 300x300 -strip -interlace Plane -quality 50% miff:- | composite -watermark 7% -tile /medias/filigranaArchitettura.png miff:- /opt/OpenText/MM/data/cs/working_area/export/2300591/exportImageTransform-5ac80e998784290f0100e737a0bb1dfdf25d46fb-1510235137408/DIA_000001N_10129V_EOS.jpg


Can't find transformed output file that has a name that starts with "DIA_000001N_10129V_EOS.jpg" in folder /opt/OpenText/MM/data/cs/working_area/export/2300591/exportImageTransform-5ac80e998784290f0100e737a0bb1dfdf25d46fb-1510235136651

 

TY
Antonio