Re: [gthumb-list] Auto-orientation issue



Il 22/07/2010 22:06, Nicolas ha scritto:
Hi,

I continue my tests ; and I have a new issue.

I have loaded orientation extension, and checked the "auto orientation"
during import process.

The photo aren't auto transformed :(


From debugger :

if (self->priv->adjust_orientation&&  gth_main_extension_is_active
("image_rotation")) {
   GthMetadata *metadata;

// I arrive here

   metadata = (GthMetadata *) g_file_info_get_attribute_object
(self->priv->destination_file->info, "Embedded::Image::Orientation");

   if (metadata != NULL) {
// metadata is always NULL for me :(

// I have quickly apply a patch from your old code (gthumb 2.10)
// and it works well.
// I think that the function g_file_info_get_attribute_object doesn't
// work
   }
}

Regards,

Nicolas



the metadata is read in gth-import-task.c:302 with the function exiv2_read_metadata_from_buffer, you should check if this function reads the metadata correctly.

- Paolo





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]