From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.user Subject: A wee JPEG parser Date: Thu, 02 Oct 2014 15:25:04 +0200 Message-ID: <87y4sy4n9r.fsf@pobox.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1412256358 20230 80.91.229.3 (2 Oct 2014 13:25:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Oct 2014 13:25:58 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Oct 02 15:25:54 2014 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XZgOF-0006It-Ih for guile-user@m.gmane.org; Thu, 02 Oct 2014 15:25:51 +0200 Original-Received: from localhost ([::1]:34170 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZgOF-00013y-6a for guile-user@m.gmane.org; Thu, 02 Oct 2014 09:25:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47264) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZgNn-00013g-CO for guile-user@gnu.org; Thu, 02 Oct 2014 09:25:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZgNe-0002Du-Fz for guile-user@gnu.org; Thu, 02 Oct 2014 09:25:23 -0400 Original-Received: from sasl.smtp.pobox.com ([208.72.237.25]:63376) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZgNe-0002Di-Cl for guile-user@gnu.org; Thu, 02 Oct 2014 09:25:14 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl0.pobox.com (Postfix) with ESMTP id A7E6D3B7C7 for ; Thu, 2 Oct 2014 09:25:13 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to :subject:date:message-id:mime-version:content-type; s=sasl; bh=k HI0GL13vE5AsdZSZO/XCZmW4Vo=; b=RsSsBVkvuaSlZwcsc65uecEv7lc5Q/sWA +Rr5L0AmoyHzu+CAhQMtMsITLqH+vZPwN2SMdGMZprI5m0Vc/F75sK8/TlOi0B19 c+j48DxuhbmdhGYjBFD9hRe3787PLJP2ecDzpat+nqsPwRamdDQqVUAt75lp6xBw o76S7cXIho= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:subject :date:message-id:mime-version:content-type; q=dns; s=sasl; b=iL1 HDQCSsBlTR9LFuhImVfTj39SGBipINbWp0WtMsYmR9hvJBgyre82bBQNalHzW5oe ykT7XqhU6QblcYBQdz1Bh/FpJgJDHJX9nW7nVIWSJXeWtlSpw7wvELLtonKGt0Bv Ehgrp/pyq6nTizM59+Qnl6D2Drure4gg/DvHuIM8= Original-Received: from pb-sasl0.int.icgroup.com (unknown [127.0.0.1]) by pb-sasl0.pobox.com (Postfix) with ESMTP id 9C2D83B7C6 for ; Thu, 2 Oct 2014 09:25:13 -0400 (EDT) Original-Received: from badger (unknown [88.160.190.192]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl0.pobox.com (Postfix) with ESMTPSA id BB2CC3B7C3 for ; Thu, 2 Oct 2014 09:25:12 -0400 (EDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Pobox-Relay-ID: 8A2D5AFE-4A37-11E4-B40A-D46773CAD1A7-02397024!pb-sasl0.pobox.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.72.237.25 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:11560 Archived-At: Should anyone need a JPEG parser, or the beginnings of one anyway, here is one: https://gitorious.org/guile-jpeg/guile-jpeg Currently it's just enough to parse out the dimensions of a file, though you could tweak it in other ways. You could probably use it to get EXIF information, though for that purpose I'm using libexif via guile-exif: https://gitorious.org/guile-exif/guile-exif Regards, Andy -- http://wingolog.org/