Notices


Reply
Thread Tools
Posts: 44 | Thanked: 23 times | Joined on Nov 2009 @ India
#1
Hello everyone, I am attaching a script which can be handy if you want to resize any existing image to any other size (this should come handy if you want to use it for N900). This script is dependant on imagemagick package.
Hope you all find this one helpful

also it may not work if the file name has spaces in it.. so there is another script to replace the spaces in the filename with underscores.

run the rename script first and then you can run the resize script
Attached Files
File Type: zip rename_resize.zip (2.7 KB, 119 views)

Last edited by gandotratushar; 2010-01-11 at 07:14. Reason: updated script
 

The Following User Says Thank You to gandotratushar For This Useful Post:
Posts: 44 | Thanked: 23 times | Joined on Nov 2009 @ India
#2
to use this script, put it in the same directory where all the images are and run "./resize.sh *.jpg" or use "./resize.sh *.*"
When done, it will create a new folder with the resized images and will not touch the original ones

Last edited by gandotratushar; 2010-01-10 at 17:43. Reason: typo
 
Lacedaemon's Avatar
Posts: 321 | Thanked: 366 times | Joined on Nov 2009 @ Hellas
#3
That sounds clever, but wouldn't that stretch the image after resize?
__________________
Maemo 5 Themes: [ Matrix | Red Alert | Dark Sky ]

Boot Videos: [ Maemo 1 & 2 ] | Matrix ]

Like my work? Consider making a Donation
 
Posts: 44 | Thanked: 23 times | Joined on Nov 2009 @ India
#4
Originally Posted by Lacedaemon View Post
That sounds clever, but wouldn't that stretch the image after resize?
thanks
yes it stretches the images so i would suggest to take the image of a higher resolution (i use 1920 X 1200) and convert them and see which one suits better
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 15:28.