Is there a way to resize a photo taken by the camera on iOs before upload with filepicker.io? - filepicker.io

During image upload on iOS we experience a memory spike at the end of the upload and we get memory warnings during upload of a picture taken by the camera (experienced on iPhone 5 and simulator). Additionaly, the upload takes pretty long. For our app we don't really need the full quality photo of the user.
Is there a way to resize the image before upload (like there is a setting for upload quality of a video)?

Client side resizing is not currently supported. I'll add it to our tracker.
(It's worth noting that if you ask for an image/jpeg instead of an image/png, the size of the photo is significantly smaller)

Related

iPhone/iPad handling of large number of images

I have 2 iOS apps that have been in the market, 3 years on iPhone, 2 years on iPad HD version. The apps are a popular reference tool in the medical field. They are both comprised of 1100+ images. The current app size is roughly 52mb.
Approximately 400 images will be redone. They are currently jpg and low resolution. The replacements will be png, with higher resolution.
I'm uncertain on pixel size for these images. If they are in the 280x280 range, each file is about 100k, if in the 560x560 range, each file is almost 400k.
So I'd be looking at additional 40mb for the smaller images and 160mb for the larger.
There are plans for another 400+ images in the near future. So, I'm somewhat concerned with final app size.
If I went with the larger size for Retina devices, can I downsize for non-Retina devices?
If I supplied both sizes, image.png and image#2x.png, that would be 200mb just for these images.
I'm a little uncertain on how to manage these with regards to their individual size and, more importantly, their total size.
Any comments or suggestions are welcomed and would be helpful.
TIA,
jb
Here are a few options you have:
1. Downsizing Retina Images
I would not recommended downsizing retina images for the non-retina devices. This produces non-optimal performance and makes the images look bad. Your still loading in all the pixels of a retina image, but only displaying 1/4 of them.
2. Bundling All of the Images
Honestly for a medical reference app, I think it would be understandable if your app size would be quite large. I wouldn't imagine people would need to download this app over 3G or LTE. Your users understand this is a large database app which provides high resolution images, thus they should be okay with the large app size via this method.
3. Hosting the Images on a Web Service
Another alternative would be to host the images on a server, allowing them to be downloaded individually as needed, or in bundles. I think your users would prefer being able to fully use the app without internet connection rather than having a smaller app size.
4. Alternative Image Loading
This approach takes a bit of work and could be a little risky. You could bundle only 2x versions of your images into the app. Then on App launch you could force the user to wait until you resize all the images to their 1x counterparts and save them off to the disk. Then you could create an image loading convenience method which loads a UIImage from either disk or the app bundle based on whether or not it needs a retina image.
I definitely recommend option 2 for your purposes. I only mentioned the others to be thorough.

How to show high resolution image into thumbnails ? in iPhone /iPad

I am downloading image of size 3.4 Mb and need to show in a preview icon and then full image size . But Application crash . what is the method to show very high resolution image into thumbnail by objective c /iPhone sdk .
Yes, loading lots of images with this size, you load a lot of memory.
There are some good extensions that help you resizing images. Have a look here, I use it, it's simple and I recommend it strongly: http://vocaro.com/trevor/blog/2009/10/12/resize-a-uiimage-the-right-way/
Have a look at the end of the post if you want only the class extensions.
But if the app is crashing with only one image of 3.4 Mb, it shouldn't crash and maybe it's happening due to another reason.

save image in iPhone photo library with high resolution with retina display

I'm developing an app in which i have to save images in iPhone photo library. When i'm saving image in iPhoto library in app programmatically i want the image to be saved with high resolution with retina display. How can i achieve this?
Its upto your requirement how you are saving the images in the application. If you are resizing the images while saving them then you can try to save a better version as well so it may work in both resolutions. However, the question is very vague. Please do give some more explanation.

Why my app description images are so blurry on the app store?

I have submitted and got approved my app. I have uploaded crisp and sharp high quality and resolution (960 x 640) PNG description images via itunes connect. They are still crisp and sharp when viewing through the browser at itunes connect ->manage apps ->my app->edit uploads...
The problem I'm facing is that they become so blurry when viewing them on app store with mac via itunes store. It looks like the images were saved as jpeg files with 60-70 quality. What am I missing? Have you experienced that before? I do not have a paranoya about the perfect quality but the quality of my description images are too low. My app name is Green Pig.
Maybe there are some tricks and hints (other image profiles), color spaces or etc., that could bring a better quality of description images?
UPDATE. Those images are resized, compressed or in other way modified. IMHO that is done to reduce the size of the image. Are there any information how to bypass that optimization? What is the limit size of the description image?
After uploading 480 x 320 images, the quality has increased. It's not 100% sharp and crisp as my original ones but looks much better now: something between 80% - 90% quality. Those 480 x 320 uploaded images were the size of 119 - 188 KB, however they were still compressed. Hm, maybe it doesn't matter, maybe all images goes through apple image size butcher :)

How to make swf file smaller?

I'm trying to capture a video demo of my iPhone app so I can post it on Youtube.
I'm using Jing application (http://www.techsmith.com/jing/) for Mac, and was able to capture a video of the app. However, I looked at the resulting file size and it's 130MB!!! That's huge!
The video is 3:40 mins.
Any tips on how I can make the size of the file smaller, so that I can easily share it and post it on Youtube?
Thanks!!
Make the dimensions smaller, don't have a keyframe as every single frame, change the quality from best to good, same for audio (best to good), change the format. Isn't it kind of strange that you're posting a SWF movie for an iPhone app? Haha, anyway, hope this works!