[Iup-users] How to display an image ?
scuri at tecgraf.puc-rio.br
scuri at tecgraf.puc-rio.br
Wed Dec 26 10:58:51 GMT+3 2007
> Hi.
>
> I am using the code below to try to show an image using iup/lua/cd/im.
> Eveything seems ok, but when I execute the code (using iuplua5.1.exe -
> iuplua console) I receive the following error message: "[string "local
> file_name = "lena.jpg"..."]:13: attempt to call method 'cdPutImageRect' (a
> nil value)"
>
> What is wrong ? Could you help me ?
That method was renamed in last IM version and the CD canvas must be
passed in the parameters list. Please check the documentation.
Best,
scuri
More information about the iup-users
mailing list