iOS: How to alter an image on screenshot (Xcode 6.4, Swift 1.2) - ios

Sorry if the question sounds noonish, but I couldn't find a clear answer to this: I know it is not possible to prevent a screenshot in iOS, so I was wondering if there is a way to graphically render an image that would make it look different if it was screenshotted. Now I am not asking for a full technical explanation, but I would like to have a pointer in the good direction, like if there is a specific technical term (I looked into watermarking and steganography but didn't really find what I was looking for).
For instance I was thinking about using a filter in-app, but I assume it could also be captured by the screenshot, so I don't really know where to look.
Thanks!

Related

iOS - Detecting color combination on camera feed

I need to detect something like a barcode but colored on live video (I don't necessarily need tracking, it is optional).I could use OpenCV but I thought it is worth a try asking here. The problem with openCV is that I am not very familiar with the whole concept of image processing. The other problem is that I use swift in most of the time, and however I could write an Obj-C wrapper with the help of google, the fact that OpenCV is written in C++ does not help at all, so maybe it would take too much time to use OpenCV.
Do you know any SDK-s that could help me in that? (It is not a problem if it is not free)
EDIT:
To be clear. By "something like a barcode" I mean that it is colored and instead of the width of the bars the colors are what metter.

How do I Display Select Pixels of an Image Using Swift?

I'm trying to define pixels of an image based on their color code, and display them on command. I've been researching this and can't seem to find information on the subject, I've mostly been pointed towards "Animations" and "Core Image Filters" which isn't quite what I'm looking for. Any information on the subject is much appreciated.
https://github.com/jjxtra/DRColorPicker
try this sample code of a color picker. one of the views is a plane of continuous colors and is probably what you want. apple has good source code and the swift book is great for avoiding bad questions. you have to watch it as a beginer.too many simple questions on this site and they will block you from asking more.

Best and easiest way to directly render CGPDFPage

I am looking for an easy, direct and straightforward way to render a CGPDFPage and view it on an iOS device.
The rendered page should fill the view to which it is drawn and be crispy clear.
The less the code used in the method the better. However, if the amount of code required for the best result is too much, then it is preferred that the code be organised and well written.
Please do include a way to view in RGB color instead of CMYK.
I'd really appreciate it if you didn't suggest PDF readers/viewers or Github projects since I prefer not using them.
Thanks in advance.
I don't think this is a valid question. Anyways you should take a look to apple sample codes first.
Here you go
https://developer.apple.com/library/ios/samplecode/ZoomingPDFViewer/Introduction/Intro.html#//apple_ref/doc/uid/DTS40010281

Is there a way to curve text/labels in Cocos2d?

Here is an example of what I would like to achieve.
Is there a way to "transform" a label in Cocos2d and obtain a curved text? I do not find any property in the CCLabelBMFont class that seem to allow this.
Any suggestion wellcome.
Rason for asking: I would prefer not to use pre-generated (with Photoshop or GIMP) text images. Hence I am looking for an answer to this problem and not to an alternative method.
One of the moderators of the Cocos2D forum has replied to me in their forum and it doesn't seem possible. Here is the link to the discussion on the forum, but as far as I can tell there is no solution (In my opinion it would require having implemented a draw call in the labels that blends the pixtures according to the new image matrix resulting from bending the original label image and as far as I can understand CCLabelBMFont does not seem to support this - and I am not sure that is easily possible to do so as the class does not derive from CCSprite but it may be in some other way that I do not know at the moment).

How to binaries image using ImageMagick?

I have got one image like this
to only black and white colored image.
And I come across this ImageMagick resource
Does this can be used to generate black and white image from the above given image?
Does it is good to use this one?
If it is good one then does there is any documentation or tutorial on "How to use?".
UPDATE
SO GOT THE BEST SOLUTION FROM #ale0xB's SUGGESTION.
No third party api is required for doing this as apple's COREIMAGE.FRAMEWORK is the best for doing what I want to do. It's filters are working like charm :)
Thanks for the suggestion :)
I use this image filter. And it is great in speed and provides great output :)
Why would you want to use imageMagick instead of the standard Core Image to produce black and White images? I haven't used it before, but I doubt it's gonna give a much better performance than the native framework when it's just about creating a filter.
Since iOS 6 you have it really easy, have a look: Core Image filters, specially to CIColorMonochrome, which is the one you may be interested in.
If you're playing with images in your app, this is definitely worth checking: Core Image Programming Guide

Resources