Two images composition in iphone app

Hi here is what I want to do in my app. Suppose I have two UIImage, the same size. At the beginning, I show the first one. The user start to use their finger touch and move on the screen. For all the locations users touched, I would like to display the correspondent pixels from the second image. How can I do it?
Thanks,
ff

In your scenario, you can just use a regular 2x image and use UIImageView to kick-in and scale-down images 50% during runtime. This will work at the API end and your apps will have no problems getting approved. People do this.
But, the drawback:
You should ideally determine the device resolution at launch and scale down accordingly to avoid untidy or pixelated images
Some smaller graphics will suffer - like buttons, icons, etc... - as Apple doubles pixels in each direction. Considering this, using just a 2x image approach may not be the best way of ensuring 'crisp' images
On the other hand, you could simply use both 1x and 2x images and let the device pick up the image that is optimal, depending on its resolution. While this will certainly result in a larger sized app, it wont be a memory crunch on the device since the API picks up the relevant image and only loads that at runtime. It will not load the other image that is not optimal for the device, depending on where it is run.
On a sidenote, there's a beautiful article here that I think you should read: http://bjango.com/articles/designingforretina/
I want to include as many excellent images in our apps as we can include in the 50 meg size limit
Yes, Apple increased an app-size suitable for 3G download to 50MB from the older 20MB since they knew most existing apps would at least double in size due to the 'retina' optimized images which are twice the original resolution.
However, do note that this 50MB limit applies only for downloading via your cellular operator on 3G/ LTE. Users can still download the app from App Store via Wi-Fi if your app exceeds 50MB. One more thing to consider is that with the data prices going skywards everywhere globally, users will anyway be cautious with download large apps and most of them will use Wi-Fi (I do and I know many of my friends do) when they want to get an app that is considerably larger in filesize.
Trust this helps.

