Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    GD::Thumbnail 1.01

    Download button

    No screenshots available
    Downloads: 488  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Burak G. | More programs
    Perl Artistic License / FREE
    August 25th, 2006, 11:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    GD::Thumbnail description

    GD::Thumbnail is a thumbnail maker for GD.

    GD::Thumbnail is a thumbnail maker for GD.

    SYNOPSIS

    use GD::Thumbnail;
    my $thumb = GD::Thumbnail->new;
    my $raw = $thumb->create('test.jpg', 80, 2);
    my $mime = $thumb->mime;
    warn sprintf "Dimension: %sx%sn", $thumb->width, $thumb->height;
    open IMG, ">thumb.$mime" or die "Error: $!";
    binmode IMG;
    print IMG $raw;
    close IMG;
    or
    use CGI qw(:standard);
    use GD::Thumbnail;
    my $thumb = GD::Thumbnail->new;
    my $raw = $thumb->create('test.jpg', 80, 2);
    my $mime = $thumb->mime;
    binmode STDOUT;
    print header(-type => "image/$mime");
    print $raw;

    This a thumbnail maker. Thumbnails are smaller versions of the original image/graphic/picture and are used for preview purposes, where bigger images can take a long time to load. They are also used in image galleries to preview a lot of images at a time.

    This module also has the capability to add information strips about the original image. Original image's size (in bytes) and resolution & mime type can be added to the thumbnail's upper and lower parts. This feature can be useful for web software (image galleries or forums).

    This is a Yet Another type of module. There are several other thumbnail modules on CPAN, but they simply don't have the features I need, so this module is written to increase the thumbnail population on CPAN.

    The module can raise an exception if something goes wrong. So, you may have to use an eval block to catch them.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    thumbnail maker | Perl module | GD maker | GD::Thumbnail | thumbnail | maker

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM