Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Working with pictures
-
Hi
I want to add a greyscale image (a logo) to a picture. I wrote a little ios pythonista app in which I open a picture from an album and show it on the view in an ui.imageview. This works.
And the other magic is missing. I want to show the logo (I have the black logo on a white background as an jpg or png image) on the loaded picture. I want to change the size of the logo by using two fingers and I want to move the logo by using one finger. The last step is to combine both pictures and save the result in an album.
- How to show only the non white parts of the logo on my picture
- How to move it with one finger
- How to chsnge the size with two fingers
Many thanks
Kluesi
-
-
Here is a stack overflow answer and I have not tried it. https://stackoverflow.com/questions/765736/using-pil-to-make-all-white-pixels-transparent
-
Moving a view and changing size based on segmentedcontrol selection https://gist.github.com/357b2aef8c09a15289c6193597035861