3D transform image (in Bohemian Sketch) - iphone

For my website, I want to use the vector image as shown here: http://www.sketchappsources.com/free-source/226-iphone-5.html
It's an iPhone 5 that is tilted.
Now I need to add my image to the screen which means I need to 3D-tilt it. I've tried and searched a lot but couldn't figure out how to transform my image so that it fits the iPhone 5 screen.
Any help in guiding me how to 3D transform my image would be greatly appreciated!
Cheers,
Frank

I recently released a plugin solving the exact issue, it allows you to draw a shape with the Vector tool and then apply the content of an artboard into the area. It's called Magic Mirror, please take a look at http://magicmirror.design

Related

Unity Pixel Art Menu

As a beginner on Unity, I'm looking for a solution to a rather annoying problem. I've been through a lot of videos and articles, but I still can't solve it.
On a blank Scene, in a Canvas containing a Panel and an Image. I'm trying to display this image correctly. It is a pixel art image.
The problem is that it remains blurred and badly arranged according to the resolutions.
I try to find a way to display it correctly while keeping its pixel art aspect.
(I looked at the pixel perfect cameras, the stretch settings and others, I set the sprite parameters to Point and No compression and others. But nothing works).
I don't know how to propose different types of zoom according to the resolution and that the image doesn't blur
If someone has a little time, and can make me a scene just with his camera, and therefore the canvas, panel and image, with good setting so that I can understand my error. It would be a great help for me !
Thanks for reading !
The background picture :
Try selecting the image in the assets and change the Resize algorithm to Point(no filter)
Hop, I found the solution thanks to this threed :
Official - Pixel Perfect Preview Package
By looking correctly at the settings apply. It came from the resizing of the Canvas and the management of the Camera.
Thanks for your messages !
And thanks to the author of the threed : rustum !

Pasting an image on top of another image

I have this poster image:
I have to blend it with another image. I have to put this image on a picture of a building like this:
The rotated poster image has white pixels that I don't know how to get rid of.
Can someone please help me with code to paste this image on the building image? The front of the building.
Firstly find the four corner points of building where you want to blend image. Also find four corner points of your poster. Then use perspective transform and warpaffine to paste poster on image.
This http://www.learnopencv.com/homography-examples-using-opencv-python-c/ link may help you to get the idea but it is using OpenCV.
I have tried this using OpenCV C++ and I am getting following image after applying perspective transform. Let me know if you want this kind of results:

Fade Image to Transparent in iOS

I am just starting out with iOS development. I'm trying to determine if this is possible in iOS and I'm new enough that I don't know what to search for, so please excuse my ignorance.
I'm going to be saving a few images in the application and the primary image will fade over another image like so:
Image A will still need to be a solid image, so my question "Is it possible to create a gradient mask that only fades for 50px from the bottom (transparent) of an image?"
Sorry if this is a basic question and since I don't know where to start I don't have any code to request help on. Any help would be appreciated! :)
Yes, it is definitely possible.
You will need to draw the images in a CGContext. Basically you would first draw image b first then draw image 'a' with an alpha mask using CGImageCreateWithMask.
It is very straight forward. See here for an example.

How to rotate image with 3D effect?

I want to rotate the .gif image with 3D effect in iPhone application,can anyone help me to provide the sample code or any direction is also appreciated.
For starters I think #Brad Larsons website will help you (or his projects).
http://www.sunsetlakesoftware.com/2009/01/13/opengl-es-catransform3d

Filter / image texture Iphone

Good!
I need to add the image of the iPhone's camera filter / texture through a UIImagePickerController, but do not know how to directly access the camera image, since only with access to the eye.
The filter may be black / white, sepia or anything else.
Thank you very much! regards
Finally fixed the problem by adding a mask to the image, so it was not necessary to apply a filter lol.
thanks
Look here Apple Reference on Image Picker to see what you would need to select an image taken from the camera.
You can then apply the filters you need to this image any way you want.
Apple provides a nice sample project to do this: PhotoPicker You may want to try this out too.
If you need to have an effect that's added on the preview layer in real-time, you'll need to go into a bit lower api's methods, like the AVCaptureSessions and OpenGLES2.0 shaders. There is a good introduction into real-time shader's for the iPhone 4 at: Introduction to Augmented Reality on the iPhone by Nick Waynik. This should help you in figuring out how to add real-time augmentation to the preview layer.
Hope that helps!