Page 1 of 1

Bounding Rectangle

Posted: December 31st, 2019, 10:41 pm
by Robert Schleif
I miss the option "Bounding Rectangle" in the Resize transformation that was present in PWP 7, but seems not to be present in PWP 8.

Re: Bounding Rectangle

Posted: January 1st, 2020, 12:24 am
by tomczak
Since v.8.0.24 there have been Pixel Short Side/Pixel Long Side options in Resize. Pixel Long Side should be the same as Bounding 'Square' instead of a rectangle...

Re: Bounding Rectangle

Posted: January 7th, 2020, 10:05 pm
by Robert Schleif
I don't think that Short Side/Long Side is equivalent to the Bounding Rectangle because with Bounding Rectangle you specify which number is width and which number is height, whereas Short/Long does not and the orientation can shift.

Suppose I wish to resize images, some of which are in landscape orientation, and some of which are portrait, but all have to fit within a box, 1500 pixels wide and 1000 pixels high. Consider two input images, A which is 3000 wide and 2000 high, and B which is 2000 wide and 3000 high.

Bounding Rectangle makes A 1500 wide, 1000 high, and makes B 667 wide and 1000 high. This is the desired result, both fit inside the box.

Short Side/Long Side makes A 1500 wide, 1000 high (correct), but makes B 1000 wide and 1500 high (not correct, maximum height is 1000).

Re: Bounding Rectangle

Posted: January 8th, 2020, 3:53 am
by Winfried
Just another example: Resizing images for a FullHD TV. The size of the screen is 1080x1920 Pixel.
A bounding box 1080 pixel high and 1920 pixel wide should resize the image to fit on th screen. If you use a 4K-Screen (TV) just use the appropiate pixel values.

Re: Bounding Rectangle

Posted: January 10th, 2020, 9:24 am
by jsachs
Added this option to Resize for next release along with some others. Also fixed a number of unrelated problems in Resize.

Re: Bounding Rectangle

Posted: January 10th, 2020, 11:48 am
by Robert Schleif
Great. Thank you.