On Sat, Apr 12, 2008 at 11:10 AM, Anders Brander <[EMAIL PROTECTED]> wrote:
>
>  The difficult task is to somehow decide which data to save and which
>  not. Some make sense in a processed image, some doesn't. But it should
>  be entirely possible to add.
>
>  What are the other idea? ;)

Use xmp sidecar so that it is easier to copy "edited" files from one
machine to another.
I also find that the curve sometimes over saturates some dark areas.
Might take a look into that afterwards.

>  > I noticed ufraw uses exiv2. I am planning on writing a patch to
>  > rawstudio that does the same. Is someone working on that already? Any
>  > pointers?
>
>  I don't think that anyone is working at it. You're very welcome to have
>  a go!

Nice.

>  exiv2 is c++ right? That isn't a big problem, since be already depends
>  on g++, but it's something to consider.
>
>  You probably want to look at:
>
>  rs_init_filetypes(): Here every supported filetype gets added and
>  function pointers initialized. To take Canon cr2 images for example:
>
>  rs_add_filetype("cr2", FILETYPE_RAW, ".cr2", _("Canon CR2"),
>   rs_photo_open_dcraw, rs_tiff_load_thumb, rs_tiff_load_meta, NULL);
>
>  rs_photo_open_dcraw is a function pointer to a function, that will open
>  cr2-images. I believe we only use dcraw and gdk for opening images.
>
>  rs_tiff_load_thumb is a function that loads the thumbnail from the file
>  (or cached on disk).
>
>  rs_tiff_load_meta is where you could start, it tries to load different
>  metadata from the rawfile. This would be an ideal place to load all EXIF
>  metadata, we have the RS_METADATA structure, where we could add EXIF
>  data.
>
>  rs_photo_save(): This is the function that saves every supported
>  filetype. This would be an ideal place to save EXIF-data combined with
>  the rs_jpeg_save() in rs-jpeg.c.

Thanks a lot. Will try create a patch.

>  /abrander

Cheers,
Rafael

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

Reply via email to