Changeset 14950


Ignore:
Timestamp:
2008-02-04T12:51:43+13:00 (14 years ago)
Author:
mdewsnip
Message:

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

File:
1 edited

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'} &&
Note: See TracChangeset for help on using the changeset viewer.