diff options
author | Andy Shevchenko <andy@smile.org.ua> | 2006-06-06 11:34:38 +0000 |
---|---|---|
committer | Andy Shevchenko <andy@smile.org.ua> | 2006-06-06 11:34:38 +0000 |
commit | cf51629b02ae1f0b82ea6cb72a287f66f00a3e85 (patch) | |
tree | dbd16518727580485cf87b0643048e7381ad422f | |
parent | d48a9afbe90640c6577a84e13ccb43c0dbc6d652 (diff) | |
download | renrot-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-- | ChangeLog | 4 | ||||
-rwxr-xr-x | renrot | 10 | ||||
-rw-r--r-- | renrot.rc | 6 |
3 files changed, 8 insertions, 12 deletions
@@ -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. - @@ -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 @@ -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. |