Reputation: 135
I need to save images generated in ucblogo by using commands. I have a lot of logo programs to be executed sequentially and need to store the output logo image for each one as a jpeg file. I am using Ubuntu 16.04.
I have tried using the savepict command at the end of each Logo program. It saves some image but that image has does not open.
Any suggestions?
Upvotes: 1
Views: 144
Reputation: 31
Try using the EPSPICT command in UCBLogo and then use an external converter to convert to JPEG. The external converter could be the CONVERT command from the Imagemagick package
EPSPICT filename
command. Writes a file with the specified name, containing
an Encapsulated Postscript (EPS) representation of the state
of the graphics window. This file can be imported into other
programs that understand EPS format. Restrictions: the
drawing cannot use FILL, PENERASE, or PENREVERSE; any
such instructions will be ignored in the translation to
Postscript form.
Upvotes: 1