LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-02-2015, 12:34 PM   #1
pauledd
LQ Newbie
 
Registered: Jun 2015
Posts: 3

Rep: Reputation: Disabled
terminal drawing geometry application?


Hi there,

I would like to know if a software exists that can do the following from an terminal:
- creating simple images with basic geometry in it
- drawing lines,circles,rectangles,triangles
- create an 250x250p image with an 80p radius circle centered in it
and draw a text at 200x200p

For example something like this image:
Attached Thumbnails
Click image for larger version

Name:	test.png
Views:	29
Size:	22.4 KB
ID:	18839  
 
Old 07-02-2015, 02:53 PM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: One main distro, & some smaller ones casually.
Posts: 5,777

Rep: Reputation: Disabled
I don't think there is anything like that for running in a terminal.

Debian has the largest repos so try looking through them for anything that may be of interest.
https://www.debian.org/distrib/packages
 
Old 07-02-2015, 07:39 PM   #3
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,207

Rep: Reputation: 868Reputation: 868Reputation: 868Reputation: 868Reputation: 868Reputation: 868Reputation: 868
Take a look at imagemagick most diatro have it, it has alot of graphics primitives and is to the command line what gimp is to the desktop, all output can be sent to file in various formats, ping, jpg etc
 
Old 07-02-2015, 08:18 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,674

Rep: Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657
have a look at " G'Mic "( GREYC's Magic for Image Computing )

a command line tool for images ( mostly has REPLACED ImageMagick for me )

it is in some repos on some distros
or
http://gmic.eu/

it also has a Gimp plugin
and is included in Krita

for example this bit of code
Code:
gmic 1000,1,1,2 -f "X=3*(x-500)/500;X^2*sin(3*X^2)+if(c==0,u(0,-1),cos(X*10))" -plot
type into a terminal will produce this
http://imgbox.com/PHn9qa1K

Code:
gmic -m3d 5 -md3d 5 -db3d 0 -isosurface3d "'x^2+y^2+abs(z)^abs(4*cos(x*y*z*3))'",3
this will produce this
http://imgbox.com/3DGK0kf6

Last edited by John VV; 10-03-2015 at 07:16 PM.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting frame buffer geometry to match monitor geometry Skaperen Linux - Desktop 0 03-13-2011 04:27 PM
Application specific desktop geometry jmbutler Linux - Desktop 5 09-01-2010 02:57 PM
curses terminal application CoderMan Programming 3 01-24-2009 05:56 AM
gnome-terminal default geometry dunric Linux - Software 1 11-09-2005 03:02 AM
terminal emulater slow drawing SciYro Linux - Software 0 01-21-2004 11:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration