If dimension of watermark, grower of source image, return this error:
Exception 'Imagine\Exception\OutOfBoundsException' with message 'Cannot paste image of the given size at the specified position, as it moves outside of the current image's box'
It's fine. But how can ignore this error, so new image will be create but the part of watermark that outside of the image box is hidden and removed.
This issue has originally been reported by @NabiKAZ at https://github.com/yiisoft/yii2/issues/16612. Moved here by @samdark.
When use this command:
If dimension of watermark, grower of source image, return this error:
It's fine. But how can ignore this error, so new image will be create but the part of watermark that outside of the image box is hidden and removed.