Question

I hope this is the right place to post a question like this. Apologies if it isnt. I am having an issue displaying images. I want to display 10 images in a UIScrollView with paging enabled which are roughly 1mb in size.I am using lazy loading based on this example: http://www.raywenderlich.com/10518/how-to-use-uiscrollview-to-scroll-and-zoom-content . Is there a way to reduce there size that will keep as much quality as possible? It does not need to be done in code either, if there was a good compression site that could do it it would be great. I dont have much experience dealing with images.

For example what should i be looking out for?

Était-ce utile?

La solution 2

You can edit images both programmatically and using other applications. If you optimize the images by code you will anyhow have to store it in the app thus increasing the size of the application so it is better to optimize and then add it to the project.

As easy to use website to optimize images is https://tinypng.com/

Autres conseils

Use slender mac app for removing unwanted files and resizing image. Its handy application in every manner.

EDIT : Best tool for resizing images is imageOptim does the same and is free.

try Photoshop save as web & devices and save as PNG or jpg, and check the quality of both, you will be surprised.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top