Chop image size

I have an image that I need to display on a web site.  It's to large for the page.  I deleted the excess but it leaves a "white space".  How do I crop it to the correct size and get rid of this "white space" on the bottom of the jpeg?

Also, I have a great deal of images that are of different sizes.  Is there a way to create a batch file, feed it it the file names and have them all come out with the same size?

Glenn
breeze351Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

GaryCommented:
Use TRIM - no messing about with selecting areas to delete/or cropping
As a standard feature it should be easy enough to set up a batch script for it
Scott FellDeveloper & EE ModeratorCommented:
I think on Mac you can use automator.  If you have photoshop, that has the ability as well (I have not used it but I have seen folks ask about that here).
EirmanChief Operations ManagerCommented:
First thing, Install the free Processor Pro which is way better that the image processor included in photoshop itself (Watch the Video) ....
http://russellbrown.com/scripts.html

Next, learn how to record actions. (Search for how to record actions in photoshop)
You can record a sequence of actions, group them, and save them.
One action might be Image > Trim (As mentioned by Gary)
Another might be to resize an image (Alt+Ctrl+I) .... (Alt Gr + I   is handier)
And save the actions.

Then File > Automate > Image processor Pro
Set your source and destination folders
Set a chosen action that you have already saved (optional).
.... or use the internal image processor pro resizing
Choose whether you want to rename photos.
etc
and save the settings for future use.
Then RUN

Always use a different folder for the processed files and you will never mess up your original files.
Starting with Angular 5

Learn the essential features and functions of the popular JavaScript framework for building mobile, desktop and web applications.

breeze351Author Commented:
Ive tried the instructions for "trim"  and it didn't work.  This is the second time that I'm sending this message.

Attached are the files.

If you would like to see the site, it's "LangSystems.net".
mtest.jpg
midtown.jpg
breeze351Author Commented:
No comment on this "body comment",
GaryCommented:
What is not working, I just tried your image and it trimmed perfectly. You would need to select Bottom Right Pixel Color as that is where you blank color is.
breeze351Author Commented:
Ok, that worked.  The questions is if you look at the original image,  how do I chop this one?
There is no uniform color anywhere.  Do I have to cut/fill it and then do the trim?
GaryCommented:
Do you mean this one
http://filedb.experts-exchange.com/incoming/2014/01_w03/828207/midtown.jpg

How do you want to crop it? Top, bottom ?
Just set the image to the size you want it to be and then move the image around til you have what you want within the resized area.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
GaryCommented:
That should be canvas size and not image size :o/
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Creative Suite CS

From novice to tech pro — start learning today.