Home

How to Change Image Formats with IrfanView for HTML5 and CSS3 Programming

|
Updated:  
2016-03-26 13:17:11
|
HTML5 and CSS3 All-in-One For Dummies
Explore Book
Buy On Amazon

Changing image formats for your HTML5 and CSS3 web pages with IrfanView is really easy. For example, find an image file on your computer and follow these steps to change image format:

  1. Load the image into IrfanView by dragging the image into IrfanView or using the File→Open menu command.

  2. Make any changes you may want to the image before saving.

  3. Use the File→Save As command to save the file.

  4. Pick the image format from the Save Picture As dialog box.

  5. Save the file with a new filename.

    Keep the original file and save any changes in a new file. That way, you don’t overwrite the original file. This is especially important if you’re converting to JPG because each successive save of a JPG causes some image loss.

    image0.jpg

Don't use spaces in your filenames. Your files may move to other computers on the Internet, and some computers have trouble with spaces. It's best to avoid spaces and punctuation (except the underscore character) on files that will be used on the Internet. Also, be very careful about capitalization. It's likely that your image will end up on a Linux server someday, and the capitalization makes a big difference there.

About This Article

This article is from the book: 

About the book author:

Andy Harris earned a degree in Special Education from Indiana University/Purdue University–Indianapolis (IUPUI). He taught young adults with severe disabilities for several years. He also taught himself enough computer programming to support his teaching habit with freelance programming.
Those were the exciting days when computers started to have hard drives, and some computers connected to each other with arcane protocols. He taught programming in those days because it was fun.
Eventually, Andy decided to teach computer science full time, and he still teaches at IUPUI. He lectures in the applied computing program and runs the streaming media lab. He also teaches classes in whatever programming language is in demand at the time. He has developed a large number of online video-based courses and international distance education projects.
Andy has written several books on various computing topics and languages including Java, C#, mobile computing, JavaScript, and PHP/MySQL.
Andy welcomes comments and suggestions about his books. He can be reached at [email protected].