Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

console graphics

by LloydRice (Beadle)
on Feb 14, 2021 at 23:19 UTC ( #11128385=perlquestion: print w/replies, xml ) Need Help??

LloydRice has asked for the wisdom of the Perl Monks concerning the following question:

Can somebody recommend a console graphics package? I do mean graphics, not text, but I don't need the 3D complications of PDL-graphics.

Replies are listed 'Best First'.
Re: console graphics
by kschwab (Vicar) on Feb 15, 2021 at 03:27 UTC
Re: console graphics
by james28909 (Deacon) on Feb 15, 2021 at 04:20 UTC
    There is also WxPerl and Win32::GUI.

      I'll check these out. Thanks.

Re: console graphics
by Discipulus (Abbot) on Feb 15, 2021 at 11:50 UTC
    Hello LoydRice,

    in addition to Tk take a look to Prima too and to my biblitheca

    L*

    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
Re: console graphics
by BillKSmith (Monsignor) on Feb 15, 2021 at 14:57 UTC
    The best solution is to choose one of the GUI frameworks already suggested. Unfortunately, they all have a steep learning curve. Under Windows, you can display almost any file by letting the shell choose the default viewer for the type of file. In your case, (system filename.pdf). I am not sure that this will meet your requirements, but it is so easy that it is worth a try.
    Bill
Re: console graphics
by kcott (Archbishop) on Feb 16, 2021 at 05:33 UTC

    G'day LloydRice,

    You might like to look at the code I posted recently in "Re: Losing my memory".

    That was dealing with another issue, but seems to have all the elements that you are looking for: "writing images"; "in a newly created window"; and Tk::Canvas handles "colored shapes and text" as well as images.

    If you want to display images that are already on your system, take a look at Tk::FileSelect. And, Tk has documentation for all of the basic widgets.

    — Ken

Re: console graphics
by etj (Chaplain) on Apr 18, 2022 at 19:38 UTC
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11128385]
Approved by LanX
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2022-11-30 17:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?