Softwares |
Main /
CreateImageThumbnailUsingImagemagickInLinuxThumbnailsCreationFromShellTue Jun 19 01:01:32 2007
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) ...
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 shibu@shibu-laptop:~$ Reference: |