<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dreamweaver, Flash, Photoshop, CSS, Fireworks and HTML Tips &#38; Tricks &#187; jpg</title>
	<atom:link href="http://www.livetrainingsession.com/tips/tag/jpg/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.livetrainingsession.com/tips</link>
	<description>Get Quick Tips &#38; Tricks on Web Applications Development Tools</description>
	<lastBuildDate>Thu, 29 Jul 2010 21:16:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Choosing The Right Image File Format For The Web</title>
		<link>http://www.livetrainingsession.com/tips/2010/02/choosing-the-right-image-file-format-for-the-web/</link>
		<comments>http://www.livetrainingsession.com/tips/2010/02/choosing-the-right-image-file-format-for-the-web/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 18:00:46 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Fireworks Tips]]></category>
		<category><![CDATA[Photoshop Tricks]]></category>
		<category><![CDATA[alpha]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[fireworks]]></category>
		<category><![CDATA[gif]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[index]]></category>
		<category><![CDATA[jpeg]]></category>
		<category><![CDATA[jpg]]></category>
		<category><![CDATA[palette]]></category>
		<category><![CDATA[photoshop]]></category>
		<category><![CDATA[png]]></category>
		<category><![CDATA[png24]]></category>
		<category><![CDATA[png32]]></category>
		<category><![CDATA[png8]]></category>
		<category><![CDATA[transparency]]></category>

		<guid isPermaLink="false">http://www.livetrainingsession.com/tips/?p=149</guid>
		<description><![CDATA[In a previous post I mentioned choosing the right file format as one of the 6 key factors in optimizing images for the web. I&#8217;m now going to give you more pointers to help you decide which file format is the best choice depending on the graphic you are dealing with. I will focus only [...]]]></description>
			<content:encoded><![CDATA[<p>In a previous post I mentioned choosing the right file format as one of the <a href="http://www.livetrainingsession.com/tips/2010/01/key-factors-in-optimizing-images-for-the-web/">6 key factors in optimizing images for the web</a>. I&#8217;m now going to give you more pointers to help you decide which file format is the best choice depending on the graphic you are dealing with. I will focus only on the three most common graphic file formats used in web design:  <strong>JPEG, GIF and PNG</strong>.<span id="more-149"></span></p>
<ol>
<li>
<h3>GIF Format</h3>
<p>It  is the most  appropriate export format for graphics with <strong>large areas of solid colors</strong>. Digital artwork using a narrow palette of  colors (up to 256)    will deliver crisp and a small file size when  exported as a <strong> GIF</strong>.</p>
<p>The <strong>GIF</strong> format is also a good choice to make certain colors transparent in the exported image:  index transparency. That comes handy when you need  transparent edges around your image. You will be then able to blend that exported image with any web page area no matter what background color is used.</p>
<p>Your only choice is a GIF format to create  animated graphics such as <strong>banners</strong> (animated gif) unless you use a Flash movie:   <strong>JPEG</strong> and  <strong>PNG</strong> do no supports a such animations. You would have to either keep the number of animation frames to a minimum and reduce the dimensions (width and height) to lower the file size of your &#8220;animated gif&#8221;.</li>
<li>
<h3>JPEG Format</h3>
<p>This format is more appropriate for images with lot of details and photos requiring millions of colors. The JPEG format is also the best option for  computer graphics with gradients of colors or  artworks using shadows, bevel, feather and other digital effects.</p>
<p>Images  exported in a JPEG format are usually crisp when exported with a compression between 60 and 80%.  That  gives you enough wiggle room to find a balance between quality and file size.</li>
<li>
<h3>PNG Format</h3>
<p>The PNG format comes in three flavors: PNG8, PNG24 and PNG32. This format lays somewhere between the GIF and JPEG formats. PNG is a lossless compression, uses virtually unlimited palette of colors and offers both index and alpha transparency.<br />
Let&#8217;s explore what each subset of this format has to offer.</p>
<ul style="list-style-type: disc;">
<li>The PNG8 is  quite similar to the gif format in terms of quality and size of the exported file. It offers index transparency as well as alpha transparency</li>
<li>PNG24 is better suited when your graphic is a mixture of lots solid colors and gradients. In a nutshell, the png24 format lays between the gif and jpeg formats.  It produces crisper images with a smaller file size than the GIF format.  However the PNG24 does not offer index or alpha transparency.</li>
<li>The  PNG32 option is currently not available in Photoshop. You will have to use Adobe Fireworks to take advantage of  the full alpha transparency offered by the PNG32 format.</li>
<li>The only drawback of  PNG images is they are not well supported by Internet Explorer 6: you will have to resort to a CSS hack using Microsoft&#8217;s filters.</li>
</ul>
</li>
</ol>
<ul style="list-style-type: square;">
<li>Although the GIF format offers a palette of 256 colors, my personal experience taught me  to use the GIF format only when no more than 32 colors are needed to keep the exported image sharp. For images requiring  more colors, you are better off using the other file formats.</li>
<li>If the image you are dealing with needs more colors than the GIF format can handle and no transparency is required then JPEG is your best bet.</li>
<li>There is no real gain in choosing the PNG format at this point unless you are using the PNG32 to take advantage of alpha transparency you cannot get with GIF or JPEG format.</li>
</ul>
<p>In the end there are really no hard rules in choosing the right file format to export your image in. As you just learned, the best suited file format depends on the current context: the graphic you are working on.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.livetrainingsession.com/tips/2010/02/choosing-the-right-image-file-format-for-the-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>6 Key Factors in Optimizing Images For The Web</title>
		<link>http://www.livetrainingsession.com/tips/2010/01/key-factors-in-optimizing-images-for-the-web/</link>
		<comments>http://www.livetrainingsession.com/tips/2010/01/key-factors-in-optimizing-images-for-the-web/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 20:47:45 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Fireworks Tips]]></category>
		<category><![CDATA[HTML Tips]]></category>
		<category><![CDATA[Photoshop Tricks]]></category>
		<category><![CDATA[crop]]></category>
		<category><![CDATA[cropping]]></category>
		<category><![CDATA[gif]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[jpeg]]></category>
		<category><![CDATA[jpg]]></category>
		<category><![CDATA[optimization]]></category>
		<category><![CDATA[picture]]></category>
		<category><![CDATA[png]]></category>
		<category><![CDATA[resize]]></category>
		<category><![CDATA[resizing]]></category>
		<category><![CDATA[resolution]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.livetrainingsession.com/tips/?p=94</guid>
		<description><![CDATA[The 6 fey factors to consider when optimizing images for the web. Following those tips will give you crisp pictures with an optimum balance between quality and file size.]]></description>
			<content:encoded><![CDATA[<p>The 6 key factors to consider when optimizing images for the web are:</p>
<ol>
<li>Always start with picture dimensions (w, h) greater than your target size</li>
<li>Set the image resolution  between 72 and 96 pixels/inch</li>
<li>Crop the image to only keep the area needed to convey  your message</li>
<li>Resize the cropped image to  reduce the dimensions to the minimum while maintaining the proportion between width and height</li>
<li>Choose the  appropriate export file format: PNG, JPEG or GIF</li>
<li>Select the right compression ratio/color range</li>
</ol>
<p><span id="more-94"></span></p>
<p>To put it in simple terms, you need to <strong>find the right balance between the quality and file size</strong>.<br />
If you must do some corrections such as removing blemished or creating smoother edges, do it on the original image (before resizing it) .</p>
<p>I have seen websites using a 500kb (kilo bytes)  picture they shrunk by just setting the desired with and height in the HTML image tag (&lt;img src=&#8221;path-to-image&#8221; with=&#8221;300&#8243; height=&#8221;250&#8243; /&gt;).<br />
That trick does not reduce the file size of that image and in most case the picture displayed is less sharp than what it should be. You have not only a degradation in the picture quality but a waste of bandwidth and web hosting storage. No wonder that page took  so00 long to download.</p>
<p>To give you an idea, a raw picture  resized to  of 300 x 250 pixels  and well optimized should be in the range 5 to 10 kb depending on how rich in colors that image is.</p>
<p>I have also come across web pages where some picture are &#8220;bloated&#8221; to dimensions greater than the actual width and height. Of course a few pixels adjusted never hurt and are barely noticeable: it solves a presentation issue and saves you some time.</p>
<p>However a change of an image&#8217;s dimension (width or height) from 150 pixels to 200 pixels would catch the eye and obviously degraded the visual appeal of that image.</p>
<p>If you follow the 6 key points listed above, you will get a crisp image with a small file size.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.livetrainingsession.com/tips/2010/01/key-factors-in-optimizing-images-for-the-web/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
