Shell Script to Resize Canvas & Images

I need someone to write a shell script that will take a directory of images and resize the canvas and image dimensions of all files within the directory.

At the moment I use the "rename" utility along with ImageMagick to accomplish this.

I need your script to iterate over all the files contained within a directory.

I need to be able to change the target output size of the image. You can just comment your code so that I can edit the script to make that change.

The initial script should take any image, and make the output 400px X 400px.

If any side of the image is > 400px, the canvas will be increase to 400px on that side.

The final output should be a clean, non-warped image of 400px x 400px.

I'm working on a mac, but also using a VM with vagrant on a guest machine running Ubuntu. The script should work on either system and use a utility (such as imagemagick) that works on both OSX and Ubuntu.

This is a simple task that I will pay $30 for.

Skills: Linux, PHP, Shell Script, Software Architecture, UNIX

See more: ubuntu imagemagick, imagemagick ubuntu, osx system, vagrant, shell script, resize-the-images, need to edit 3 images, canvas over, shell php image, php script rename files, canvas size, canvas php, script mac, osx script, script osx, write simple shell, simple task script, script ubuntu, ubuntu script, images rename

About the Employer:
( 24 reviews ) New York, United States

Project ID: #6382599

Awarded to:


Hi, I read your description. If you give me only 1 hour, I'll finish this project. I have experienced projects exactly like this for 10+ years. Best regards. Thanks.

$34 USD in 1 day
(2 Reviews)

6 freelancers are bidding on average $77 for this job


Datavision is IT company which are working on ERP,, Android application, Games, PHP, Java, Wordpress, Joomla, Magento etc. form many years. Regards, Jayesh Patil, Business Development Executive Contact More

$150 USD in 3 days
(10 Reviews)

Hello! My name is Jessica, and I am a professional software engineer with over 10 years experience in PHP, MySQL, HTML, CSS as well as several years experience with JavaScript / AJAX, and more. Please feel free to revi More

$100 USD in 5 days
(6 Reviews)

hello, We are a professional website development company named 'The Instant Solutions' having 5 years of experience. please check our great portfolio here : [login to view URL] waiti More

$105 USD in 3 days
(2 Reviews)

A proposal has not yet been provided

$35 USD in 3 days
(0 Reviews)

Current I'm used Mac for develop, and I have a good background with Linux shell script so I hope you give me a chance to help you completed this task. You can contact with me by skype: pvthanh88 if you want to get mo More

$35 USD in 1 day
(0 Reviews)