on 08-26-2022 12:50 PM
Hello there
We've set up a cloud environment and activated the cloudmediaconversion and set up ConversionMediaFormat to generate pictureformats that also add a watermark to the image. This is done using the example on the following page:
Conversion Media Formats - Sample Data | SAP Help Portal
Using the setup works locally (with the regular mediaconversion extension) and imagemagick is generating the image as expected. In the cloud environment it does not seem to work. I've tried both our adjusted conversion setting, as well as the default one from the example ("{addOn#1} -compose bumpmap -gravity center -composite").
The exception we get is:
A problem occurred during conversion of commands {addOn#1} -compose bumpmap -gravity center -composite with error Error running process for commands </usr/local/bin/convert jpg:/tmp/src8814467874846-gfConversionMediaFormat1 {addOn#1} -compose bumpmap -gravity center -composite /tmp/target8814467874846-gfConversionMediaFormat1>, finished with code: 1
Std out:
Err out: convert: unable to open image '{addOn#1}': No such file or directory @ error/blob.c/OpenBlob/3533.
convert: no decode delegate for this image format `' @ error/constitute.c/ReadImage/738.
To me it looks like the referenced addOn media is not resolved in the cloud environments and the command is executed with the placeholder value instaed of it being replaced with the file path.
HI,
I guess, that in the call is the part /tmp/ the issue
Is the "jpg:/tmp/src..." also used when only converting is called?
-composite /tmp/target8814467874846-gfConversionMediaFormat1>
jpg:/tmp/src8814467874846-gfConversionMediaFormat1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.