• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cropping white space
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cropping white space


  • Subject: Re: Cropping white space
  • From: Shane Stanley <email@hidden>
  • Date: Tue, 19 Aug 2008 09:10:57 +1000
  • Thread-topic: Cropping white space

On 19/8/08 4:46 AM, "Ed Stockly" <email@hidden> wrote:

> Is it possible to script removing white space from the sides of photos in
> photoshop?
>
> I have a directory with a few thousand images and some have white areas of
> varying width within the frame that looks pretty bad when paginated.
>
> So I'm hoping for a way to use appleScript to determine if an image has
> these white borders and removing them.

You could try selecting a pixel at the edge, checking it's values to see if
it's white, and if so use grow selection to select all the surrounding white
area. Then get the bounds of the selection, and crop to that. or you may be
able to simply use the trim command.

--
Shane Stanley <email@hidden>


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Cropping white space (From: "Stockly, Ed" <email@hidden>)

  • Prev by Date: Re: Cropping white space in Photoshop
  • Next by Date: Re: Image Data to file
  • Previous by thread: Cropping white space
  • Next by thread: add finder item to iTunes
  • Index(es):
    • Date
    • Thread