[Bins] Exif information ALWAYS copied into resized images

Martin Michlmayr tbm at cyrius.com
Wed Jun 15 16:19:24 BST 2005


* Nicolas <bins_album at oxstone.com> [2005-06-15 16:24]:
> I would like the EXIF information contained in the sources images not to
> be copied into the resized pictures.
> 
> <parameter name="deExifyImages">
> 	1
> </parameter>
> 
> I thought that's exactly what I needed. However, even with that
> parameter set to 1, Exif information is still copied into the resized
> pictures.
> 
> Is that a bug or what?

Yes, and here's the fix:

--- bins~	2005-06-15 16:17:54.229909928 +0100
+++ bins	2005-06-15 16:18:13.633960064 +0100
@@ -3163,7 +3163,7 @@
     $x = $preview->Set(quality => $configHash->{jpegQuality});
     warn "$x" if "$x";
     if ($configHash->{deExifyImages}) {
-	$x = $preview->Profile(name => "*");
+	$x = $preview->Profile(name => "*", profile => "");
 	warn "$x" if "$x";
     }
     if ($configHash->{scaleMethod} eq "sample") {


Does that work for you?
-- 
Martin Michlmayr
http://www.cyrius.com/


More information about the Bins mailing list