Changeset 14950

Show
Ignore:
Timestamp:
04.02.2008 12:51:43 (11 years ago)
Author:
mdewsnip
Message:

Renamed run_convert() to generate_images() in preparation for adding caching support to ImagePlug?.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/plugins/ImagePlug.pm

    r14664 r14950  
    126126# size, width, and height using the convert utility. 
    127127 
    128 sub run_convert { 
     128sub generate_images 
     129{ 
    129130    my $self = shift (@_); 
    130131    my $filename = shift (@_);   # filename with full path 
     
    389390 
    390391    #run convert to get the thumbnail and extract size and type info 
    391     my $result = run_convert($self, $filename, $file, $doc_obj); 
     392    my $result = generate_images($self, $filename, $file, $doc_obj); 
    392393     
    393394    if (!defined $result) 
     
    429430 
    430431    # clean up temporary files - we do this here instead of in   
    431     # run_convert becuase associated files aren't actually copied  
     432    # generate_images becuase associated files aren't actually copied  
    432433    # until after process has been run. 
    433434    if (defined $self->{'tmp_filename'} &&