Load in a bundle and generate a screen shot.
- First of all save this isl.xidv file to your isl directory.
- Run this file:
<isl debug="true" offscreen="false">
<bundle file="isl.xidv"/>
</isl>
image1.isl
- Now, change directory to the home directory (cd) and run:
runIDV /home/idv/isl/image1.isl
- What happened?
- The bundle reference in the isl was relative to where you run the idv from. We'll use the islpath property:
<isl debug="true" offscreen="false">
<bundle file="${islpath}/isl.xidv"/>
</isl>
image2.isl
- Note, no images were created. Only the bundle was loaded. To create an image we'll use the image tag:
<isl debug="true" offscreen="false">
<bundle file="${islpath}/isl.xidv"/>
<pause/>
<image file="${islpath}/isl.png"/>
</isl>
image3.isl
- The movie tag lets us create a time-loop movie or animated gif.
<isl debug="true" offscreen="false">
<bundle file="${islpath}/isl.xidv"/>
<pause/>
<movie file="${islpath}/isl.mov"/>
<movie file="${islpath}/isl.gif"/>
</isl>
image4.isl
- The IDV gives you an easy way to save off a basic ISL file.
Run the IDV with the above bundles. Select and
choose the
/home/idv/isl directory and enter image.isl.
- At the ISL Properties dialog:
- Turn off Offscreen.
- Turn off Image
- Turn on Movie and enter
image.kmz.
- Press OK. This saves a bundle (image.xidv) and an ISL file.
- The ISL file should look like this:
<?xml version="1.0" encoding="ISO-8859-1"?>
<isl debug="true" loop="1" offscreen="false" sleep="3600">
<bundle clear="true" file="${islpath}/image.xidv" wait="true"/>
<movie file="${islpath}/image.kmz"/>
</isl>
image.isl
- If we enter a
kmz suffix for the movie the IDV will generate a Google Earth kmz file of the
animation loop.
- Now, we'll show you an easier way to do all of this.
- Bring up the IDV again and load the above bundle.
- Now, do a and this time call it
idv.isl.
- Select
Generate a Movie and press OK.
- Let's look at this file.
- Now, save the bundle as idv2.isl and this time select
Include Bundle Inline and press OK.
- Look at the result.