Similar Messages

  • Will images downsize in iPhone app

    Dear All,
    We're building an iPhone app that uses many images.  If I crop the images 1136 x 640 for the iPhone 5 retina display screen size, will the images automatically downsize for the iPhone 4 and 4s phones?  We have many images and I would rather include ONLY the highest res images and automatically downsize the images for the older phones -- not enough room to include three sizes.  We will probably build a separate app for the iPad.  I'm using Dreamweaver CS6.  Thanks.
    Small Town Gal

    In your scenario, you can just use a regular 2x image and use UIImageView to kick-in and scale-down images 50% during runtime. This will work at the API end and your apps will have no problems getting approved. People do this.
    But, the drawback:
    You should ideally determine the device resolution at launch and scale down accordingly to avoid untidy or pixelated images
    Some smaller graphics will suffer - like buttons, icons, etc... - as Apple doubles pixels in each direction. Considering this, using just a 2x image approach may not be the best way of ensuring 'crisp' images
    On the other hand, you could simply use both 1x and 2x images and let the device pick up the image that is optimal, depending on its resolution. While this will certainly result in a larger sized app, it wont be a memory crunch on the device since the API picks up the relevant image and only loads that at runtime. It will not load the other image that is not optimal for the device, depending on where it is run.
    On a sidenote, there's a beautiful article here that I think you should read: http://bjango.com/articles/designingforretina/
    I want to include as many excellent images in our apps as we can include in the 50 meg size limit
    Yes, Apple increased an app-size suitable for 3G download to 50MB from the older 20MB since they knew most existing apps would at least double in size due to the 'retina' optimized images which are twice the original resolution.
    However, do note that this 50MB limit applies only for downloading via your cellular operator on 3G/ LTE. Users can still download the app from App Store via Wi-Fi if your app exceeds 50MB. One more thing to consider is that with the data prices going skywards everywhere globally, users will anyway be cautious with download large apps and most of them will use Wi-Fi (I do and I know many of my friends do) when they want to get an app that is considerably larger in filesize.
    Trust this helps.

  • Google two-factor auth and iPhone apps? ...

    Who here has enabled Google two-factor authentication? Did it break anything on your phone?
    I tinkered with it yesterday, and then our family's shared Google calendar stopped working. My wife couldn't see new items I added (in either the iPhone calendar or Fantastical). I disabled TFA, and all was good again.
    Reading Google TFA page talked about how to use an additional app on the phone to create some additional passwords, but it wasn't clear to me where I would use them.
    I also use Mailbox for GMail, not sure what will happen to that.
    Anyone here doing Google TFA? Any words of wisdom?
    Thanks very much in advance,
    Chris

    I had to do this for yahoo after my account was hacked.
    It's a little tricky but you can enter the codes into your settings and get the stock app to work.
    How to set it up:
    http://www.imore.com/how-to-gmail-2-step-verification-mail--iphone--ipad-mac

  • Why is it when i update my status on facebook from iohone it splits the updates into two differents boxes with some funky symbol. I have uninstall facebook and installed it over and it still does it. only the facebook IPHONE app.

    why is it when i update my status on facebook from iphone it splits the updates into two differents boxes with some funky symbols at the beginning.. I have uninstall facebook and installed it over and it still does it. only the facebook IPHONE app where it says to update staus text to FBOOK  i have already update my phone too.
    if i go on the facebook site and update there through a brower on iphone it will work fine just cant us IPHONE mobile upload,  . But its a pain of not using my IPHONE APP for facebook cause it does that.

    The warranty entitles you to complimentary phone support for the first 90 days of ownership.

  • How to use the find Iphone app on two devices with the same itunes and apple id number?

    I have two Iphones connected to the same apple id . I am unable to use the find my iphone app on both devices. It only works on one!! Please help! It is driving me crazy lol!!

    The app should locate both phones if they are using the same iCloud account and the app is signed into the account.  If they are using different account, sign out, then sign back in with the other account to track the other phone.
    If one of them isn't showing and you're signed into the correct iCloud account, go to Settings>iCloud on the phone in question and turn Find My iPhone Off, then back On.

  • I set up "Find My Iphone App" using the same apple id and password on two iphones. Now the app only finds the phone that I did the setup on first. Do I need a different apple id and password on each phone for the app to run correctly?

    I setup two iphones on "Find My Iphone App" Using the same apple id on each phone. Now the app finds only the phone I setup first. Do I need to use two different apple ids? If your answer is yes then how do I errase the setup in the second phone and assign a new id?

    As TJBUSMC1973 states, and as I said earlier, the Find My iPhone app has nothing to do with your use of Find My iPhone. The app is just used if necessary to locate another iOS device from that particular iOS device. To see if both of your devices are being located in Find My iPhone, log into www.icloud.com and select Find My iPhone. Both of the devices should appear. If they do not, then go into whichever of the devices does not appear and make sure that Find My iPhone is activated. It has to be activated through iCloud, and for both to show on the same map, they both have to have the same iCloud ID.

  • Two mac laptops, one iPhone and an iPod touch. Sync apps?

    Hi there, between my wife and I, we have two Mac laptops, one iPhone and an iPod touch.  The iPod touch is new- is it possible to get the apps that have already been purchased for the iPhone, onto the iTouch?

    schmjorgen wrote:
    but can i then only ever use both the iphone and itouch with that particular mac?
    you can use home sharing to transfer media files (incl. apps) between the two Macs. if you and your wife use separate Apple ID's to purchase content, authorize the wife's machine for yours and yours for hers.
    is there a way to make both portable devices work with both macs?
    by design, iOS devices sync with only one library at a time.
    i am hoping the "home sharing" feature will be the answer but so far i have not been able to make it work.
    these links may prove helpful:
    Setting up Home Sharing on your computer
    Troubleshooting Home Sharing

  • I want to transfer an audiobook and a movie from my MacBook Pro to my iPhone 4S, and can't figure out how.  I went to "Help" and it said after connecting the two devices I should "Click Apps," but I can't find anything labeled "Apps" to click.  Help?!!

    I want to transfer an audiobook and a movie from my MacBook Pro to my iPhone 4S, and can't figure out how.  I went to "Help" and it said after connecting the two devices I should "Click Apps," but I can't find anything labeled "Apps" to click.  Help?!!

    If you have iTunes 11 on your Mac then you can enable the left-hand sidebar via option-command-S, that might make it easier to navigate.
    Connect the phone to your Mac and select it on that left-hand sidebar, and on the right-hand side of the screen there should be a series of tabs which you can use to select what to sync to the phone. If it's an audiobook then it should appear on the Books tab for selecting/syncing, and films will be on the Movies tab. When you've got the audiobook on your phone you should get an Audiobooks option in the Music app (you might need to tap the '...' tab at the bottom of the Music app to see it).

  • IPhoto iPhone app... degrading image when saved?

    Having the iPhone 4 and iPhone 4S and using the camera app that apple includes degrades the resolution size when after you take a picture THEN use EDIT and apply auto correct.
    When you save the image the fine becomes NOT full resolution for some reason?
    When shot using the "iPhone 4" for starters the shot image and saved is 1936x2592 px (5MP)
    If you EDIT the picture after shooting it using the Apple supplied app and save the image the size NOW becomes 1529x2048 px (3MP)
    I have purchased iPhoto app and in using it find the same loss in resolution when editing a image and saving it, you get the same loss in size and resolution in your camera roll when you check size.
    WHAT is going on here Apple?
    I have MANY iPhotography apps and have NEVER seen that happen UNLESS they are free or what ever so from what I can tell Apple takes the image at FULL resolution, but when you EDIT the image using THERE camera app or now the just released iPhoto app ($4.99) you end up with NON full resolution images.
    ANYONE have a explanation of why and how to get a full resolution shot to stay that way if edited with Apple camera app or iPhoto app, were is the menu to turn that off?
    When having Location Services on... Saving from the Photo app, after using the edit buttion DOES save the image at full resolution but in iPhoto app is DOES not and always see the degrade of the image to 1529x2048 px (3MP) every time... What is going on here and can be confirmed after many times testing this.
    Maybe NOT using those products might be the way to go. The iPhoto app is generic at best anyways so it's no loss in what it does and WAITING to see a full review here soon hopefully.
    Looking for your comments.
    Thanks.

    Yeah my point is though... Its like a console. I have a game that I have played on my console 3 years ago. I have a saved game half way through and now I want to continue that game... Unfortunately because i turned the game off despite saving it - it hasn't actually saved?
    Surely when itunes syncs your game data across it should sync the current saved game that you have with it?
    If thats not the case and Apple expect you to restart a game everytime you take it off your phone and put it back on it surely your to expect people to get annoyed with it? surely im not the only person that has noticed and become annoyed with it.

  • Getting images to my iphone from two computers?

    i am creating Albums in Aperture on my MacBookPro in order to SYNC these images to my iPhone when i sync my phone to my laptop.
    i am IMPORTING images to my Mac Pro desktop in order to import these into my Aperture database when i sync my phone to my desktop computer.
    i have also recently checked only the PhotoStream option on the Mac Pro desktop so that all the images that i recently imported to the database on the laptop machine can be made available to the iPhone.
    the problem i am having is that i would like to keep the image sync from my laptop as this is the computer that i use to backup my iPhone but i would ALSO like to /add/ or SYNC some images to my iPhone from the desktop machine. is there a convenient way to do this that allows the images to stay organized as they do when i use the sync option in Aperture on my laptop?
    is this a good time to start using Photos on the desktop machine and have these images synced to the PHOTOS app on my iPhone while i continue to use the laptop to sync images from Aperture?
    any help would be really appreciated.

    is this a good time to start using Photos on the desktop machine and have these images synced to the PHOTOS app on my iPhone while i continue to use the laptop to sync images from Aperture?
    Photos for Mac is still a Beta version. There is not yet a stable, public release. You would have to update to MacOS X 10.10.3 (Beta) to be able to use Photos on your Mac. But the public release of MacOS X 10.10.3 with Photos is expected to happen soon - Apple announce "In spring".
    See the preview:  Apple - OS X - Photos Preview
    Photos will make it easier to have a shared photos library accessible on all devices. But I would not trust my photo libraries to a Beta release, only test libraries to explore the features before I migrate.
    Until you migrate, you might consider to use Shared albums with selected photos. These Shared Albums/Photo Streams will be synced in iCloud and look the same on all devices, see:   iCloud: iCloud Photo Sharing FAQ
    Added:
    The Photos.app will not offer the same control over the organisation of your photo libraries as Aperture had. Re organization it has nothing to offer but Moments, Faces, Places, keywords, favourites, and (smart) albums. It is not a replacement for Aperture as a digital ***** management system. You may not want to  migrate in a hurry, as you invested a lot of work in organising your Aperture libraries. I am setting up a small Photos library for sharing between devices, and are keeping one Aperture library to organize the bulk of my photos. Aperture will work concurrently to Photos, as long as we are using Yosemite.

  • How might I deform/warp raster images like in the iPhone app Wobble?

    Hello all,
    I am very interested in applying the warp/deform effect seen in the iPhone app Wobble (it lets you define regions on a raster image and then deforms those regions as it gets input from the accelerometer or the user's touch as if they had adopted faux soft-body physics) to a game I am making, but I'm not sure how this effect was achieved.  Anyone have any advice as to how I might program an analogous effect using Flash and as3?
    Thanks,
    CCJ

    Don't know if it would work with a bitmap image, but this could be interesting.
    http://www.sakri.net/blog/2009/06/04/verlet-text-effect/
    Maybe some way to use that to wobble the displacement map? I don't know....

  • I just started using the Pages app on my iPad2. Two questions: Do I have to buy the Pages iPhone app separately or will the iPad version sync to my iPhone 3GS? Am I able to sync Pages docs created on my iPad2 for viewing/editing on my iPhone 3GS?

    I just started using the Pages app on my iPad2. Two questions: 1. Do I have to buy the Pages iPhone app separately or will the iPad version sync to my iPhone 3GS? 2. Am I able to sync Pages docs created on my iPad2 for viewing/editing on my iPhone 3GS?

    You can use the File Sharing feature at the bottom of the iTunes Apps pane when you connect to iTunes. Transfer the documents to your computer, and from there to your iPhone.
    See pages 44-45 of the iPad iOS4.3 User Guide
    Or page 59 of the iPhone iOS4 User Guide

  • Crop and resize images on iPhone - app recommendations?

    Does anyone know of a photo-editing app for iPhone that lets you crop an image and also resize to a preferred pixel ratio?
    On my Mac at home I use Photoshop for this (setting the crop-to width at 500 px and then simply cropping the part of the image I want to use), but it would be super-handy if I could load the high-res images onto my iPhone and do it on the move.
    I tried the Photoshop app, but although it lets you crop, there doesn't seem to be a resize function.
    Any ideas?

    Hi Jennifer, I guess It's not possible do what I want directly from iPhone.
    My problem is pinch to small size and keep it then and send to Instagram. When I double tap the image enlarge, so I double tap again and the image go back to normal size. When I pinch to small size that I want and leave my fingers the image goes back to regular size.
    I'm reading others foruns and I guess I have to use some app to post 3:4 photo, like Squaready. I'm trying and seems It work. It need to resize and crop and make all adjustments.
    Thanks for help.

  • Images on my iPhone 5 are appearing pixelated in apps like pinterest and instagram. How can I fix this?

    Recently images on my iPhone 5 have begun appearing pixelated in multiple apps, exlcuding facebook. I've tried turning my phone on and off and restarting the apps. Nothing has resolved the issue. Suggestions?

    If Apple replaced the battery, contact them to check the phone, the battery replacement is covered by a warranty.
    iPhone - Contact Support - Apple Support

  • IPhone apps folders

    Does anybody know what is needed to see the iPhone apps folders, just like in the pic below?
    Uploaded with ImageShack.us
    Ubuntu natively does that, but I don't know what package I need to be installed in Arch to allow that. As you can see on the left side of the image, there are two mountpoints, one for the iPhone root folder and the other containing some of the iPhone installed apps.

    I just had this happen this evening - I spent hours categorizing everything, had it down to a lean 4 or 5 screens, and had sync'd a few times. After the last sync, however, they were all reset to alphabetical, unfoldered order.
    One odd thing I remember prior to the sync wiping the app layout is that I had one app that appeared to be installed twice - it was visible both in a folder and on the main screen in iTunes (I don't know if it actually appeared twice on the phone itself). I think it was AAA Triptik (couldn't tell you for sure, since everything after page 11 is missing, and that only goes up to 'R'). I clicked on the cross to delete one instance of it (from the main screen, not the folder) - this prompted me to uninstall the app. I was fine with that since I don't have any saved data - I sync'd and it uninstalled the app. Don't know if that's what also clobbered the layout. I then re-checked the app in iTunes and sync'd again so it'd get reinstalled.
    Not looking forward to doing this again... :-/
    Graeme

Maybe you are looking for