Skip to content

How to set the initial crop box size #5

Description

@bsutton

Not a bug nor a feature....

I'm trying to select a fixed-size section out of lots of images.

As such I want the initial crop box already set to the desired size so I don't have to fiddle with the crop box on every image.

The only thing that appears to come close is:

    cropperSettings.setMinCropBoxHeight(GeneratedImage.SWATCH_HEIGHT);
    cropperSettings.setMinCropBoxWidth(GeneratedImage.SWATCH_WIDTH);

This does correctly set the minimums but is no help with setting the initial size.

Is this possible?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions