Ignore:
Timestamp:
Dec 4, 2009, 10:30:31 AM (14 years ago)
Author:
ronosman
Message:

Feature 1055 added : preparation of high definition images ( HD ).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/pLoader/trunk/src/Uploader/GUI/wxApp.pm

    r4408 r4422  
    109109          default_photo_names
    110110          eng_default_photo_names
     111                  upload_hd
     112                  eng_upload_hd
    111113      /
    112114);
     
    130132    # to check if we can use stored cache
    131133    $self->imagelist_version(
    132         '8'
     134        '9'
    133135    );
    134136
     
    269271        }
    270272    );
    271 
     273       
     274        $self->upload_hd(
     275            [
     276                    'No',
     277                        'Yes, use HD resized of the original photo',
     278                        'Yes, use a copy of the original photo',
     279                ]
     280        );
     281
     282    $self->eng_upload_hd(
     283        {
     284             map { gettext($_) => $_ } @{$self->upload_hd}
     285        }
     286    );
     287       
    272288    $self->default_photo_names(
    273289        [
     
    460476    my $params = {
    461477        new_files        => [],
     478        hd_filter        => 'Lanczos',
     479        hd_blur          => 0.9,
     480        hd_quality       => 95,
     481        hd_w             => 1600,
     482        hd_h             => 1200,
     483        hd_interlace     => 'Line',
    462484        thumb_size       => 120,
    463485        site_thumb_dir   => $self->thumb_dir,
     
    474496        th_quality       => 90,
    475497        auto_rotate      => 1,
     498                upload_hd        => 'No',
    476499        remove_uploaded_from_selection => 1,
    477500        interlace        => 'Line',
Note: See TracChangeset for help on using the changeset viewer.