RetouchPRO

Go Back   RetouchPRO > Tools > Software > Photoshop Scripting
Register Blogs FAQ Site Nav Search Today's Posts Mark Forums Read


Photoshop Scripting Learning and sharing for all platforms

detect landscape or portrait image

Reply
 
Thread Tools
  #1  
Old 07-16-2009, 08:27 AM
tripitaka tripitaka is offline
Junior Member
 
Join Date: Jul 2009
Posts: 3
detect landscape or portrait image

Hi all,

First post! Hope someone can help.

I have a folder of many images. I would like to batch process the folder. To each image i want to detect if its a landscape or portrait image then add a logo to the image depending on the orientation.

I know i can separate out the images in the folder but that will take more time which i am trying to save!!

thanks
Andy
Reply With Quote top
  #2  
Old 07-16-2009, 09:10 AM
Swampy's Avatar
Swampy Swampy is offline
Senior Member
 
Join Date: Feb 2005
Location: The Swamps of Florida
Posts: 4,418
Re: detect landscape or portrait image

If you have Adobe Bridge, there is a filter for Orientation. You can select a folder of images then filter for landscape or portrait. Select the images and move or copy to a new folder.
Attached Images
File Type: jpg filter.jpg (74.4 KB, 23 views)
Reply With Quote top
  #3  
Old 07-16-2009, 09:23 AM
tripitaka tripitaka is offline
Junior Member
 
Join Date: Jul 2009
Posts: 3
Re: detect landscape or portrait image

Thanks Swampy,

I do have bridge and i think i have it sorted now! Just learned something new in photoshop too! The "place" command allows me to add my logo in the same spot on every image - given the images orientation. cool!

So i have 2 actions, one for each orientation, i then filter - in bridge- according to orientation and batch the lot!

Thanks - that helps with the work flow a lot!
Reply With Quote top
  #4  
Old 07-16-2009, 10:27 AM
Swampy's Avatar
Swampy Swampy is offline
Senior Member
 
Join Date: Feb 2005
Location: The Swamps of Florida
Posts: 4,418
Re: detect landscape or portrait image

Glad to be of help, Trip. Welcome to RTP! :-)
Reply With Quote top
  #5  
Old 07-16-2009, 02:39 PM
0lBaldy's Avatar
0lBaldy 0lBaldy is offline
Senior Member
Patron
 
Join Date: Oct 2007
Posts: 3,581
Re: detect landscape or portrait image

Quote:
Originally Posted by tripitaka View Post
Hi all,

First post! Hope someone can help.

I have a folder of many images. I would like to batch process the folder. To each image i want to detect if its a landscape or portrait image then add a logo to the image depending on the orientation.

I know i can separate out the images in the folder but that will take more time which i am trying to save!!

thanks
Andy
Welcome to RetouchPRO Hope you enjoy your stay here and make lots of friends. Poke around, ask questions, offer help, have fun!

You might try this also...
Russwell Brown : Digital Watermark Branding

Discover the fine art of creating an Action that will magically work on both horizontal and vertical images.

View QuickTime Tutorial; 22.8 MB

Download Sample Watermark Action; 16 KB


(the movie may take a while to download)
Reply With Quote top
  #6  
Old 11-03-2009, 10:59 AM
SeanSmith SeanSmith is offline
Junior Member
 
Join Date: Nov 2009
Posts: 4
Re: detect landscape or portrait image

Quote:
Originally Posted by Swampy View Post
If you have Adobe Bridge, there is a filter for Orientation. You can select a folder of images then filter for landscape or portrait. Select the images and move or copy to a new folder.
Hi - First Post for me! I'm very much a novice with image stuff, but I believe I'm having the same issue as the first poster (I have folders filled with many jpg files and I'd like to separate the portraits from landscapes), but I do NOT have this Adobe Bridge that you mention ... or any other Adobe products.

I mainly use Paint Shop Pro (from Jasc) for my rudimentary image manipulation stuff (resizing, add text, etc). I need a quick/easy way to separate these portrait/landscapes into two different folders so I can run a batch processes and resize them all. It's a real pain to separate them all individually.

Is there a non-Adobe approach I can take?

Thanx in advance for your help. This seems like a friendly/helpful forum.

-Sean
Reply With Quote top
  #7  
Old 11-03-2009, 11:28 AM
Swampy's Avatar
Swampy Swampy is offline
Senior Member
 
Join Date: Feb 2005
Location: The Swamps of Florida
Posts: 4,418
Re: detect landscape or portrait image

Sean, Welcome to RetouchPro! Explore and Enjoy!

Bridge comes with the Adobe CS line of products. It is a visual filing system for many different kinds of files (JPEG.PDF.IND.ILL/EPS movies, sounds etc.) It has many features to save out or convert files, and integrates with the Adobe Creative Suite programs.

Sorry you don't have it. :-( It's a great utility for making contact sheets and web galleries too.
Reply With Quote top
  #8  
Old 11-03-2009, 11:43 AM
SeanSmith SeanSmith is offline
Junior Member
 
Join Date: Nov 2009
Posts: 4
Re: detect landscape or portrait image

Thanx, Swampy, but like I say, I really don't do enough with image files that I need to go out and spend a few hundred dollars on Adobe.

If anyone knows of a non-Adobe solution, please give a shout.

-Sean
Reply With Quote top
  #9  
Old 11-03-2009, 01:42 PM
0lBaldy's Avatar
0lBaldy 0lBaldy is offline
Senior Member
Patron
 
Join Date: Oct 2007
Posts: 3,581
Re: detect landscape or portrait image

Quote:
Originally Posted by SeanSmith View Post
Thanx, Swampy, but like I say, I really don't do enough with image files that I need to go out and spend a few hundred dollars on Adobe.

If anyone knows of a non-Adobe solution, please give a shout.

-Sean
Welcome to RetouchPRO!

Irfanview will do everything you want for free plus you can use a lot of filters meant for Photoshop and a whole lot more!
Reply With Quote top
  #10  
Old 11-03-2009, 02:26 PM
SeanSmith SeanSmith is offline
Junior Member
 
Join Date: Nov 2009
Posts: 4
Re: detect landscape or portrait image

Really? I'll give that a try this evening and let you all know how I make out. Thanx alot, OlBaldy (that's a great screen-name, by the way).

-Sean
Reply With Quote top
Reply

  RetouchPRO > Tools > Software > Photoshop Scripting


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
My first serious attempt to improve a image beezy40 Photo Retouching 7 09-12-2008 01:10 PM
Landscape Photos - Atmospheric Haze 7890 Image Help 22 09-10-2008 10:15 AM
Zoom a selected area of an image mytac Software 6 08-30-2008 06:13 PM
Image size - lack of understanding Ambrosie Photoshop Help 4 08-07-2008 07:29 AM
Using Neat Image soulsinsepia Photo Restoration 6 02-24-2008 11:52 PM


All times are GMT -6. The time now is 10:36 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
Copyright © 2016 Doug Nelson. All Rights Reserved