From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.user Subject: Re: Guile-CV: Not a GRAY, RGB nor an RGBA image "sand.tif" Date: Tue, 05 Dec 2017 18:42:59 -0500 Message-ID: <87k1y0vj0c.fsf@netris.org> References: <20171205175403.3a2e8f71@capac> <20171205195540.49b4218e@capac> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1512577160 20613 195.159.176.226 (6 Dec 2017 16:19:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 6 Dec 2017 16:19:20 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Cc: guile-user@gnu.org To: David Pirotte Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Dec 06 17:19:15 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 1eMcPM-0001Nn-Ni for guile-user@m.gmane.org; Wed, 06 Dec 2017 17:18:52 +0100 Original-Received: from localhost ([::1]:52485 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMMsX-0007vo-Oe for guile-user@m.gmane.org; Tue, 05 Dec 2017 18:43:57 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55514) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMMsA-0007u4-Qf for guile-user@gnu.org; Tue, 05 Dec 2017 18:43:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eMMs7-0004Rp-PD for guile-user@gnu.org; Tue, 05 Dec 2017 18:43:34 -0500 Original-Received: from world.peace.net ([50.252.239.5]:47998) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eMMs7-0004Lu-Lq for guile-user@gnu.org; Tue, 05 Dec 2017 18:43:31 -0500 Original-Received: from pool-72-93-28-64.bstnma.east.verizon.net ([72.93.28.64] helo=jojen) by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1eMMru-0006zr-Tg; Tue, 05 Dec 2017 18:43:19 -0500 In-Reply-To: <20171205195540.49b4218e@capac> (David Pirotte's message of "Tue, 5 Dec 2017 19:55:40 -0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 50.252.239.5 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:14320 Archived-At: David Pirotte writes: > Hi Daniele, > >> > 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 image, >> > see: >> > >> > scheme@(guile-user)> (getcwd) >> > $5 = "/usr/alto/projects/guile-cv/images" >> >> unfortunately that's not the problem, I am in the right directory and >> the image is there. I still get that error. > > This is impossible :), you think you are in the right directory, but you most > likely you are not. David, with all due respect, this last response to Daniele comes off as very dismissive and presumptuous to me. According to Wikipedia, TIFF supports image types other than GRAY, RGB, and RGBA. Baseline TIFF also supports bilevel and palette-color images, and there are extensions that support CMYK, YCbCr, CIE L*a*b* and others. https://en.wikipedia.org/wiki/TIFF#Image_types https://en.wikipedia.org/wiki/TIFF#Image_types_2 The error message "Not a GRAY, RGB nor an RGBA image" would seem to indicate that the image Daniele is attempting to load is not supported by the image loading library, or at least that this is a possibility. Your personal experience might be that this message always indicates "file not found", but perhaps that's because you've never tried to load an unsupported TIFF variant. I find it hard to believe that the software developer who wrote this code would have written "Not a GRAY, RGB nor an RGBA image" if it *always* meant "file not found". Does that make sense? Regards, Mark