Programmatic picture display (portrait long or landscape wide)

Post Reply
Aristotle
Posts: 2
Joined: 19 Aug 2017, 01:18

Programmatic picture display (portrait long or landscape wide)

Post by Aristotle » 19 Aug 2017, 02:31

Hi Maxim,

Can you add a feature where the software will check the basic dimensions of the picture and load it as either portrait (long) or landscape (wide)?

Such as:

If photo is 1280x1920 px, software will see the width 1280px < 1920px and the factor is 1.5 (measuring from longest side using 1920/1280), You can also use width/length, which here is 0.667. And the software can use the ratio, maybe of 1.35 or 1.4 (or 0.72 or 0.75) to check against the pictures to determine if the picture is long or wide, for display.

Then the software can label the picture as "portrait" and can display correctly, or "landscape" and display wide.

For example, if you have positioning settings as "3 columns and 1 row" - it will show the user 2 smaller columns (measured by width) of portrait photos, and 1 larger column (longer width) of a landscape photo.

Right now, it is displaying these types of pictures randomly, so it is not the best for screensaver view. I think all pictures should be able to display with greater than 80% accuracy (where you can see 80%+ of the picture).

Thank you :)

Maksym
Site Admin
Posts: 2077
Joined: 02 Mar 2009, 17:02

Re: Programmatic picture display (portrait long or landscape wide)

Post by Maksym » 19 Aug 2017, 11:10

Yeah, this would be nice. I'll add this one to the to-do list.

Post Reply