From IT Mission Linux Tips, Hacks, Tutorials, Howtos -

Main: CreateImageThumbnailUsingImagemagickInLinuxThumbnailsCreationFromShell

Tue Jun 19 01:01:32 2007

   shibu@shibu-laptop:~$ sudo apt-get install imagemagick

   Reading package lists... Done
   Building dependency tree
   Reading state information... Done
   Suggested packages:
   The following packages will be upgraded:
   1 upgraded, 0 newly installed, 0 to remove and 949 not upgraded.
   Need to get 742kB of archives.
   After unpacking 922kB disk space will be freed.
   WARNING: The following packages cannot be authenticated!
   Install these packages without verification [y/N]? y
   Get:1 edgy-security/main imagemagick 7: [742kB]
   38% [1 imagemagick 289288/742kB 38%]                                                                                                         
   Setting up imagemagick ( ...

  shibu@shibu-laptop:~$ convert -thumbnail 200x200 44430007.JPG  44430007thumb.jpg
  shibu@shibu-laptop:~$ du -hs 44430007.JPG
  512K    44430007.JPG

  shibu@shibu-laptop:~$ du -hs 44430007thumb.jpg
  16K     44430007thumb.jpg


Retrieved from
Page last modified on January 14, 2008, at 12:32 PM