Skip to content

Make image/video resizing simpler in the WebUI #4821

@NiteRide

Description

@NiteRide

Problem

It can be tricky to resize images and videos when required as manually calculating and setting height and width can be confusing to figure out the maths due to the need for remembering variables like sensor size, any cropping, and borders that may have been applied.

It would be useful to make it easier to specify resizing of an image or video (uploaded image, timelapse, mini-timelapse, etc).

Proposed idea/solution

  • Where there are two fixed dimensional values, let user leave one as "0" and Allsky will then auto-scale based on the single input.
    • Eg if user enters a width of "1000" with "0" for height, then Allsky should auto-scale the height to match that ratio when processing an image or video. (Similarly if user enters only height and "0" for resize width.)
  • This same behaviour should apply across the Allsky settings to uploaded image, timelapse, mini-timelapse, anyplace resizing can be specified
  • It would also be nice to allow a user to simply specify a scaling factor (such as "50%") instead of specific dimensions
    • eg a user types in a number with a "%" symbol eg 50% vs 50 then Allsky would just calculate the new image size at that ratio (rounding to even numbers, etc)
  • this would require some careful thinking about rewriting the on-screen descriptive labels and also reviewing the documentation to make it intuitive

Advantages:

  • Keeps current settings in tact for existing users which improves upgrade experience and reduces change
  • provides real usability enhancement for scaling as it can be set and forget without too much thinking about what size the image actually is
  • Retains more of existing logics and look and feel

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions