* 4-7 Image Format of the secondary image Values defined in enum
* EdsImageType
* 0-3 Image Compress Quality of the secondary image Values defined in
* enum EdsImageCompressQuality
*/
final EdsImageSize mainImageSize = EdsImageSize.enumOfValue( (int) ( imageQuality >>> 24 & 0xf ) );
final EdsImageType mainImageType = EdsImageType.enumOfValue( (int) ( imageQuality >>> 20 & 0xf ) );
final EdsCompressQuality mainImageCompressQuality = EdsCompressQuality.enumOfValue( (int) ( imageQuality >>> 16 & 0xf ) );
final EdsImageSize secondaryImageSize = EdsImageSize.enumOfValue( (int) ( imageQuality >>> 8 & 0xf ) );
final EdsImageType secondaryImageType = EdsImageType.enumOfValue( (int) ( imageQuality >>> 4 & 0xf ) );
final EdsCompressQuality secondaryImageCompressQuality = EdsCompressQuality.enumOfValue( (int) ( imageQuality & 0xf ) );
camera.closeSession();
CanonCamera.close();
System.out.println();
System.out.println( "Main image properties " );
System.out.println( " type: " +
mainImageType.description() );
System.out.println( " size: " +
mainImageSize.description() );
System.out.println( " compression quality: " +
mainImageCompressQuality.description() );
System.out.println();
System.out.println( "Secondary image properties " );
System.out.println( " type: " +
secondaryImageType.description() );
System.out.println( " size: " +
secondaryImageSize.description() );
System.out.println( " compression quality: " +
secondaryImageCompressQuality.description() );
}