Image-EXIF

 view release on metacpan or  search on metacpan

casio.c  view on Meta::CPAN

 *    documentation and/or other materials provided with the distribution.
 * 3. All advertising materials mentioning features or use of this software
 *    must display the following acknowledgement:
 *      This product includes software developed by Eric M. Johnston.
 * 4. Neither the name of the author nor the names of any co-contributors
 *    may be used to endorse or promote products derived from this software
 *    without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 *
 * $Id: casio.c,v 1.11 2003/08/06 02:26:42 ejohnst Exp $
 */

/*
 * Exif tag definitions for Casio maker notes.
 *
 */

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include "makers.h"


/* Recording mode. */

static struct descrip casio_record[] = {
	{ 1,	"Single Shutter" },
	{ 7,	"Panorama" },
	{ 10,	"Night Scene" },
	{ 15,	"Portrait" },
	{ 16,	"Landscape" },
	{ -1,	"Unknown" },
};


/* Quality. */

static struct descrip casio_qual[] = {
	{ 1,	"Economy" },
	{ 2,	"Normal" },
	{ 3,	"Fine" },
	{ -1,	"Unknown" },
};


/* Focus mode. */

static struct descrip casio_focus[] = {
	{ 2,	"Macro" },
	{ 3,	"Auto" },
	{ 4,	"Manual" },
	{ 5,	"Infinity" },
	{ -1,	"Unknown" },
};


/* Flash mode. */

static struct descrip casio_flash[] = {
	{ 1,	"Auto" },
	{ 2,	"On" },
	{ 4,	"Off" },
	{ 5,	"Red Eye Reduction" },
	{ -1,	"Unknown" },
};


/* Flash intensity. */

static struct descrip casio_intense[] = {
	{ 11,	"Weak" },
	{ 13,	"Normal" },
	{ 15,	"Strong" },
	{ -1,	"Unknown" },
};


/* White balance. */

static struct descrip casio_whiteb[] = {
	{ 1,	"Auto" },
	{ 2,	"Tungsten" },
	{ 3,	"Daylight" },
	{ 4,	"Fluorescent" },
	{ 5,	"Shade" },
	{ 129,	"Manual" },
	{ -1,	"Unknown" },
};


/* Sharpness. */

static struct descrip casio_sharp[] = {
	{ 0,	"Normal" },
	{ 1,	"Soft" },
	{ 2,	"Hard" },
	{ -1,	"Unknown" },
};


/* Contrast & saturation. */

static struct descrip casio_range[] = {
	{ 0,	"Normal" },
	{ 1,	"Low" },
	{ 2,	"High" },
	{ -1,	"Unknown" },
};



( run in 0.644 second using v1.01-cache-2.11-cpan-0bb4e1dffa6 )