Hey Jon,

Does 'file' indicate the correct file type and format?
Note that you need to 'steal' the spool file if you intend to use it;
otherwise Wt will delete it afterwards, perhaps this is the problem
you're facing now?

Regards,
koen

2013/6/10 Jon Haitz Legarreta <jhlegarr...@vicomtech.org>:
> Yes, thanks for the tip, I had already read it in an older forum post.
>
> Unfortunately, it is a PNG image :-S
>
> JON HAITZ
>
>
>
>
> On 10 June 2013 16:34, Koen Deforche <k...@emweb.be> wrote:
>>
>> Hey,
>>
>> 2013/6/10 Jon Haitz Legarreta <jhlegarr...@vicomtech.org>
>>>
>>> Hello again,
>>> well, I have digged into the WPainter class, and the class is unable to
>>> retrieve the image size: size.x() and size.y() are 0, so the exception in
>>> line 134 is thrown.
>>>
>>> Now the value of the fileName  argument is
>>> fileName = "C:\Users\JHLEGA~1\AppData\Local\Temp\wt-5826.tmp"
>>>
>>> which is the spoolFileName given by WFileUpload's corresponding method.
>>
>>
>> Only png and gif images are currently supported for this constructor;
>> perhaps it's none of those?
>>
>> Regards,
>> koen
>>
>>
>>
>> ------------------------------------------------------------------------------
>> How ServiceNow helps IT people transform IT departments:
>> 1. A cloud service to automate IT design, transition and operations
>> 2. Dashboards that offer high-level views of enterprise services
>> 3. A single system of record for all IT processes
>> http://p.sf.net/sfu/servicenow-d2d-j
>> _______________________________________________
>> witty-interest mailing list
>> witty-interest@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/witty-interest
>>
>
>
> ------------------------------------------------------------------------------
> How ServiceNow helps IT people transform IT departments:
> 1. A cloud service to automate IT design, transition and operations
> 2. Dashboards that offer high-level views of enterprise services
> 3. A single system of record for all IT processes
> http://p.sf.net/sfu/servicenow-d2d-j
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to