The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Image::LibRaw -

SYNOPSIS

    use Image::LibRaw;
    my $libraw = Image::LibRaw->new();
    $raw->open_file($fname);
    $raw->unpack_thumb;
    $raw->dcraw_thumb_writer('libraw-thumb.jpg');

DESCRIPTION

Image::LibRaw is a perl binding for libraw.

METHODS

my $raw = Image::LibRaw->new();

create a new instance

$raw->open_file($fname);

open a file

$raw->get_idata();

get a image data.

$raw->get_sizes();

get image size informations

$raw->get_other();

get other informations

$raw->unpack();

unpack the image file to memory

$raw->unpack_thumb();

unpack the thumbnail image file to memory

$raw->dcraw_thumb_writer($fname);

This method write thumbnail image to the file. You should call ->unpack_thumb() before call this method.

$raw->dcraw_ppm_tiff_writer($fname);

This method write image to the file.You should call ->unpack() before call this method.

$raw->recycle()

Frees the allocated data of LibRaw instance.

$raw->version()

returns string representation of LibRaw version in MAJOR.MINOR.PATCH-Status format

$raw->version_number()

returns integer representation of LibRaw version.

$raw->camera_count()

returns the number of cameras supported.

$raw->camer_list()

returns list of supported cameras.

$raw->rotate_fuji_raw()

AUTHOR

Tokuhiro Matsuno <tokuhirom ah! gmail.com>

SEE ALSO

http://www.libraw.org/

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as libraw itself.