From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/14202 Path: news.gmane.org!not-for-mail From: Fren Zeee Newsgroups: gmane.emacs.gnus.user Subject: FlateDecode, ASCIIHexDecode, ASCII85Decode, and LZWDecode streams Date: Wed, 23 Jun 2010 22:39:07 -0700 (PDT) Organization: http://groups.google.com Message-ID: <294c0e36-8ed5-48db-9c61-c9d9fff95721__38278.2800392762$1291957098$gmane$org@x27g2000yqb.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1291957098 13371 80.91.229.12 (10 Dec 2010 04:58:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Dec 2010 04:58:18 +0000 (UTC) Cc: Fren Zeee To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri Dec 10 05:58:12 2010 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQv3b-0006yG-2n for gegu-info-gnus-english@m.gmane.org; Fri, 10 Dec 2010 05:58:11 +0100 Original-Received: from localhost ([127.0.0.1]:51642 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQv3a-000463-Cs for gegu-info-gnus-english@m.gmane.org; Thu, 09 Dec 2010 23:58:10 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!x27g2000yqb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help,gnu.emacs.sources,gnu.emacs.gnus,comp.text.pdf Original-Followup-To: gnu.emacs.help, gnu.emacs.sources, gnu.emacs.gnus, comp.text.pdf Original-Lines: 28 Original-NNTP-Posting-Host: 75.28.141.152 Original-X-Trace: posting.google.com 1277357948 20110 127.0.0.1 (24 Jun 2010 05:39:08 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 24 Jun 2010 05:39:08 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: x27g2000yqb.googlegroups.com; posting-host=75.28.141.152; posting-account=Xy1x0QoAAAC1_8XWVbTILoO5VL5JMCDm User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:179224 gnu.emacs.sources:13233 gnu.emacs.gnus:84484 comp.text.pdf:88108 X-Mailman-Approved-At: Thu, 09 Dec 2010 20:27:54 -0500 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:14202 Archived-At: Dear All, I have been playing for a while with files that have small bits of FlateDecode, ASCIIHexDecode, ASCII85Decode, and LZWDecode streams. My familiarity with these compression methods is limited to using the unix uncompress, gunzip and other compiled commands. At one time I was able to conveniently decode base64 fragments in emacs using the following commands. base64-decode-region Command: Base64-decode the region between BEG and END. hexlify-buffer and dehexlify-buffer Is there a solution within emacs or someone has a method to use libraries or to translate code from python/ruby etc. I could not find any (apropos decode) with reference to the above compression methods. In ruby, FlateDecode and ASCII85Decode can be decompressed with existing ruby module which are zlib and Ascii85. Thank You. P.S. I am including links that may help anyone interested. http://www.frugalcorner.com/lzw/lzwfree.html http://groups.google.com/group/comp.compression/browse_thread/thread/2d88635982a60b54/15fc41f6e3556d9?q=Decompressing+LZW+compression+from+PDF#015fc41f6e3556d9