• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: LZW compression CLI tool (was: screen capture)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >LZW compression CLI tool (was: screen capture) (From: brian mather <email@hidden>)
 >Re: LZW compression CLI tool (was: screen capture) (From: Doug McNutt <email@hidden>)

  • Prev by Date: do shell script
  • Next by Date: Re: do shell script
  • Previous by thread: Re: LZW compression CLI tool (was: screen capture)
  • Next by thread: Panther and AppleScript property not retained - why?
  • Index(es):
    • Date
    • Thread