Message Boards Message Boards

0
|
10284 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:
GROUPS:

Importing images between <msp:evaluate> tags

Posted 9 years ago

Hi everybody,

I have tried to import some images between <msp:evaluate> tags the way it is supposed to be done in Mathematica, but it doesn't work properly. It returns as output $Failed and i don't know the reason. I tried to do it as follows:

       <msp:evaluate>
            Import["C:\\Program Files\\Apache Software Foundation\\Tomcat\\7.0\\webapps\\webMathematica\\Kleinwasserkraft\\Images\\Auswertung\\1.png"]
       </msp:evaluate>

Any ideas what the problem could be?

Thanks for the help

POSTED BY: D H D
Posted 9 years ago

Have you solved the problem in the meantime? I've just tested to import an image on my webMathematica 3.3.1/Linux and it works as expected:

<msp:evaluate>
  g=Import["/opt/tomcat-latest/webapps/webMathematica/test/bugs.gif"];
  MSPShow[g]
</msp:evaluate>

Maybe you have something wrong on your file path string?

POSTED BY: Guido Tripaldi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract