Replies: 6 comments
-
@wfettich Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-03-18.at.11.28.39.mp4 |
Beta Was this translation helpful? Give feedback.
-
Yes, that's it.
But I have my own slider that applies my filter to that image.
…On Mon, Mar 18, 2024 at 5:31 PM Yingtao Guo ***@***.***> wrote:
@wfettich <https://github.com/wfettich>
Currently Mantis does not support the feature you mentioned.
Is the demo below is something you want? (I changed some code for a test)
If you can provide more details of your requirement, I will consider to
add this support in a future version.
https://github.com/guoyingtao/Mantis/assets/26723384/33a6ce19-33c5-419f-ab12-4d6e491e88ea
—
Reply to this email directly, view it on GitHub
<#378 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHFCHFQ2WA3GOUXBVMIQ4TYY4CEZAVCNFSM6AAAAABE3MDUISVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DQMRZG4YTC>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Do you think you could share the code for that demo ?
…On Mon, Mar 18, 2024 at 5:38 PM Walter Fettich ***@***.***> wrote:
Yes, that's it.
But I have my own slider that applies my filter to that image.
On Mon, Mar 18, 2024 at 5:31 PM Yingtao Guo ***@***.***>
wrote:
> @wfettich <https://github.com/wfettich>
> Currently Mantis does not support the feature you mentioned.
> Is the demo below is something you want? (I changed some code for a test)
> If you can provide more details of your requirement, I will consider to
> add this support in a future version.
>
>
> https://github.com/guoyingtao/Mantis/assets/26723384/33a6ce19-33c5-419f-ab12-4d6e491e88ea
>
> —
> Reply to this email directly, view it on GitHub
> <#378 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAHFCHFQ2WA3GOUXBVMIQ4TYY4CEZAVCNFSM6AAAAABE3MDUISVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DQMRZG4YTC>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
Beta Was this translation helpful? Give feedback.
-
Basically I have this, and when I move that silder I want to apply my
filter to the image.
…On Mon, Mar 18, 2024 at 5:50 PM Walter Fettich ***@***.***> wrote:
Do you think you could share the code for that demo ?
On Mon, Mar 18, 2024 at 5:38 PM Walter Fettich ***@***.***> wrote:
> Yes, that's it.
> But I have my own slider that applies my filter to that image.
>
>
>
> On Mon, Mar 18, 2024 at 5:31 PM Yingtao Guo ***@***.***>
> wrote:
>
>> @wfettich <https://github.com/wfettich>
>> Currently Mantis does not support the feature you mentioned.
>> Is the demo below is something you want? (I changed some code for a test)
>> If you can provide more details of your requirement, I will consider to
>> add this support in a future version.
>>
>>
>> https://github.com/guoyingtao/Mantis/assets/26723384/33a6ce19-33c5-419f-ab12-4d6e491e88ea
>>
>> —
>> Reply to this email directly, view it on GitHub
>> <#378 (comment)>,
>> or unsubscribe
>> <https://github.com/notifications/unsubscribe-auth/AAHFCHFQ2WA3GOUXBVMIQ4TYY4CEZAVCNFSM6AAAAABE3MDUISVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DQMRZG4YTC>
>> .
>> You are receiving this because you were mentioned.Message ID:
>> ***@***.***>
>>
>
|
Beta Was this translation helpful? Give feedback.
-
If you just want to have a test, you can add the code below to CropViewController, and remove public func setImage(_ image: UIImage) {
cropView.image = image
((cropView as! CropView).imageContainer as! ImageContainer).imageView.image = image
} The code is for test only. I need a better API to support this feature if needed. |
Beta Was this translation helpful? Give feedback.
-
Now you can have a test on this PR #387 |
Beta Was this translation helpful? Give feedback.
-
Hi,
I need to apply a filter on the mage while it is being edited. I managed to do a CustomViewController that also contains a slider that sets a certain filter value. However I can't seem to find how to change the image that is being edited. Could someone help me with some pointers or an example ?
I create the editor using the helper functions: Mantis.cropViewController .. where I pass the image to edit. However I cannot seem to be able to change it after the editor was created.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions