Re: LZW compression CLI tool (was: screen capture)
Re: LZW compression CLI tool (was: screen capture)
- Subject: Re: LZW compression CLI tool (was: screen capture)
- From: Graff <email@hidden>
- Date: Wed, 10 Dec 2003 17:37:47 -0500
No need for worrying about resource forks or such, they are talking
about compression of data within the image file, not compression of the
entire file.
However if you want compression of a file and you want to worry about
resource forks then you could use ditto from the command line:
ditto -c -k --sequesterRsrc sourcefile destinationfile.zip
That will make a pkzip archive with the resource forks and metadata
saved in a separate directory within the archive so that they can be
restored by the unzipping application. You can use this command on a
directory to archive all its contents.
- Ken
On Dec 10, 2003, at 9:25 AM, Doug McNutt wrote:
At 00:26 -0500 12/10/03, this appeared:
Perhaps, someone on the list can suggest a CLI or AS method for LZW
compressing that output tiff?
gzip (gnu zip) is the standard and if it's not LZW it's a fine
impersonation. The .gz files produced with it are OK as seen by
Stuffit and Windoze zip.
The only problem I know is that it doesn't do anything about resource
forks or finder information without some help.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.