Closed lesleslie closed 1 year ago
ResizeToFit will throw a TypeError when width or height is not set.
Since the image has already been resized by Resize, we should send ResizeToCanvas the new dimensions to avoid the TypeError.
Your PR has failing test. In your PR there is no test which will describe your issue. Can you provide one?
ResizeToFit will throw a TypeError when width or height is not set.
Since the image has already been resized by Resize, we should send ResizeToCanvas the new dimensions to avoid the TypeError.