It is currently Tue Jul 29, 2014 12:36 am


Latest GIMP Scripts & Plug-ins

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 274 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: 609
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: 5883
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: 609
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

Joined: Jan 13, 2011
Posts: 687
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 659 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: 11316
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: 609
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: 596
Location: New York
I have used this:
Export as SVG

_________________
Ubuntu 10.04, Kernel i686, 2.6.32-57-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: 609
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

Joined: Jan 13, 2011
Posts: 687
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 615 times ]
JDRAW.png
JDRAW.png [ 102.16 KiB | Viewed 615 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

Joined: Jan 13, 2011
Posts: 687
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 423 times ]
Shellout new.png
Shellout new.png [ 15.66 KiB | Viewed 423 times ]
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 274 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: Graechan, Wallace and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

* 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