how to save an image with text on another image? - iphone

I any one have idea about taking snapshot from iphone application through coding.
means.
I am developing an iphone application where there will be two images dynamically comes. There will be a text view with clear color on those particular images. users will be able to write any text on the images and click save button. Then those particular images will have to be saved in database along with text or have to save them in iphone library along with text.
we may need to convert the image along with text as an another image.. ? or do any one have any ideas about this kind of challenging task..
Please help.
Thanks in advance to you all....

Related

Composing a pdf-file by filling a pdf-form programmatically or by composing a SwiftUI-View and convert it to a pdf?

I have a question for the best approach to code an app with the ability to convert a SwiftUI View into a PDF-file.
With my app I want to enable the users to compose a PDF-file with an image, with texts, with links and with some calculated values for later printing by AirPrint and sending as an email-attachment
What is the right way to go in coding with SwiftUI:
Composing a View, rendering the View and thereafter creating the PDF
or
is it possible to prepare a PDF-form with Adobe DC, then use the app's data for filling it programmatically with the help of the ?framework PDFKit? including images and maybe an empty table as well?
Thx for any helpful hint.
I don‘t wait for any code, please just send some words for my further working in your opinion.
Franz

adding text to image within image picker

hello i am creating an iOS app using cocoa and xcode
i am very new to the whole thing and have gotten kind of lost.
in part of my application the user must choose a picture from the library or using a camera, then some text is added to it(just like "id cap that").
the question is where would i add the text and how do i save it to the phone?
i know there is a allowsImageEditing property, the question is how to i edit it so that instead of crop and zoom it will add text and have an option of saving.
thank you
The system determines what kind of editing is allowed. You can only tell it whether it's allowed or not, but you cannot choose what type of editing. If you want to add a caption to an image, you'll have to use Core Graphics to do so. Or, if you don't care about the image being saved with the caption on it, you can simply use a UILabel on top of a UIImageView.

Iphone - Photoreel from URL Array

I've seen a lot of apps that when you click photos you get a small square of each image, and then when you click them you get a full screen version. Actually, just like the photoreel.
Is there a way of populating the photoreel with an array of images? I have about 6 per location that I'd like to show like that.
I've had a google, but coming up a bit blank!
Any help would be appreciated
This is a Flikr JSON tutorial (the first part is mostly the JSON calls but they do some early GUI set up too) but it gets a preview of each image in a small thumbnail and then when clicked it opens the full image in the same window.
Depending on how your images are loaded simply replace the json creation with your array/dictionary params and follow how the tutorial progresses, its only 3 parts and has a good starting point for what you're looking for.
Hope it helps

Want to store photos like photo application

I would like to store severals photos like photo application, however i don't know exactly the objects what i need. If anyone know how to implement this way i'm interested.
A link to give you an idea: http://blog.photobox.fr/wp-content/uploads/2010/07/Album-iPhone5.jpg
thank you in advance.
You can try the PhotoViewer provided in three20 framework. It is exact replica of the Photos app of iPhone, if that's what you're looking for. You can find a tutorial here.
go to this link it help u
https://github.com/kirbyt/KTPhotoBrowser
Having spoken to an Apple engineer on some of the optimizations that they went through on the Photos app, I can give you a couple of tips:
They never display back the original photo. Because of a photo's size, they only take the original photo and save off a number of optimized thumbnail images.
The example image you show does not contain a series of thumbnail images. Each row is actually a single image. For selection, an overlay is placed in the exact size and dimension of the thumbnail image to give the impression that you are selecting a particular image. This could be accomplished by using a table view, but it more likely just a scroll view.

Insert text or Edit Image in iPhone

I am stuck with this problem and not getting any idea about this.?
I do have some images in the application, and I want to insert some text in to that images which I take as input from the user?
I don't have any idea how to accomplish this task? Is it possible or not.
Basic Idea is : I do have images in to the application resources.
I want to insert text at certain place or at some cordinate.
Lets say, User insert: Merry Christmas, so the text get include in the image. at specific cordinate of the image.
Reference 1
How do I use the NSString draw functionality to create a UIImage from text
may help you a bit
Do you want to save the images with text input by the user? If not not then you can simply add label on imageView