Skip to content

How to set the initial crop box size #5

@bsutton

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?

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