• 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: Pixel sizes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pixel sizes


  • Subject: Re: Pixel sizes
  • From: Chris Adams <email@hidden>
  • Date: Sat, 11 Aug 2001 07:08:03 +0000

On 8/1/01 6:17 PM Hellum Timothy wrote:

> Hello list,
>
> Does anyone know of a way to have AS look at a folder of images (EPS) and
> return their respective x and y values as pixel lengths?
>
> I have Graphic Converter and suspect that it may offer an answer, but I am
> unsure.
>
> Novice user!
>
> Thanks muchly,
>
> Timothy
>
You can do this with Quicktime (if QT can open the EPS images? If not you
could temporarily convert the images to JPEG).

The meat of what you need is this (this script is a droplet):

on open (droppeditem)

tell application "QuickTime Player"

set thealias to droppeditem as alias

open thealias
set mydimensions to dimensions of movie 1 as list

set width to item 1 of mydimensions
set height to item 2 of mydimensions
display dialog "Width: " & width & return ,
& "Height: " & height & return

close movie 1 saving no


end tell
end open

-- end of script

I have a script here that uses QT to get the size from a series of images in
a folder and builds a thumbnail HTML image catalog in BBedit:

http://www.cypresslakestudios.com/applescript/index.html#thumbnailer


This is another script that uses Quicktime to resize the images based on a
target width or height:

http://www.cypresslakestudios.com/applescript/index.html#photo_albummer

It is a really huge script that also involves using Media Cleaner, but you
might be able to get something out of it.

Good luck and I hope that this helps.

--
Chris Adams
Cypress Lake Studios
Hypermedia, Quicktime, and Internet Design
http://www.cypresslakestudios.com
email@hidden


  • Prev by Date: Re: How do you check the equivalency of references?
  • Next by Date: Re: Spot Color In Illustrator 9
  • Previous by thread: Re: Pixel sizes
  • Next by thread: Setting Access privileges
  • Index(es):
    • Date
    • Thread