Skip to content

Add an optional parameter to pictureTool() to specify the zoom level #69

@dllargent

Description

@dllargent

Currently pictureTool() has one parameter, the picture to be displayed. Once displayed, the display window has a "zoom" command that allows you to enlarge or decrease the size of the image displayed. Currently, the image is displayed at the default 100% level.

This enhancement request is to add a second parameter that will be optional and allow the specification of a zoom level at initial display of the image. The behavior would be as follows.

  • If the new parameter is not provided, then pictureTool() should behave as it currently does, displaying the image at the 100% level.
  • If the new parameter is provided, then pictureTool() should display the image at the level indicated by the parameter value.
    -- Note: the parameter value should be validated against the current zoom level options, and return an error if the requested level is not available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions