It is currently Mon Mar 30, 2015 12:12 pm


Latest GIMP Scripts & Plug-ins

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 273 posts ]  Go to page Previous  1 ... 16, 17, 18, 19, 20, 21, 22 ... 28  Next
Author Message
 Post subject: Re: XNViewShell - and other Programs you can call with Gimp
PostPosted: Tue Apr 05, 2011 4:03 pm  (#181) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 634
lylejk wrote:
I remember Microsoft was working on a product, I believe, called Acryllic that would have been a true raster/vector editor, but believe that project died.


I know a fellow who swears by Xara Extreme (now Xara Designer?): http://www.xara.com/us/products/designer/features/

This seems a true hybrid vector/raster editor.

-Rob A>

_________________
Image
Fantasy Cartography and Mapping by RobA


Top
 Profile  
 
 Post subject: Re: ShellOut.py (was XNViewShell) - Call external programs
PostPosted: Tue Apr 05, 2011 5:26 pm  (#182) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5873
A very interesting vector/raster hybrid is RealDraw...that too the mix even add a touch of 3D
http://www.mediachance.com/realdraw/

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Profile  
 
 Post subject: Re: XNViewShell - and other Programs you can call with Gimp
PostPosted: Wed Apr 06, 2011 4:11 pm  (#183) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 634
Rod wrote:
I believe you have to call the extension from the command line Marero.
["XNView", "\"C:\\Program Files\\XnView\\xnview.exe\"", "bmp"],

or
["XNView", "\"C:\\Program Files\\XnView\\xnview.exe\"", "jpg"],

or
["XNView", "\"C:\\Program Files\\XnView\\xnview.exe\"", "png"],


That is supposed to tell the program Gimp to save the temp file as an certain extension, and open it in that program as that extension i believe.
I did try it this way and it didn't work.


Bringing this back on topic :P This syntax will now work, Rod, for software that will not work with png files.

-Rob A>

_________________
Image
Fantasy Cartography and Mapping by RobA


Top
 Profile  
 
 Post subject: Re: ShellOut.py (was XNViewShell) - Call external programs
PostPosted: Fri Apr 22, 2011 2:47 pm  (#184) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 737
Location: Poland
Versions lower than 0.5 to write the temporary file:
c: \ Documents and Settings \ ~ ~ \. gimp-2.6 \ tmp \

Version 0.5 saves the temporary file to:
c: \ Documents and Settings \ ~ ~ \ Local Settings \ Temp \

What is due? On which it depends?

Maybe the next version of the file selection tmp / Temp? (application without a direct return to the Gimp - for example delienate [http://delineate.sourceforge.net/])

or an indication that piece of code decides this?
from gimpfu import *
import math
   
def pyTmp(image, drawable, visible):
   pdb.gimp_file_save(image, drawable, visible, "")
register(
   "python_fu_temp_png",
   "Temp",
   "Temp",
   "MrQ",
   "",
   "2011",
   "<Image>/File/TEMP(png)",
   "RGB*, GRAY*",
   [
      (PF_STRING, "png_filename", "Filename to export", "C:\\TEMP\\walk.png"),
   ],
   [],
   pyTmp)

main()


A piece of code to write in a specific location work - if it can connect to se ShellOut?


Attachments:
Loc temp.png
Loc temp.png [ 12.75 KiB | Viewed 738 times ]
Top
 Profile  
 
 Post subject: Re: ShellOut.py (was XNViewShell) - Call external programs
PostPosted: Fri Apr 22, 2011 3:45 pm  (#185) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 11953
Location: "Looking for my eraser" =P
This is very interesting Rob because now i can export images from Gimp as SVG to Inkscape. :)
Or any other file to its program in that programs native format. - in theory - Correct?

Marero my temp png file always saves in Local Settings/Temp
Just as i typed this the server went down for update. :lol
O i hope you backed up the database! :)

_________________
Image
____________
OK, . . . . so what's the speed of dark?


Top
 Profile  
 
 Post subject: Re: ShellOut.py (was XNViewShell) - Call external programs
PostPosted: Tue Apr 26, 2011 7:27 pm  (#186) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 634
Rod wrote:
This is very interesting Rob because now i can export images from Gimp as SVG to Inkscape. :)
Or any other file to its program in that programs native format. - in theory - Correct?


Not really, as Gimp has no "save" as SVG.

-Rob A>

_________________
Image
Fantasy Cartography and Mapping by RobA


Top
 Profile  
 
 Post subject: Re: ShellOut.py (was XNViewShell) - Call external programs
PostPosted: Tue Apr 26, 2011 8:05 pm  (#187) 
Offline
GimpChat Member
User avatar

Joined: Apr 18, 2011
Posts: 595
Location: New York
I have used this:
Export as SVG

_________________
Ubuntu 10.04, Kernel i686, 2.6.32-71-generic-pae
python v2.6.5 ----- GIMP - ver 2.6.11-1~webupd8~lucid


Top
 Profile  
 
 Post subject: Re: ShellOut.py (was XNViewShell) - Call external programs
PostPosted: Tue Apr 26, 2011 8:43 pm  (#188) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 634
Fair enough but that doesn't export anything vector (svg) just a bunch of raster images. It is just as effective to send it to inkscape as a PNG.

-Rob A>

_________________
Image
Fantasy Cartography and Mapping by RobA


Top
 Profile  
 
 Post subject: Re: ShellOut.py (was XNViewShell) - Call external programs
PostPosted: Wed Apr 27, 2011 4:22 pm  (#189) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 737
Location: Poland
Old Times - a little grief ... svg-path-export.scm

And the collection ShellOut - Jdraw_v1.1.5.jar
http://jdraw.sourceforge.net/index.php?page=6


Attachments:
svg-path-export_scm.png
svg-path-export_scm.png [ 158.93 KiB | Viewed 694 times ]
JDRAW.png
JDRAW.png [ 102.16 KiB | Viewed 694 times ]
Top
 Profile  
 
 Post subject: Re: ShellOut.py (was XNViewShell) - Call external programs
PostPosted: Tue Feb 07, 2012 12:07 pm  (#190) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 737
Location: Poland
Use from Shellout:
["Menu Label", "command", "ext"]
it change file extension - but not a real format.
You can see in the header - or open it in IrfanView.
Example http://www.gimpchat.com/viewtopic.php?f=22&t=1873&start=20#p46115
Or is it possible to add one more option to Shelout ?

The addition of various:

pdb.file_png_save …
pdb.file_tiff_save2…

and actual choice: bmp, jpg, png, tiff …
(or use the corresponding pdb.file_xyz_save…. according to the given extension).


Attachments:
IrfanView.png
IrfanView.png [ 22.76 KiB | Viewed 502 times ]
Shellout new.png
Shellout new.png [ 15.66 KiB | Viewed 502 times ]
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 273 posts ]  Go to page Previous  1 ... 16, 17, 18, 19, 20, 21, 22 ... 28  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests


Jump to:  

   Similar Topics   Author   Replies   Views   Last post 
No new posts The whole concept of GIMP being able to call other programs ....

in Gimp Discussions

lylejk

5

547

Mon Jul 25, 2011 9:40 am

Gms9810 View the latest post

No new posts Using xnview, Wine and Rob's XNViewShell to open PhotoShop plug-ins

[ Go to page: 1, 2, 3 ]

in Gimp Help

molly

24

1491

Tue Jul 10, 2012 2:17 am

Rod View the latest post

No new posts Attachment(s) shellout

in Gimp Scripts and Plugins

Alonte

8

1058

Thu Jul 21, 2011 6:49 pm

Rod View the latest post

No new posts Attachment(s) Cannot use Shellout

[ Go to page: 1, 2, 3 ]

in Gimp Help

Graechan

20

957

Sun Oct 30, 2011 8:25 pm

Graechan View the latest post

No new posts Attachment(s) Help for ShellOut.py (and relative paths )

[ Go to page: 1, 2, 3 ]

in Gimp Scripts and Plugins

PhotoComix

22

1720

Sun May 22, 2011 9:01 am

PhotoComix View the latest post



* Login  

* Subscribe to Gimp Chat's RSS Feed    * Subscribe to Gimp Chat's Tutorial Feed    * Subscribe to Gimp Chat's G'MIC Feed


Powered by phpBB3 © phpBB Group