On Tue, Jun 10, 2008 at 7:42 PM, Anders Brander <[EMAIL PROTECTED]> wrote:
> Hi all (especially Rafael and Daniel),
>
> Now we have two patches for EXIF reading in Rawstudio - great, but we
> still have issues to solve ;)
>
> I believe EXIF support should consist of these four basic steps:
>
> 1) Read EXIF data from the raw-photo. This should be done with something
> that accepts a RAWFILE as argument [1]. This could be done from
> rs_tiff_load_meta() or similar function for other file formats.
>
> 2) Use those EXIF data for showing basic EXIF info to the user and
> internally in Rawstudio and as a help for detecting the camera/lens for
> use in Lensfun.
>
> 3) Discard or alter EXIF values.
>
> 4) Save the EXIF data to jpeg/png/whatever output file we save as.
>
> Is this completely insane? ;)
>
> Can we accomplish this?

I think so. My original  idea was to have an object that would provide
both a low level and a high level api. The low level would just be a
proxy to exiv2:

metadata.exif["TheNameOfaExifTag"]
metadata.iso() // looks at the many places iso can be found and returns it.
metadata.lens()

 
> /abrander
>
> [1]: This should do it:
>    Exiv2::ImageFactory::open(
>        raw_get_map(rawfile),
>        raw_get_filesize(rawfile));
>
>

Cheers,
Rafael
_______________________________________________
Rawstudio-dev mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-dev

Reply via email to