[gthumb] Extract rotated thumbnail from RAW photo, instead of unrotated



commit 26f719e604f1f17b57c5aad0be347d61c7900e24
Author: Michael J. Chudobiak <mjc avtechpulse com>
Date:   Wed May 27 13:16:05 2009 -0400

    Extract rotated thumbnail from RAW photo, instead of unrotated
    
    Requires bump in libopenraw to 0.0.4.
---
 README                 |    2 +-
 configure.in           |    2 +-
 libgthumb/file-utils.c |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/README b/README
index f2c0f00..f35c5b6 100644
--- a/README
+++ b/README
@@ -103,7 +103,7 @@ Compiling
   If the libgphoto2 library version >= 2.1.3 is present you can import
   photos from your camera.
 
-  If the libopenraw library version >= 0.0.2 is present you can view
+  If the libopenraw library version >= 0.0.4 is present you can view
   RAW photo thumbnails.
 
   If dcraw is present (and is in your executable search path), 
diff --git a/configure.in b/configure.in
index 6143cb7..3265f9e 100644
--- a/configure.in
+++ b/configure.in
@@ -33,7 +33,7 @@ GNOME_VFS_REQUIRED=2.6.0
 LIBGLADE_REQUIRED=2.4.0
 LIBGPHOTO_REQUIRED=2.1.3
 BONOBO_REQUIRED=2.6.0
-LIBOPENRAW_REQUIRED=0.0.2
+LIBOPENRAW_REQUIRED=0.0.4
 EXIV2_REQUIRED=0.18
 GSTREAMER_REQUIRED=0.10.15
 
diff --git a/libgthumb/file-utils.c b/libgthumb/file-utils.c
index 12df768..942dd8d 100644
--- a/libgthumb/file-utils.c
+++ b/libgthumb/file-utils.c
@@ -2403,7 +2403,7 @@ gth_pixbuf_new_from_file (FileData               *file,
 	if ((pixbuf == NULL) 
 	    && mime_type_is_raw (file->mime_type) 
 	    && (requested_width > 0))
-		pixbuf = or_gdkpixbuf_extract_thumbnail (file->local_path, requested_width);
+		pixbuf = or_gdkpixbuf_extract_rotated_thumbnail (file->local_path, requested_width);
 #endif
 
 	/* Use dcraw for raw images, pfstools for HDR images */



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