[cl-gd-devel] Re: Error in function CREATE-IMAGE-FROM-FILE:

Andrei Stebakov lispercat at gmail.com
Thu Mar 15 05:10:21 UTC 2007


Here I attach the image:

On 3/15/07, Andrei Stebakov <lispercat at gmail.com> wrote:
>
> I got the following error trying to draw text on an image. The test.png is
> a valid file, I can view it in browser. Here is the debug dump (I use CMUCL
> 19b, latest libgd and cl-gd, with-image macro works fine):
>
> Error in function CREATE-IMAGE-FROM-FILE:
>    Could not create image from PNG file "/tmp/dir1/test.png"
>    [Condition of type SIMPLE-ERROR]
>
> Restarts:
>  0: [ABORT] Return to SLIME's top level.
>  1: [ABORT] Return to Top-Level.
>
> Backtrace:
>   0: (CREATE-IMAGE-FROM-FILE "/tmp/dir1/test.png" NIL)
>   1: (CREATE-TEXT-IMAGE-ON-IMAGE #P"/tmp/dir1/test.png"
>                                  "Hello!"
>                                  "arial"
>                                  100
>                                  ...)
>   2: ("DEFSLIMEFUN INTERACTIVE-EVAL")
>
> Thank you,
> Andrew
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cl-gd-devel/attachments/20070315/9ed12078/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.png
Type: image/png
Size: 43042 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/cl-gd-devel/attachments/20070315/9ed12078/attachment.png>


More information about the Cl-gd-devel mailing list