Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set the initial crop box size #5

Open
bsutton opened this issue Jul 12, 2023 · 0 comments
Open

How to set the initial crop box size #5

bsutton opened this issue Jul 12, 2023 · 0 comments

Comments

@bsutton
Copy link

bsutton commented Jul 12, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant