Re: Pixel sizes
Re: Pixel sizes
- Subject: Re: Pixel sizes
- From: Shane Stanley <email@hidden>
- Date: Thu, 02 Aug 2001 11:09:50 +1000
On 2/8/01 8:17 AM +1000, Hellum Timothy, email@hidden, wrote:
>
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.
GraphicConverter doesn't deal with eps images. Your choices are Photoshop
plus PhotoScripter, or to parse the files directly using the read and write
commands.
The information (bounds) is near the beginning of an eps file, so its just a
matter of reading in the first couple of hundred bytes, then using text item
delimiters or whatever to parse the text. Open one in something like BBEdit
and it should be reasonably obvious what you have to look for.
--
Shane Stanley, email@hidden