User's Manual

Chapter 3 — Developing and Installing Applications
CN3 Mobile Computer User’s Manual for Windows Mobile 6.1 79
Image Capture XML Example
This XML demonstrates how to use the fields as defined in the
previous section.
<?xml version="1.0" encoding="utf-8" ?>
<ImageCapture xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Settings allowChanges ="true" allowGallery="true">
<Conditioning allowChanges="true">
<edgeEnhancement allowChanges="true">None</edgeEnhancement>
<lightingCorrection allowChanges="true">Enabled</lightingCorrection>
<noiseReduction allowChanges="true">0</noiseReduction>
<imageRotation allowChanges="true">90</imageRotation>
<subsampling allowChanges="true">None</subsampling>
</Conditioning>
<Storage allowChanges="true">
<imageLocation allowChanges="false">\My Documents\ImageCapture
</imageLocation>
<fileName allowChanges="false">
Image_$(num)</fileName>
</Storage>
</Settings>
</ImageCapture>
Output Compression
allowChanges True or false Default is false. When set to true, user can change
the file format type.
fileFormat BMP, JPEG Default is no value. If no value is provided, Image
Capture does not change the file format setting. If
no format is selected, the file is saved as a .bmp.
Compression Quality
allowChanges True or false Default is false. When set to true, user can change
the compression quality setting.
compressionQuality 0% to 100$ Default is no value. If no value is provided, the
application does not change the compression quality
setting. The higher the value, the better the quality,
and the larger the file size will be. If fileFormat is set
to BMP, this setting is not used.
Field Definitions for ImageCapture_Config.xml (continued)
Field Name Valid Values Description