This is an archived forum post. The information may be outdated. Contact us if you have any questions.

Image and watermark not working

syasuk wrote on 2017-10-04:
Hi,

I've setting up a watermark in my PDF but it seems that the watermark failed to appear.

Is these coding have something wrong ?

$client->setWatermarkInBackground('True');
$client->setWatermark("http://yayasanbankrakyat.com.my/ybr_mark.png",0,85);
support wrote on 2017-10-04:
Hello,

it seems that a color space in your PNG for watermark is not supported. Please try save PNG with default color profile.

Or you could try the new version of Pdfcrowd API to see if it resolves your issue.
-- https://pdfcrowd.com/api/