aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Shevchenko <andy@smile.org.ua>2006-06-06 11:34:38 +0000
committerAndy Shevchenko <andy@smile.org.ua>2006-06-06 11:34:38 +0000
commitcf51629b02ae1f0b82ea6cb72a287f66f00a3e85 (patch)
treedbd16518727580485cf87b0643048e7381ad422f
parentd48a9afbe90640c6577a84e13ccb43c0dbc6d652 (diff)
downloadrenrot-cf51629b02ae1f0b82ea6cb72a287f66f00a3e85.tar.gz
renrot-cf51629b02ae1f0b82ea6cb72a287f66f00a3e85.tar.bz2
Use getFileData() in rotateThumb().
git-svn-id: file:///svnroot/renrot/trunk@183 fe2816f4-e837-0410-b10a-f608c9d244a1
-rw-r--r--ChangeLog4
-rwxr-xr-xrenrot10
-rw-r--r--renrot.rc6
3 files changed, 8 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index d38b2cb..3e6a972 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,7 @@
$Log$
+Revision 1.122 2006/06/06 11:34:38 andy
+Use getFileData() in rotateThumb().
+
Revision 1.121 2006/06/06 11:17:07 zeus
Virtualization of aggregation has been implemented.
POD, README, renrot.rc are edited.
@@ -495,4 +498,3 @@ Id keyword is added to renrot file.
Revision 1.1 2005/10/17 13:39:38 zeus
ChangeLog file is added. Its the very begining.
-
diff --git a/renrot b/renrot
index 596f944..f69b496 100755
--- a/renrot
+++ b/renrot
@@ -1055,13 +1055,7 @@ sub rotateThumbnail {
system $cmd || ( fatalmsg ("System $cmd failed: $?\n"), die );
# preparing to write the just rotated thumbnail, back to the file
- unless ( open ( THUMBNAILROTATED, "<$ThumbnailOriginalRotated" ) ) {
- errmsg ("$ThumbnailOriginalRotated wasn't opened!\n");
- }
- binmode THUMBNAILROTATED;
- my ( @rthumb ) = <THUMBNAILROTATED>;
- my $thethumb = join ('', @rthumb);
- unless ( close ( THUMBNAILROTATED ) ) { errmsg ("$ThumbnailOriginalRotated wasn't closed!\n"); }
+ my $thethumb = getFileData($ThumbnailOriginalRotated);
# preparing to write thumbnale to the just rotated file
my $exifThumbnailed = new Image::ExifTool;
@@ -1109,7 +1103,7 @@ Options:
--aggr-directory <DIR> counterless aggregation directory name
--aggr-template <TPL> aggregation template (see manual for details)
--aggr-virtual (*) virtual aggregation (symlinks are aggregated instead of the very files)
- --aggr-virtual-directory <DIR> root directory for virtual aggregation
+ --aggr-virtual-directory <DIR> root directory for virtual aggregation
--comment-file <FILE> file with commentary
--user-comment <COMMENTARY> text to put into UserComment tag
--tag <TAG> ... tag to put into EXIF of renamed files
diff --git a/renrot.rc b/renrot.rc
index a53937e..c4fb3ed 100644
--- a/renrot.rc
+++ b/renrot.rc
@@ -24,10 +24,10 @@
# %y last two digits of year (00..99)
#name template = '%Y%m%d%H%M%S'
-# Trimming rotated images when using jpegtran
+# Trimming rotated images when using jpegtran.
#trim = Yes
-# Aggregation mode. Possible values are: none, delta or template
+# Aggregation mode. Possible values are: none, delta or template.
#aggregation mode = 'none'
# Template used for file aggregation. Interpreted sequences are:
@@ -46,7 +46,7 @@
# Counterless aggregation directory name.
#aggregation directory = 'Images'
-# To run virtualized aggregation (see documentation)
+# To run virtualized aggregation (see documentation).
#aggregation virtual = No
# Default virtual aggregation directory.

Return to:

Send suggestions and report system problems to the System administrator.