public ExposureProgram fromVlue(short value) {
            switch (value) {
            case 0:
                return UNDEFINED;
            case 1:
                return MANUAL;
            case 2:
                return NORMAL_PROGRAM;
            case 3:
                return APERTURE_PRIORITY;
            case 4:
                return SHUTTER_PRIORITY;
            case 5:
                return CREATIVE_PROGRAM;
            case 6:
                return ACTION_PROGRAM;
            case 7:
                return PORTRAIT_MODE;
            case 8:
                return LANDSCAPE_MODE;
            default:
                return null;
            }
        }