Open patryk-sredzinski opened 11 months ago
ZLPhotoConfiguration.default()
.editImageConfiguration
.clipRatios([.circle]) // or .clipRatios([.wh1x1])
This I believe only adds clip ratio, but user is still able to not to enter clipping controller, and keep original photo.
I'd like to make him forced to clip, and also allow editing the image
OK, this configuration can meet your needs
ZLPhotoConfiguration.default()
.editImageConfiguration
.tools([.clip])
.clipRatios([.circle]) // or .clipRatios([.wh1x1])
ZLPhotoConfiguration.default()
.maxSelectCount(1)
.editAfterSelectThumbnailImage(true)
.showClipDirectlyIfOnlyHasClipTool(true)
Yeah, but I believe this will not let me do other editing on image right? No Drawings, no sticker, no filters.
That's why I think I'd like to add this functionality, but I'd like you to help me planning it so it works well.
Delete .tools([.clip])
and .showClipDirectlyIfOnlyHasClipTool(true)
. But in this case, the user can choose not to enter the cropping interface.
So now there is no good way to support your needs.
Yeah, that's why I'd like to ask you what do you think I can do as a new functionality for it to be supported properly.
Feature Description
I am in a need to force user to crop image to square/circle (when he edits a profile avatar) I don't think I have seen this feature available. Planning to modify it.
Can I get any suggestions so in the end it get's merged?