Post Reply 
Python: How do I save a graphic?
10-06-2021, 11:01 PM
Post: #2
RE: Python: How do I save a graphic?
(10-06-2021 10:50 PM)Guenter Schink Wrote:  In my App Mandelbrot Explorer I tried to save a picture in graphic G1 by:

name="tst.jpg"
hpprime.eval("MandelExpl.AFiles(name):=G1")

this line is executed without any error, but there is no graphic stored. When I terminate the App, I still can save this picture from the command line by AFiles(name):=G1. And then it shows up in the connectivity kit as a file at the right place.

Does someone have a clue?

G√ľnter

Have you tried:

name="tst.jpg"
hpprime.eval("MandelExpl.AFiles(" & name & "):=G1")

or

hpprime.eval("MandelExpl.AFiles(tst.jpg):=G1")

?

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Python: How do I save a graphic? - toml_12953 - 10-06-2021 11:01 PM



User(s) browsing this thread: 1 Guest(s)