What is a “sprite”?

I am studying Fundamentals of Multimedia by Ze-Nian Li and Mark S Drew. They use the term “sprite” but I don’t understand the meaning. Can someone explain to me what sprites are and how they are used?


If in the book they are talking about image sprites for the web they are images that contain multiple images, like for instance a series of icons to be used in a navigation bar. You would have one http request for the “sprite” and use CSS to display the icon needed. You can have sprites that contain all of the images for a given page if you wanted. The main reason for using them is to lower the amount of files to be downloaded for the website or webpage.

See CSS-tricks article

Hope this helped:)

Source : Link , Question Author : amiref , Answer Author : Danferth

Leave a Comment