Re: Get info without opening a file
Re: Get info without opening a file
- Subject: Re: Get info without opening a file
- From: "Marc K. Myers" <email@hidden>
- Date: Fri, 09 Feb 2001 21:28:06 -0500
- Organization: [very little]
Jan Machalek wrote:
>
Date: Fri, 09 Feb 2001 18:36:21 -0500
>
Subject: Get info without opening a file
>
From: Jan Machalek <email@hidden>
>
To: <email@hidden>
>
>
Hello,
>
>
Is there a way of getting informations (details) from a file without
>
physically opening the file. Let me clarify... For example, is there a way
>
of knowing resolution, color space, height and width, etc. of an EPS file
>
without physically opening it in Photoshop?
You can open any kind of file with the "open for access" command. The
problem then is to find where in the file the information you want is
located and how it is represented. I've done this, on occasion, by
making a copy of a file and changing only one value and then comparing
the two files. What is different (other than time/date stamps) reveals
the position and format of the field in question.
I've used a text editor (Tex-Edit Plus) to compare the two files and
highlight the bytes that are different.
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[2/9/01 9:27:39 PM]