Bounding Rectangle

Moderator: jsachs

Post Reply
Robert Schleif
Posts: 340
Joined: May 1st, 2009, 8:28 pm

Bounding Rectangle

Post 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.
tomczak
Posts: 1367
Joined: April 25th, 2009, 12:56 am
What is the make/model of your primary camera?: Fuji X-E2
Contact:

Re: Bounding Rectangle

Post 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...
Maciej Tomczak
Phototramp.com
Robert Schleif
Posts: 340
Joined: May 1st, 2009, 8:28 pm

Re: Bounding Rectangle

Post 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).
Winfried
Posts: 239
Joined: June 18th, 2010, 4:27 pm
What is the make/model of your primary camera?: Pentax K1

Re: Bounding Rectangle

Post 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.
Winfried
-----
migrated to Windows 10 in Nov. 2019
PWP Pro 64
CUDA not available
jsachs
Posts: 4217
Joined: January 22nd, 2009, 11:03 pm

Re: Bounding Rectangle

Post by jsachs »

Added this option to Resize for next release along with some others. Also fixed a number of unrelated problems in Resize.
Jonathan Sachs
Digital Light & Color
Robert Schleif
Posts: 340
Joined: May 1st, 2009, 8:28 pm

Re: Bounding Rectangle

Post by Robert Schleif »

Great. Thank you.
Post Reply