Project

General

Profile

Feature #8377

"Image" clipping ratio is wrong with 3:4 aspect ratio images

Added by brteag00 - over 8 years ago. Updated over 8 years ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
General
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Affected Version:
System:
bitness:
64-bit
hardware architecture:
amd64/x86

Description

For images that have a 3:4 aspect ratio (ie, taller than they are wide), the initial attempt to adjust the clipping results in a 4:3 region of interest. This is because the clipping iop expects
fixed ratios to be >1.0, and it inverts them when the image height is greater than the image width.

The attached one-line patch inverts the image aspect ratio if it's <1.0.

History

#1 Updated by Jose Carlos Garcia Sogo over 8 years ago

I think that this is a fix for #8337 as well.

#2 Updated by Tobias Ellinghaus over 8 years ago

  • Status changed from New to Fixed

Thanks, fixed.

Also available in: Atom PDF

Go to top