Best Image Formats for iPhone and iPad
When you design websites for the iPhone and iPad, you need to choose the best image formats for any photos, line art, logos, cartoons, and other images that you want to display.
If you work with photos or other images that have millions of colors, the JPEG format is the best choice for the mobile web, just as it is for the desktop web. Using JPEGs, you can shrink the file size by applying compression.
The more compression that’s applied, the smaller the image, but if you compress the image too much, the image can look like it was sandblasted and left out in the sun.
For images with limited colors, such as line art, logos, and cartoons, the best format for mobile devices and web pages is PNG. Some designers will tell you that the GIF format is the safer choice — and maybe it was, for older mobile devices and low-end feature phones.
The iPhone and iPad, however, support the PNG format, and it does a better job of maintaining image quality and small file sizes than GIF does. With both GIF and PNG files, you optimize (or reduce) the file size by decreasing the number of colors.
Don’t be confused by the two types of PNG files. Photoshop supports both PNG-8, which supports 256 colors, and PNG-24, which supports a far superior 8 bits per channel and is especially well suited to working with transparency.
You can still use the JPEG format for photographs and other types of images, but because transparency isn’t possible in JPEGs, the PNG-24 format offers an advantage. Just remember that all that color depth also creates larger file sizes that take longer to download.

Web Design & Development Glossary
AJAX
asynchronous JavaScript and XML. A technique used in web page development.

Web Design & Development Glossary
API
application programming interface. A set of rules programs use to communicate with each other.

Web Design & Development Glossary
color stop
A special element that indicates a color to be added to a gradient.

Web Design & Development Glossary
FTP
File Transfer Protocol. A network protocol useful for transferring files in a client-server relationship.

Web Design & Development Glossary
HTML
HyperText Markup Language. The predominant language for building web pages.

Web Design & Development Glossary
HTTP
HyperText Transfer Protocol. The primary networking language for the Internet.

Web Design & Development Glossary
PHP
PHP Hypertext Processor. A scripting language that works well within HTML.

Web Design & Development Glossary
socket
A technology that allows remote computers to maintain a persistent connection in order to communicate with each other.

Web Design & Development Glossary
sprite
An graphic object on a web page that will be manipulated in real time.

Web Design & Development Glossary
SQL
Structured Query Language. A programming language useful in managing relational databases.

Web Design & Development Glossary
stateless protocol
An Internet procedure that completely breaks the connection between the client and the server after a transaction, meaning that the next transaction will require an entirely new connection.

Web Design & Development Glossary
Telnet
A network protocol useful in interactive, text-oriented communications.

Web Design & Development Glossary
W3C
World Wide Web Consortium. The organization that sets international standards for the World Wide Web.