This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Crop/Resize
#17
After looking at the screenshots again, I don't the what you think is wrong.

regarding post #13:
Quote:I set input PAR from10:11 to 8:9.
That time it showed proper 720x540.
However cropping the border still doesn't resize picture to preserve PAR.
Yes it did.

720x480 input resolution @PAR 8/9
714x480 crop resolution @PAR 8/9 (cropping right 6 pixels)
resize is set to adjust the width
target height: 540 -> resizeMult = 540/480 = 1.125
target par: 1:1 -> parMult = 8/9
resized width = cropWidth*resizeMult*parMult 714*1.125*0.888 = 713.286 = 714
-> 714x540, which is shown in your image

regarding post #14:
720x480 input resolution @PAR 8/9
714x476 crop resolution @PAR 8/9 (cropping right 6 pixels, top 4 pixels)
resize is set to adjust the height
target width: 720 -> resizeMult = 720/714 = 1.0084033613445378151260504201681
target par: 1:1 -> parMult = 9/8
resized height = cropHeight*resizeMult*parMult = 476*1.0084033613445378151260504201681*9/8 = 540
-> 720x540, which is shown in your image

I don't see any mistake in the calculations or you screenshots.

So if you think something is wrong then please write down what you configured, what Hybrid showed and what you think is correct.
To me it seems all working correctly atm.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Messages In This Thread
Crop/Resize - by serg - 30.10.2020, 22:23
RE: Crop/Resize - by Selur - 31.10.2020, 06:48
RE: Crop/Resize - by serg - 31.10.2020, 18:32
RE: Crop/Resize - by Selur - 31.10.2020, 18:43
RE: Crop/Resize - by Selur - 31.10.2020, 19:10
RE: Crop/Resize - by serg - 31.10.2020, 19:40
RE: Crop/Resize - by Selur - 31.10.2020, 19:43
RE: Crop/Resize - by Selur - 31.10.2020, 19:53
RE: Crop/Resize - by serg - 31.10.2020, 20:20
RE: Crop/Resize - by Selur - 31.10.2020, 20:47
RE: Crop/Resize - by serg - 31.10.2020, 21:06
RE: Crop/Resize - by Selur - 31.10.2020, 21:09
RE: Crop/Resize - by serg - 31.10.2020, 22:01
RE: Crop/Resize - by Selur - 31.10.2020, 22:08
RE: Crop/Resize - by serg - 31.10.2020, 22:23
RE: Crop/Resize - by Selur - 31.10.2020, 22:24
RE: Crop/Resize - by serg - 31.10.2020, 23:18
RE: Crop/Resize - by Selur - 31.10.2020, 23:00
RE: Crop/Resize - by Selur - 31.10.2020, 23:41
RE: Crop/Resize - by serg - 01.11.2020, 00:22
RE: Crop/Resize - by Selur - 01.11.2020, 00:35
RE: Crop/Resize - by serg - 01.11.2020, 02:50
RE: Crop/Resize - by Selur - 01.11.2020, 09:49
RE: Crop/Resize - by Selur - 01.11.2020, 11:44
RE: Crop/Resize - by serg - 01.11.2020, 22:06
RE: Crop/Resize - by Selur - 01.11.2020, 22:08
RE: Crop/Resize - by Selur - 01.11.2020, 22:32
RE: Crop/Resize - by serg - 02.11.2020, 00:55
RE: Crop/Resize - by Selur - 02.11.2020, 05:51
RE: Crop/Resize - by serg - 02.11.2020, 07:04
RE: Crop/Resize - by Selur - 02.11.2020, 17:07
RE: Crop/Resize - by Selur - 02.11.2020, 18:02
RE: Crop/Resize - by serg - 02.11.2020, 20:23
RE: Crop/Resize - by Selur - 02.11.2020, 20:57
RE: Crop/Resize - by serg - 02.11.2020, 21:19
RE: Crop/Resize - by Selur - 02.11.2020, 21:24
RE: Crop/Resize - by Selur - 02.11.2020, 21:37

Forum Jump:


Users browsing this thread: 1 Guest(s)