yackle / CLImageEditor

MIT License
2.22k stars 574 forks source link

Open UIImagePickerController from EffectTool Toolbar #114

Closed Tippit closed 9 years ago

Tippit commented 9 years ago

Hi,

From CLEffectTool I use filters category GPUImageDissolveBlendFilter from GPUImage (I need the sliders for minxing two images) I would like the user to choose an image from its library to use as a filter overlay. how to open UIImagePickerController from the toolbar?

Regards.

yackle commented 9 years ago

You should to add a button or a toolbar by yourself.

Tippit commented 9 years ago

In fact I do not know how to handle the event when the user press the button to make a call to UIImagePickerController

yackle commented 9 years ago

Do you mean that you want to know how to use the UIButton?

Tippit commented 9 years ago

I want to know where i can make the call to UIImagePickerController, CLEffectTool , setup or applyEfect ?

Tippit commented 9 years ago

the answer should be simple I'll get some more. sorry for the inconvenience

Tippit commented 9 years ago

Currently I created a blend effect with the wrapper library GPUImage, I offer filter images from my toolbar (it is in the bundle file) but I want to load an image from my photo album rather than the bundle.

In other words you have an image in the editor and you want to add a second image from your photo album, I like to know how to add this second picture after having created a button for this feature

yackle commented 9 years ago

And so did you try what code?

Tippit commented 9 years ago

my toolbar contains only one button to call

UIAlertController alertController * = [UIAlertController alertControllerWithTitle: nil message: nil preferredStyle: UIAlertControllerStyleActionSheet];   I placed in - (UIImage ) applyEffect: (UIImage ) Image :-(

yackle commented 9 years ago

So what is the problem? How do it become if you try changing to setup?

Tippit commented 9 years ago

Thank's Yackle :)

Best regards, Claude Bezeaud.

Le 9 août 2015 à 12:33, Sho Yakushiji notifications@github.com a écrit :

Closed #114.

— Reply to this email directly or view it on GitHub.