I tend to be lazy .. hehehehe..
sometime I took a lot of picture then later don’t know how to select and post ..
some more need to resize each one of them before publish or send out to somebody else..
figured out.. by creating a simple bash script file with following content :
~/bin/resize_my_images.sh
for i in `ls *.JPG`
do
convert -verbose -resize 50% -comment "(c) HawkEYE Expression's" $i resized_${i%%.*}.jpg
done
* Updated to fix the filename extension to lower-cased..
Then have make it executable .. before can use .. by issuing this command.
chmod a+x ~/bin/resize_my_images.sh
to use it..
cd ~/where/to/image_folder/
~/bin/resize_my_images.sh .
it will take every single JPG file in the folder and resized it by 50% .. and renamed to resized_original_name.jpg
quite handy when to handle let’s say 300+ images…
p/s : can remove verbose string if don’t want to know the progress of the conversion process..
btw .. dependencies is :
[root@nb-namran ~]# rpm -q --whatprovides /usr/bin/convert
ImageMagick-6.2.8.0-4.el5_1.1
Here are five key communication skills that help you speak with clarity and influence: Speak…
Are you ready to unlock your full potential as a man?Discover powerful insights, real-life transformations,…
One day we will set aside one whole day to review the whole lesson we…
Last weekend, 07/12/2024 I managed to join Dev Fest Kuala Lumpur 2024, organized by Google…
TIPS BACAAN AL-QURANOleh: Dr. Muhd al-Muhaysni.1. Jangan engkau berikan (fokus membaca) al-Quran pada lebihan waktumu…
Selawat yang ringkas, yang mana apabila kamu membacanya satu kali sebanding 100 ribu kali, jadi…
View Comments
For the rest of us, I recommend easy thumbnails - http://www.fookes.com/ezthumbs/
for the rest of us, he mean, WINDOWS user.
hehehe~ ;)
yalah.. forgot to mention that was meant for linux user..
you can try download live cd for ubuntu and burn into cd and reboot once.. 8-)
i think now ubuntu can also be installed directly on top of windows XP..
and just behaving like another game.. hehe.. so easy to try ..