ashot icon indicating copy to clipboard operation
ashot copied to clipboard

Using Filter without cropping the Screenshot

Open drundanibel opened this issue 6 years ago • 1 comments

Is there a way to apply a filter to a WebElement without cropping the surrounding rest of the screenshot at a defined distance? I would like to keep the original screenshot in full size. Is this possible?

Originally posted by @drundanibel in https://github.com/pazone/ashot/issues/79#issuecomment-454427233

drundanibel avatar Jan 16 '19 07:01 drundanibel

Okay, I'll answer it myself: Now I have simply passed a utopian high value 3000 as parameter to IndentCropper(). Contrary to my assumption that this would add the required space to the screenshot, the result is the desired image with the original dimensions. :)

drundanibel avatar Jan 16 '19 07:01 drundanibel