Linux SoftwareProgrammingLibrariesGD::Thumbnail 1.01

GD::Thumbnail 1.01


GD::Thumbnail is a thumbnail maker for GD. SYNOPSIS use GD::Thumbnail; my $thumb = GD::Thumbnail->new; my $raw = $
Developer:   Burak G.
      more software by author →
Price:  0.00
License:   Perl Artistic License
File size:   25K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


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.

Requirements:
  • Perl
    tags original image  thumb mime  the original  this module  the thumbnail  image galleries  mime thumb  raw thumb  thumbnail new  thumb create  create test  test jpg  thumbnail maker  

    Download GD::Thumbnail 1.01


     http://ftp.casaafacerilor.ro/mirrors/CPAN/authors/id/B/BU/BURAK/GD-Thumbnail-1.01.tar.gz


    Authors software

    GD::Thumbnail 1.01 (by Burak G.)
    GD::Thumbnail is a thumbnail maker for GD.

    SYNOPSIS

    use GD::Thumbnail;
    my $thumb = GD::Thumbnail->new;
    my $raw = $


    Similar software

    GD::Thumbnail 1.01 (by Burak G.)
    GD::Thumbnail is a thumbnail maker for GD.

    SYNOPSIS

    use GD::Thumbnail;
    my $thumb = GD::Thumbnail->new;
    my $raw = $

    Thumbnail AutoIndex 2.0 (by Tomasz Sterna)
    Thumbnail AutoIndex is a thumbnail index generation script designed to be a companion to mod_autoindex for Apache

    PhotoGallery 20050725 (by Souken Group, LLC)
    PhotoGallery is simple and easy to use image gallery software that automatically generates image thumbnails

    Ekspos Image Viewer 0.8.6 (by KIYUT)
    Ekspos is platform independent Java image viewer program

    Danpei 2.9.7 (by Shinji Morino)
    Danpei is a Gtk+ based Image Viewer, works on X-Window system.

    Danpei allows you to browse through your image files in thumbnail f

    photon photo album 0.4.4 (by Luc Saillard)

    My Photo Gallery 4.03 (by Fuzzymonkey.org)
    My Photo Gallery is a Web-based photo gallery that also supports non-image filetypes

    GQview 2.1.5 (by GQview Team)
    GQview is an image viewer for Unix operating systems (developed on Linux)

    GD::SecurityImage 1.61 (by Burak Gursoy)
    GD::SecurityImage is a security image (captcha) generator.

    SYNOPSIS

    use GD::SecurityImage;

    # Create a normal image

    PikView 0.9.1 (by PikView)
    PikView is an image viewer which uses the KDE libraries


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags