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

Use needsManualCrop with needsOriginal #75

Merged
merged 3 commits into from
Sep 5, 2023

Conversation

shuhei-kaneko
Copy link
Contributor

@shuhei-kaneko shuhei-kaneko commented Aug 2, 2023

Background & Changes

  • Add option to use o (original image) when mc (manual crop).
    Specifically, allow the condition mc = true, o=true
    Until now, when mc = true, the size of the image to be acquired was determined by the values of the parameters w and h
    e.g. When w=300,h=300, size=1000 was recognized and the non-original image was selected.
    https://github.com/tokubai/kinu/blob/master/resource/backward_compatible.go#L37-L43

  • Change Imagemagick download link in Dockerfile.

@shuhei-kaneko shuhei-kaneko requested a review from minois August 2, 2023 02:37
Copy link

@minois minois left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great changes! 🎉

@shuhei-kaneko shuhei-kaneko changed the title Use needsManualCrop and needsOriginal Use needsManualCrop with needsOriginal Aug 16, 2023
@kufu-ai kufu-ai deleted a comment from minois Aug 16, 2023
@shuhei-kaneko shuhei-kaneko force-pushed the Use-needsManualCrop-and-needsOriginal branch from 63e6da3 to d5d605b Compare September 5, 2023 05:10
@shuhei-kaneko shuhei-kaneko merged commit ce4b01d into master Sep 5, 2023
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

Successfully merging this pull request may close these issues.

3 participants