From: David Pirotte <david@altosw.be>
To: guile-user@gnu.org
Subject: Re: Guile-CV: Not a GRAY, RGB nor an RGBA image "sand.tif"
Date: Tue, 5 Dec 2017 17:54:03 -0200 [thread overview]
Message-ID: <20171205175403.3a2e8f71@capac> (raw)
In-Reply-To: <CAFmhb5Ff21Ng18Y0Yo+6JR089dQfmp1ywSvf6Jwp-yazQkoh7g@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 901 bytes --]
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 image, see:
scheme@(guile-user)> (getcwd)
$5 = "/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 = (512 512 1 (#f32(125.0 128.0 124.0 118.0 108.0 95.0 90.0 80.0 75.0 76.0 # …)))
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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2017-12-05 19:54 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-05 15:30 Guile-CV: Not a GRAY, RGB nor an RGBA image "sand.tif" Daniele
2017-12-05 19:54 ` David Pirotte [this message]
2017-12-05 21:04 ` Daniele
2017-12-05 21:55 ` David Pirotte
2017-12-05 23:42 ` Mark H Weaver
2017-12-06 2:23 ` David Pirotte
2017-12-06 3:34 ` Mark H Weaver
2017-12-06 8:47 ` tomas
2017-12-06 7:12 ` Daniele
[not found] ` <CAFmhb5GxuLK2k+2z_JzSPBx3dV7wVP=wG55HFXFdHsKCp96YKQ@mail.gmail.com>
2017-12-06 14:47 ` David Pirotte
2017-12-06 15:20 ` Daniele
2017-12-06 18:43 ` David Pirotte
2017-12-06 20:27 ` Daniele
2017-12-06 23:49 ` David Pirotte
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171205175403.3a2e8f71@capac \
--to=david@altosw.be \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).