<?xml version="1.1"?>
<!DOCTYPE smil PUBLIC "-//W3C//DTD SMIL 3.0 Language//EN" "http://www.w3.org/2008/SMIL30/SMIL30Language.dtd">

<!--
Copyright: Copyright 1998-2008 W3C (MIT, ERCIM, Keio), All Rights Reserved.
See http://www.w3.org/Consortium/Legal/2008/04-testsuite-license.
Author: Jack Jansen (CWI)
Version: January 22, 2008
Chapter: SMIL 3.0 Media Object
Module: MediaPanZoom, Animation
Feature: panZoom attribute animation
File Name: fancyPanZoomDemo.smil
Expected Behavior: The presentation does Ken Burns style animation 5 times: from the
	full image to different crops. The accompanying text describes what should be seen.

-->

<smil xmlns="http://www.w3.org/ns/SMIL" version="3.0" baseProfile="Language">
  <head>
    <layout>
      <root-layout xml:id="Advanced_PPC_Slideshow" backgroundColor="white" width="480" height="540"/>
      <region xml:id="bkgd_image" />
      <region xml:id="Images" left="18" width="440" top="6" height="390" z-index="2" fit="meet"/>
      <region xml:id="Captions" left="19" width="440" top="405" height="140" z-index="1"/>
    </layout>
    <transition xml:id="fadein" type="fade" dur="1s"/>
  </head>
  <body>
	<seq xml:id="ImagesAndAudioSequence">
	<par xml:id="Intro">
	  <smilText region="Captions" dur="2s" textFontFamily="serif" textFontSize="x-large" transIn="fadein" fill="transition">
		Using SMIL MediaPanZoom to enhance the image experience.
	  </smilText>
	</par>
	<par>
	<img region="Images" xml:id="image" src="bus.jpg" panZoom="0, 0, 1702, 2272" regPoint="center" regAlign="center"/>
	<seq>
		<par xml:id="Basic">
		  <smilText region="Captions" dur="4s" textFontFamily="serif">
			This is the default, uncropped image, A bus entering a parking lot.
			<br/><br/><tev next="2"/>
			<span textFontStyle="italic">Not an image that makes you want to call Magnum, right?</span>
		  </smilText>
		</par>
		<par xml:id="HighCrop">
		  <animate dur="1s" fill="freeze" targetElement="image" attributeName="panZoom" from="0, 0, 1702, 2272" to="416, 1028, 724, 1252"/>
		  <smilText region="Captions" dur="4s" textFontFamily="serif" transIn="fadein">
			If we crop to just the bus and a bit of road we get this.
			<br/><br/><tev next="2"/>
			<span textFontStyle="italic">This gives a sense of distance to the picture.</span>
		  </smilText>
		</par>
		<par xml:id="WideCrop1">
		  <animate dur="1s" fill="freeze" targetElement="image" attributeName="panZoom" from="0, 0, 1702, 2272" to="416, 1028, 1288, 784"/>
		  <smilText region="Captions" dur="4s" textFontFamily="serif" transIn="fadein">
			Here is a wide crop.
			<br/><br/><tev next="2"/>
			<span textFontStyle="italic">Distance, and a bit of loneliness.</span>
		  </smilText>
		</par>
		<par xml:id="WideCrop2">
		  <animate dur="1s" fill="freeze" targetElement="image" attributeName="panZoom" from="0, 0, 1702, 2272" to="416, 560, 1288, 784"/>
		  <smilText region="Captions" dur="4s" textFontFamily="serif" transIn="fadein">
			Same size crop, but with more sky.
			<br/><br/><tev next="2"/>
			<span textFontStyle="italic">More loneliness, but with a sense of arrival this time.</span>
		  </smilText>
		</par>
		<par xml:id="BusCrop">
		  <animate dur="1s" fill="freeze" targetElement="image" attributeName="panZoom" from="0, 0, 1702, 2272" to="416, 1028, 303, 303"/>
		  <smilText region="Captions" dur="4s" textFontFamily="serif" transIn="fadein">
			But maybe you are really a bus-spotter, and you do not care about atmosphere?
			<br/><br/><tev next="2"/>
			<span textFontStyle="italic">By all means, concentrate on the bus.</span>
		  </smilText>
		</par>
		<par xml:id="ThingCrop">
		  <animate dur="1s" fill="freeze" targetElement="image" attributeName="panZoom" from="0, 0, 1702, 2272" to="1252, 1156, 140, 170"/>
		  <smilText region="Captions" dur="4s" textFontFamily="serif" transIn="fadein">
			Or, you're an electricity board maintainance person?
			<br/><br/><tev next="2"/>
			<span textFontStyle="italic">This cabinet does not seem to need painting just yet...</span>
		  </smilText>
		</par>
	</seq>
	</par>
	</seq>
  </body>
</smil>
