Image Resize Logic for Aspect Ratio and Display Size Control
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In list displays of images, the display size of images often becomes excessively large or small due to variations in aspect ratios, leading to degraded appearance and low visibility, especially when longitudinally long images are displayed alongside laterally long images.
Innovation Solution
An electronic device and method that calculates and maintains aspect ratios by resizing images to fit within specific thresholds in both horizontal and vertical directions, ensuring that the total width of images in a row matches the display area and limiting the number of images per row, thereby preventing excessively large or small display sizes.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Shape
If images are displayed maintaining their original aspect ratios in a list layout, then the aspect ratio of each image is preserved, but the display size becomes excessively large or small depending on the image's original dimensions
Solution Approach 1:
The patent changes the display parameters (width, height, aspect ratio) dynamically based on the image's orientation and the available display space. For portrait images, it uses a different arrangement strategy than for landscape images, adjusting the display size parameters to fit within the list layout while maintaining reasonable visibility
Solution Approach 2:
The system dynamically determines the display configuration by first identifying whether each image is in portrait or landscape orientation, then selectively applying different layout rules. This dynamic adaptation allows the display size to adjust according to the specific characteristics of each image rather than using a fixed approach
2Device complexity
If the display area is set as a predetermined fixed area, then the layout is simple to implement, but longitudinally long images appear excessively small compared to laterally long images
Solution Approach 1:
The patent applies different display quality standards to different image orientations. Portrait images are arranged with specific spacing and sizing rules, while landscape images receive different treatment. This local quality approach ensures that each type of image achieves optimal display uniformity within its category, compensating for the fixed area constraint
Data Source
AI summary
An electronic device: calculates, for each image, length of a side in a first direction when resizing length of a side in a second direction to a specific length; arranges images such that the number of images arranged in the first direction is not more than a threshold number and a total of lengths of sides in the first direction of the images arranged in the first direction is not more than a threshold length; executes, for each image, resize processing for resizing the images arranged in the first direction such that the total of the lengths is approximated to the threshold length and lengths of sides in the second direction of the images arranged in the first direction are approximated; and displays the images, on which the resize processing is executed, in the display area side by side in the first and second directions.


