<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Compressed Jpeg</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <h1>Compressed Jpeg</h1>
        <p>
        This site demonstrates how you can compress jpeg images on the fly with the package by reducing their quality with the <em>jpegQuality</em> property of the <em>imageGroups</em> element (in the web.config).
        </p>
        <p>
        It also shows how to prevent the package from combining images into a sprite by setting
        the <em>giveOwnSprite</em> property of the <em>imageGroups</em> element.
        </p>
        <p>
        To see for yourself whether the images were compressed, save them to disk. Than compare with the images in the <em>largeimages</em> directory of this web site.
        </p>
        <p><img src="largeimages/vanuatu1.jpg" /></p>
        <p><img src="largeimages/vanuatu2.jpg" /></p>
    </div>
    </form>
</body>
</html>
