Recent Changes - Search:

Softwares

.

CreateImageThumbnailUsingImagemagickInLinuxThumbnailsCreationFromShell

Tue Jun 19 01:01:32 2007

  • If you are using Ubuntu for thumbnail creation install imagemagick.
   shibu@shibu-laptop:~$ sudo apt-get install imagemagick

   Password:
   Reading package lists... Done
   Building dependency tree
   Reading state information... Done
   Suggested packages:
   html2ps
   The following packages will be upgraded:
   imagemagick
   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!
   imagemagick
   Install these packages without verification [y/N]? y
   Get:1 http://security.ubuntu.com edgy-security/main imagemagick 7:6.2.4.5.dfsg1-0.10ubuntu0.2 [742kB]
   38% [1 imagemagick 289288/742kB 38%]                                                                                                         
   Setting up imagemagick (6.2.4.5.dfsg1-0.10ubuntu0.2) ...

  • Command
  shibu@shibu-laptop:~$ convert -thumbnail 200x200 44430007.JPG  44430007thumb.jpg
  • Before and After convert command is run
  shibu@shibu-laptop:~$ du -hs 44430007.JPG
  512K    44430007.JPG

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

Reference:

Edit - History - Print - Recent Changes - Search
Page last modified on January 14, 2008, at 07:32 AM