It is currently Sat Aug 22, 2026 11:31 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Ghost Diagrams through Shellout
PostPosted: Fri Jun 01, 2012 5:34 am  (#1) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16164
I was able to call Ghost through Shellout, and a bat file,
@echo off
echo *** Do Not Close this Window ***
echo Temp File: %1
C:\Python26\python.exe  C:\PYTHON_SHELLOUT\ghost-diagrams-0.8.py %1


and in Shellout
  ["Ghost", "\"C:\\PYTHON_SHELLOUT\\ghost-diagrams.bat\"", "png"],


but Ghost doesn't open images it just creates them so if i send a blank white layer into Ghost and save the image it creates into the temp folder as ShellOutTempFile.png in my
C:\Documents and Settings\UserName\Local Settings\Temp folder and close Ghost i get a blank white layer exported back to Gimp as the top layer.
Shouldn't the ShellOutTempFile.png file get overwritten with the image information created by Ghost?

_________________
Image


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Ghost Diagrams through Shellout
PostPosted: Fri Jun 01, 2012 9:43 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12836
Here's the python plugin that works in GIMP (don't remember who modified it for me to work but again thank them; to find the thread and then the entry I give in to my lazyness. lol). You have to have a defined GIMP layer or it won't run, but that doesn't effect it's final result. You also have to save your result then close ghost, but it will spiel a crash (ignore it; you can run this python script in GIMP multiple times and it doesn't effect GIMP). Worked great in 2.6.x but I've not tested it since I upgraded to 2.8 (nor will I; again, I like the xhtml version better) but for those that want the python plugin, it is attached (so no need for shellout). :)


Attachments:
ghost-diagrams-0.8-gimp.py.7z [9.5 KiB]
Downloaded 226 times

_________________
Lyle

Psalm 109:8

Image
Top
 Post subject: Re: Ghost Diagrams through Shellout
PostPosted: Fri Jun 01, 2012 2:48 pm  (#3) 
Offline
GimpChat Member

Joined: Mar 29, 2011
Posts: 346
Location: Wisconsin
I use both versions of Ghost Diagrams.

The GIMP-python version is nice because it has the cool knotwork lines, but you can only save the image as a png.

Image

I prefer the xhtml version because it creates an svg file that you can then play with. But it doesn't have the cool knotwork lines - it's knotwork is completely different and I rarely even look at it.

Image

Here is a section of a seamless version of the above patterns. I used the svg file to create the shapes, then overlaid the knotwork from the python version. It's a path based pattern, so it's infinitely scalable. :)

Image

_________________
Image


Top
 Post subject: Re: Ghost Diagrams through Shellout
PostPosted: Fri Jun 01, 2012 5:29 pm  (#4) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16164
Thanks Lyle, already had it installed in 2.8 and it does work.I was trying to get it to draw and send back to 2.8.
Back to the drawing board.
I did save the website as a page and use it for svg saving.That works real well offline.

_________________
Image


Top
 Post subject: Re: Ghost Diagrams through Shellout
PostPosted: Sat May 13, 2017 4:53 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2010
Posts: 2253
Location: Retired Moderator Slowly Returning to the Living.
What is the Ghost program?

_________________
Artists aren't crazy! We're eccentric! ~G.M. Ross

Image

My Sigs = My Photos
Check out my work at http://www.flickr.com/photos/photomastergreg.


Top
 Post subject: Re: Ghost Diagrams through Shellout
PostPosted: Sat May 13, 2017 10:28 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12836
Man; you made me look up my thread for 6 years ago, Greg. lololol

viewtopic.php?f=9&t=1280&p=14538&hilit=ghost&sid=44db136613364f3c0abf858df8351897#p14538

Also, you must have 3/4 heimers (since you replied to that thread 6 years ago). ;)

:)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Ghost Diagrams through Shellout
PostPosted: Mon May 15, 2017 1:19 am  (#7) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2010
Posts: 2253
Location: Retired Moderator Slowly Returning to the Living.
Yup Lyle,
I'm lucky to remember my name!

_________________
Artists aren't crazy! We're eccentric! ~G.M. Ross

Image

My Sigs = My Photos
Check out my work at http://www.flickr.com/photos/photomastergreg.


Top
 Post subject: Re: Ghost Diagrams through Shellout
PostPosted: Thu May 18, 2017 3:17 am  (#8) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2010
Posts: 2253
Location: Retired Moderator Slowly Returning to the Living.
Finding this interesting!
Image

_________________
Artists aren't crazy! We're eccentric! ~G.M. Ross

Image

My Sigs = My Photos
Check out my work at http://www.flickr.com/photos/photomastergreg.


Top
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group