Convertir des images (réduction de taille) en vignettes miniatures

ImageMagick

ImageMagick ensemble d'utilitaires multi plates-formes en ligne de commande, permettant de créer, de convertir, de modifier et d'afficher des images dans un très grand nombre de format

génération et traitement des images en PHP

Exif

Exif pour lire les données méta des images prises par des appareils numériques, stockées dans l'en-tête des images JPEG et TIFF

Exif ne crée pas de vignette, mais lit la miniature incluse dans l'image jpeg

Traitement des images et GD

Avec GD vous pouvez tout faire sur une image, créer, redimensionner, réduire, agrandir, enregistrer en un autre format, etc...

Pour créer la vignette il vous faudra faire un fonction de lecture d'image, réduction et d'enregistrement du thumbnail.

Traitement des images (ImageMagick)

Imagick est une extension PHP native pour créer et modifier les images, en utilisant l'API ImageMagick.

Bien que native, il faudra que l'extension php5-imagick - imagick module for php5 soit installée sur votre serveur PHP.

Gmagick (La classe Gmagick)

Gmagick est une extension PHP pour créer, modifier et d'obtenir des méta-informations d'images en utilisant l'API GraphicsMagick.

GraphicsMagick s'enorgueillit d'être le couteau suisse du traitement d'images. Elle travaille avec plus de 88 formats principaux y compris les formats importants comme DPX, GIF, JPEG, JPEG-2000, PNG, PDF, PNM et TIFF.

Gmagick se compose d'une classe principale Gmagick, une classe GmagickDraw qui est en fait en tirant un coup de baguette et une classe GmagickPixel dont les instances représentent un seul pixel d'une image (couleur, opacité).

Cette extension n'est pas installée par défaut, ni installable par les paquets Debian.

Les autres librairies

Les paquets Debian

~# apt-cache search php | grep magic
php5-imagick - imagick module for php5
~# apt-cache search thumbnail
bins - Generate static HTML photo albums using XML and EXIF tags
bluefish - advanced Gtk+ HTML editor
comix - GTK Comic Book Viewer
cthumb - A program to generate themable Web picture albums
enigma-level-previews - Pregenerated level previews for Enigma
exiftran - transform digital camera jpeg images
exiv2 - EXIF/IPTC metadata manipulation tool
games-thumbnails - thumbnails of games in Debian
geeqie-common - data files for Geeqie
geeqie-dbg - debug symbols for Geeqie
gimageview - Image Viewer using GTK+
gkrellkam - GKrellM plugin that displays a periodically updating image
gnome-nds-thumbnailer - Nintendo DS roms thumbnailer for GNOME
gnome-xcf-thumbnailer - GNOME thumbnailer for GIMP XCF files.
gnomecatalog - catalog CD, DVD and hard disk files
gqview - simple image viewer using GTK+
gqview-dbg - simple image viewer using GTK+ (debug)
gscan2pdf - A GUI to produce PDFs from scanned documents
hildon-thumbnail - Hildon thumbnail library related programs
imageindex - generate static HTML galleries from images
jhead - manipulate the non-image part of Exif compliant JPEG files
kallery - Image gallery generator for the KDE
libapache-gallery-perl - Apache module to create galleries on-the-fly
libexiv2-4 - EXIF/IPTC metadata manipulation library
libextractor-plugins - extracts meta-data from files of arbitrary type (plugins)
libgsf-bin - Structured File Library - programs
libhildonthumbnail-dev - Hildon thumbnail library - development files
libhildonthumbnail0 - Hildon thumbnail library - runtime files
libhildonthumbnail0-dbg - Hildon thumbnail library - debug symbols
libimage-metadata-jpeg-perl - Perl extension for showing/modifying JPEG (meta)data
libnet-dpap-client-perl - Connect to iPhoto shares (DPAP)
libopenraw-dev - free implementation for RAW decoding - development files
libopenraw1 - free implementation for RAW decoding
libopenraw1-dbg - debugging symbols for libopenraw
libopenrawgnome-dev - GNOME integration for libopenraw - development files
libopenrawgnome1 - free implementation for RAW decoding (GNOME integration)
libopenrawgnome1-dbg - debugging symbols for libopenrawgnome
libroxen-thumbnail - <thumbnail> tag for the Roxen Challenger web server
libroxen-thumbview - Thumbnail directory module for the Roxen Challenger web server
makexvpics - updates .xvpics thumbnails from the command line
mirage - fast and simple GTK+ image viewer
nitrogen - wallpaper browser and changing utility for X
pcmanfm - an extremely fast and lightweight file manager for X
pcmanfm-nohal - an extremely fast and lightweight file manager for X
photon - a static HTML gallery generator
phpix - A PHP-based web photo album
pornview - Image and movie viewer/manager
python-pyexiv2 - Python binding to Exiv2
renrot - Rename and rotate files according to EXIF tags
swfdec-gnome - Tools to play SWF files (Macromedia Flash) on GNOME
texlive-latex-recommended - TeX Live: LaTeX recommended packages
thunar-thumbnailers - thumbnailers for Thunar file manager
totem-gstreamer - A simple media player for the GNOME desktop based on GStreamer
totem-xine - A simple media player for the GNOME desktop based on xine
tuxpaint-plugins-default - Magic tool plugins for Tux Paint
vinetto - A forensics tool to examine Thumbs.db files
wmgrabimage - maintains a small thumbnail image from the WWW
xzgv - Picture viewer for X with a thumbnail-based selector
album - HTML photo album generator with theme support
graphicsmagick - collection of image processing tools
openoffice.org - OpenOffice.org Office suite

Capturer la page d'un site comme avec une capture d'écran depuis un navigateur graphique

Créer des miniatures de sites web avec un serveur linux

xvfb-run --server-args="-screen 0, 1024x768x24" ./CutyCapt --url=http://www.lafermeduweb.net --out=lafermeduweb.jpg --out-format=jpeg