msokk/electron-render-service

ClippingRectangle is not clipping

Closed this issue · 3 comments

Setting width or height in the clipping rectangle documented here doesn't change the actual output.

msokk commented

Really late reply, but did you set all 4 values in the clippingRectangle?
&clippingRect[x]=770&clippingRect[y]=220&clippingRect[width]=250&clippingRect[height]=90

Yep, but no result...

Hmmm... Today i tried again... It works! Maybe i was testing with a .pdf before... Clipping only seems to work for images (as stated in the docs...)

I don't know what went wrong the last time, but thanks! Sorry to bother