Changeset 53
- Timestamp:
- 04/02/07 18:48:56 (1 year ago)
- Files:
-
- trunk/Memories/Photo.pm (modified) (4 diffs)
- trunk/README (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Memories/Photo.pm
r50 r53 8 8 use File::Find; 9 9 use File::MMagic; 10 use Image::Size qw(imgsize); 10 11 use strict; 11 12 use Carp qw(cluck confess); … … 149 150 $photo->delete(); die; 150 151 } 151 my ($x, $y ) = dim(image_info($photo->path));152 my ($x, $y, undef) = imgsize($photo->path); 152 153 $photo->x($x); $photo->y($y); 153 154 … … 240 241 241 242 use Cache::MemoryCache; 242 use Image::Info qw(dim image_info);243 243 use Image::ExifTool; 244 244 my $cache = new Cache::MemoryCache( { 'namespace' => 'MemoriesInfo' }); … … 453 453 grep {$md{$_} and $md{$_} =~/[^ 0:]/} 454 454 (qw(Keywords Subject City State Location Country Province-State), 455 ' Transmission Reference', 'Intellectual Genre',455 'Intellectual Genre', 456 456 'Country-Primary Location Name' 457 457 ); trunk/README
r46 r53 10 10 DBD::mysql 11 11 Class::DBI::mysql 12 Image:: Info12 Image::Size 13 13 Image::Imlib2 (requires libimlib2 and libimlib2-dev packages) 14 14 Time::Piece
