guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Guile-CV: Not a GRAY, RGB nor an RGBA image "sand.tif"


From: David Pirotte
Subject: Re: Guile-CV: Not a GRAY, RGB nor an RGBA image "sand.tif"
Date: Tue, 5 Dec 2017 17:54:03 -0200

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: pgpemkOm6nA1z.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]