From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: David Pirotte Newsgroups: gmane.lisp.guile.user Subject: Re: Guile-CV: Not a GRAY, RGB nor an RGBA image "sand.tif" Date: Tue, 5 Dec 2017 17:54:03 -0200 Message-ID: <20171205175403.3a2e8f71@capac> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/rTVL3kHIw_1529QX5gvNzuw"; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1512503717 12816 195.159.176.226 (5 Dec 2017 19:55:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 5 Dec 2017 19:55:17 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Dec 05 20:55:11 2017 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eMJJ9-0002ri-Cb for guile-user@m.gmane.org; Tue, 05 Dec 2017 20:55:11 +0100 Original-Received: from localhost ([::1]:51812 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMJJB-00013t-N2 for guile-user@m.gmane.org; Tue, 05 Dec 2017 14:55:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMJIQ-00012N-GH for guile-user@gnu.org; Tue, 05 Dec 2017 14:54:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eMJIM-0005lG-IO for guile-user@gnu.org; Tue, 05 Dec 2017 14:54:26 -0500 Original-Received: from maximusconfessor.all2all.org ([79.99.200.102]:60332) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMJIM-0005ku-CS for guile-user@gnu.org; Tue, 05 Dec 2017 14:54:22 -0500 Original-Received: from localhost (unknown [192.168.0.2]) by maximusconfessor.all2all.org (Postfix) with ESMTP id 20059A04C17C for ; Tue, 5 Dec 2017 20:54:20 +0100 (CET) Original-Received: from maximusconfessor.all2all.org ([192.168.0.1]) by localhost (maximusconfessor.all2all.org [192.168.0.2]) (amavisd-new, port 10024) with ESMTP id RiVNtQUziDPv for ; Tue, 5 Dec 2017 20:54:16 +0100 (CET) Original-Received: from capac (unknown [179.210.16.18]) by maximusconfessor.all2all.org (Postfix) with ESMTPSA id 6B4DEA04C17B for ; Tue, 5 Dec 2017 20:54:15 +0100 (CET) In-Reply-To: X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 79.99.200.102 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.lisp.guile.user:14314 Archived-At: --Sig_/rTVL3kHIw_1529QX5gvNzuw Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Daniele, > scheme@(guile-user)> ,use (cv) > scheme@(guile-user)> (im-load "sand.tif") > ERROR: In procedure scm-error: > ERROR: Not a GRAY, RGB nor an RGBA image "sand.tif" > Any idea what might be the cause? Yes: your are not in the right directory wrt guile, and this flename 'does = not exists', it does not exists in the directory your are trying to load this i= mage, see: scheme@(guile-user)> (getcwd) $5 =3D "/usr/alto/projects/guile-cv/images" In my cae, the sand.tiff is (also) in a subdir called 'lpdi': (im-load "lpdi/sand.tif") $4 =3D (512 512 1 (#f32(125.0 128.0 124.0 118.0 108.0 95.0 90.0 80.0 75.0 = 76.0 # =E2=80=A6))) but if I try to load an image that does not exists, bang: scheme@(guile-user)> (im-load "lpdi/sa1nd.tif") ERROR: In procedure scm-error: ERROR: Not a GRAY, RGB nor an RGBA image "lpdi/sa1nd.tif" Good you succeed at installing! David --Sig_/rTVL3kHIw_1529QX5gvNzuw Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEhCJlRZtBM3furJHe83T9k6MFetcFAlom+VsACgkQ83T9k6MF etcAQggAvDA2mw14lRfSc1gKbU+rYyZjgxC0cttHK+5zPHBHU39ox0SEzUfP86Ip lOHxCFLO0AwiwFGswZt5OH2VDQduow7Uv7HFvHbvMgI9+ug2LS+waPTcwbS8d0Mn n9eF/XWhOuZ3P4XI1GKCy/q+QcP3MAgsHnIdv0Q6V6kc2O4lTQAZtVRrIzFJ0v1g U5qanEYUtU0SF0dFTDIuXkNIfP7pKF9pQ5Ui6PEG9aex3FSnnxUfQgiCfM2K849O ptWbwrKzBJQd0Gl3zyGTZWpdouR0ghZckVZ7gTcQhJri0YdYC49/FKhTH0ybmZNN ckYpXDkMp2qmHn1zrfNkntWacbKGCw== =NQdS -----END PGP SIGNATURE----- --Sig_/rTVL3kHIw_1529QX5gvNzuw--