ilovepdf / ilovepdf-php

iLovePDF Rest Api - PHP Library (https://developer.ilovepdf.com)
146 stars 39 forks source link

Call to undefined method Ilovepdf\WatermarkTask::setOpacity() #13

Closed divsbhalala closed 6 years ago

divsbhalala commented 6 years ago

When setting opacity into watermark task getting error function undefined http://prntscr.com/heovse

maztch commented 6 years ago

Hello divsbhalala, the method is setTransparency

divsbhalala commented 6 years ago

@marcogrossisas I also tried that method but setting transparency is not working

maztch commented 6 years ago

try it now: setTransparency(0) is full transparent, setTransparency(100) is full opaque

divsbhalala commented 6 years ago

@maztch it's working now