don@vax1.acs.udel.EDU (Donald R Lloyd) (06/28/89)
I recently ftp'd some graphic files with the suffix .hqx. Is there a relatively easy way to convert them to Sun raster files? How about to GIF so I can convert 'em from there to .ras? Thanks, -- ------------------------------------------------------------------------------- | --------------- Don Lloyd El Campeador don@vax1.acs.udel.edu | | |Gibberish is | DISCLAIMER: don@pyr1.acs.udel.edu | | |spoken here. | My employers are idiots. They wouldn't understand | | --------------- my babbling even if they WERE literate enough to read it. | -------------------------------------------------------------------------------
erc@pai.UUCP (Eric Johnson) (06/30/89)
In article <3890@udccvax1.acs.udel.EDU>, don@vax1.acs.udel.EDU (Donald R Lloyd) writes: > > I recently ftp'd some graphic files with the suffix .hqx. Is there a > relatively easy way to convert them to Sun raster files? How about to GIF so > I can convert 'em from there to .ras? I may be mistaken, but I belive the .hqx suffix is for Macintosh "BinHex" files. BinHex is a Mac format (and program) which converts a binary file into an ASCII-printable encoding (suitable for use by UN*X mailers, etc). Therefore, the .hqx file may be any type of Mac file (.GIF, macpaint, a Mac executable, an ASCII text file, etc.). What you probably need to do is to convert the file on the Mac (using BinHex or Stuffit) to find out what is in the file and what type it is first. Then, try to convert it to the Sun raster format or the GIF format. I believe that there may be a version of Binhex that works under UN*X, but there are a lot of gotcha's in the Mac file system. In UN*X, files are generally a stream of bytes. On the Mac, files have two forks, a DATA fork and a Resource fork. Because of this, the UN*X utility may "un-hex" your file, but then give you two UN*X files (one each for the two forks--the idea being that the files will later be transfered to a Mac). Two files for the price of one may seem a bargain, but this may cause problems (although chances are the data fork contains the image). > Thanks, Hope this helps. > > -- > ------------------------------------------------------------------------------- | --------------- Don Lloyd El Campeador don@vax1.acs.udel.edu | > | |Gibberish is | DISCLAIMER: don@pyr1.acs.udel.edu | > | |spoken here. | My employers are idiots. They wouldn't understand | | --------------- my babbling even if they WERE literate enough to read it. | ------------------------------------------------------------------------------- Anyway, best of luck, -Eric -- Eric F. Johnson | Phone +1 612-894-0313 | Are we Prime Automation,Inc | UUCP: bungia!pai!erc | having 415 W. Travelers Trail | UUCP: sun!tundra!pai!erc | fun Burnsville, MN 55337 USA | DOMAIN: erc@pai.mn.org | yet?