RSS

Images and Old Code

19 Feb

A Photoshop Joke

Explain in your own words, using two or three full sentences, why you should save images at the size you will be using them on a web page.

You should never put an image on a website that is smaller than how it is displayed because it will pixelate and look “blocky”. If you make an image larger than it is displayed on the site then the web browser can miss the code and then display the image at full size or the image could be displayed with bad dimensions leaving the image distorted.

What is the main difference between gif, jpg and png file formats?

GIFs are great for displaying a large image with a lot of detail but few colors. They also allow transparent backgrounds. Many vectors are gifs and they can be animated by splicing many individual frames together. Gifs are one of the oldest file extensions on the internet.

JPEGs use more colors and is the most popular image extension on the internet. They are perfect for displaying camera taken pictures. Many digital cameras automatically save images as jpegs.

PNGs are a mix of both. The extension displays high color palettes as well as allowing transparent backgrounds. The extension is now my personal favorite extension but some older browsers do not display them.

What does old code refer to?

Old code is code from previous versions of HTML. Most of the time when you say “old code” the new version has one way to do an action but it used to be done differently. Currently we are on HTML5 but some codes from the old HTML versions still work in the current version meaning some “old code” is can still be used.

Advertisements
 
Leave a comment

Posted by on February 19, 2014 in Uncategorized

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: