comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: IDL WRITE_PICT --> Macintosh PICT???
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: IDL WRITE_PICT --> Macintosh PICT??? [message #2279] Thu, 09 June 1994 07:29 Go to next message
8015 is currently offline  8015
Messages: 52
Registered: November 1993
Member
In article <Cr3Ant.IJL@ra.nrl.navy.mil>, Andy Nicholas <nicholas@dsuap1> wrote:
> Does anyone know a simple way to convert files generated by the IDL
> WRITE_PICT command? I have been doing this in Photoshop but now I need
> to do this to 200+ files. Anyone know a batch mode way to do this?
> -Andy Nicholas
> email reply to:
> nicholas@uap.nrl.navy.mil
> or post to this group.
>
> -Thanks

The "postcardware" program JPEGView is what I use for this. It has a
drag-n-drop interface for handling this. Don't drag-n-drop too many
files at a time, though (maybe max of 40) or it will hang. The icon
that manages this is called the JPEGView autotyper. Alternatively, you
can open the JPEGView application and select "Open...". There is a
button in the dialog box labelled "Scan for image files" which will
convert each image file in the selected directory to a JPEGView program
file. I don't think there is a max limit for files in this mode.

Try the regular Mac archive sites for JPEGView or email me if you're
not familiar with Mac sites and I'll send it along.

Mike Schienle Hughes Santa Barbara Research Center
mgs@sbjse0.sbrc.hac.com 75 Coromar Drive, M/S B28/87
Voice: (805)562-7466 Fax: (805)562-7881 Goleta, CA 93117
Re: IDL WRITE_PICT --> Macintosh PICT??? [message #2298 is a reply to message #2279] Thu, 09 June 1994 19:12 Go to previous message
gurman is currently offline  gurman
Messages: 82
Registered: August 1992
Member
In article <Cr54Ln.74K@ngdc.noaa.gov>, greg@ngdc.noaa.gov (Greg
Ushomirskiy) wrote:

> Ah.. There is a Mac program called 'Creator Type Change' (ctc.1.6 is the latest
> version) that one can put on the desktop and just drag a bunch of files to. When
> the group of files is dropped into the icon, a window pops up that lets one change
> the file type and creator code.

"BunchTyper," shareware, will do the same thing, but it appears for
only a maximum of ~127 files in the version I have.

Joe Gurman
--
Joseph B. Gurman / NASA Goddard Space Flight Center/ Solar Data Analysis
Center / Code 682 / Greenbelt MD 20771 USA / gurman@uvsp.gsfc.nasa.gov
| Federal employees are still prohibited from holding opinions while at |
| work. Any opinions expressed herein must therefore be someone else's. |
Re: IDL WRITE_PICT --> Macintosh PICT??? [message #2309 is a reply to message #2279] Thu, 09 June 1994 10:29 Go to previous message
greg is currently offline  greg
Messages: 17
Registered: May 1991
Junior Member
Ah.. There is a Mac program called 'Creator Type Change' (ctc.1.6 is the latest
version) that one can put on the desktop and just drag a bunch of files to. When
the group of files is dropped into the icon, a window pops up that lets one change
the file type and creator code.

Greg.


In article <Geoff.Sobering-090694104116@gybe.ncrr.nih.gov>, Geoff.Sobering@nih.gov (Geoff Sobering) writes:
|> In article <Cr3Ant.IJL@ra.nrl.navy.mil>, nicholas@dsuap1 (Andy Nicholas)
|> wrote:
|>
|> > Does anyone know a simple way to convert files generated by the IDL
|> > WRITE_PICT command? I have been doing this in Photoshop but now I need
|> > to do this to 200+ files. Anyone know a batch mode way to do this?
|>
|> We use the Macintosh FTP client 'fetch' to do the job. We use 'fetch's
|> "Suffix Mapping" feature to set the Mac file-type to 'PICT' for every UNIX
|> file with the extension '.pict'. This allows Mac programs to recognize the
|> PICT files for what they are.
|>
|> One caveat, we have seen some problems with fancy color-tables. Some Mac
|> applications (PowerPoint) mis-read the IDL PICT file's color-tables. At
|> present, our "solution" for problem-files is to open and save the programs
|> with the "NIH Image" program (which can open multiple files at a time).
|>
|> --
|> Geoff Sobering
|> In Vivo NMR Research Center
|> National Institutes of Health

--
Greg Ushomirskiy
greg@farpoint.ngdc.noaa.gov
NOAA
Re: IDL WRITE_PICT --> Macintosh PICT??? [message #2315 is a reply to message #2279] Thu, 09 June 1994 08:41 Go to previous message
Geoff.Sobering is currently offline  Geoff.Sobering
Messages: 14
Registered: June 1994
Junior Member
In article <Cr3Ant.IJL@ra.nrl.navy.mil>, nicholas@dsuap1 (Andy Nicholas)
wrote:

> Does anyone know a simple way to convert files generated by the IDL
> WRITE_PICT command? I have been doing this in Photoshop but now I need
> to do this to 200+ files. Anyone know a batch mode way to do this?

We use the Macintosh FTP client 'fetch' to do the job. We use 'fetch's
"Suffix Mapping" feature to set the Mac file-type to 'PICT' for every UNIX
file with the extension '.pict'. This allows Mac programs to recognize the
PICT files for what they are.

One caveat, we have seen some problems with fancy color-tables. Some Mac
applications (PowerPoint) mis-read the IDL PICT file's color-tables. At
present, our "solution" for problem-files is to open and save the programs
with the "NIH Image" program (which can open multiple files at a time).

--
Geoff Sobering
In Vivo NMR Research Center
National Institutes of Health
Re: IDL WRITE_PICT --> Macintosh PICT??? [message #2316 is a reply to message #2279] Thu, 09 June 1994 07:54 Go to previous message
greg is currently offline  greg
Messages: 17
Registered: May 1991
Junior Member
Convert to what? Another image format? In this case, try netpbm. It's a
collection of Unix filters to convert between a wide variety of image formats.
They are just command-line programs, so you can write a simple shell script to
do a bunch of files in batch. To find netpbm, try archie -s netpbm
On MS Windows there is a program called Image Pals from ULead, that can convert
files in batch between a limited number of formats. If you're looking for a
Mac-only way to do it, I'm afraid you might be stuck, or have to wait for
System 7.5 with scriptable finder.


Greg.


In article <Cr3Ant.IJL@ra.nrl.navy.mil>, nicholas@dsuap1 (Andy Nicholas) writes:
|> Does anyone know a simple way to convert files generated by the IDL
|> WRITE_PICT command? I have been doing this in Photoshop but now I need
|> to do this to 200+ files. Anyone know a batch mode way to do this?
|> -Andy Nicholas
|> email reply to:
|> nicholas@uap.nrl.navy.mil
|> or post to this group.
|>
|> -Thanks

--
Greg Ushomirskiy
greg@farpoint.ngdc.noaa.gov
NOAA
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: RSI is a money thirsty beast!!
Next Topic: Re: flush output files

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:33:34 PDT 2025

Total time taken to generate the page: 0.00585 seconds