It is currently Wed Sep 03, 2014 3:00 am


Latest GIMP Scripts & Plug-ins

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 30 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: 8bf sequentially ?
PostPosted: Sat Feb 26, 2011 5:22 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 701
Location: Poland
Many thanks for the tips so far.

Since 8bf i pspi and recorded in the Procedure-Browser and Plugn-Browser
My problem is how to invoke them (how to write a command - for example a) using python plugin or script-fu

ps.for Impressionist - problem solved:
http://registry.gimp.org/node/22324#comment-6562


Attachments:
Plugin and Browwser.png
Plugin and Browwser.png [ 54.42 KiB | Viewed 1821 times ]
Top
 Profile  
 
 Post subject: Re: 8bf sequentially ?
PostPosted: Sat Feb 26, 2011 10:46 pm  (#12) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 11409
Location: "Looking for my eraser" =P
Decided to go ahead and post the directions here - thanks Rob!

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


Top
 Profile  
 
 Post subject: Re: 8bf sequentially ?
PostPosted: Mon Feb 28, 2011 5:02 pm  (#13) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 613
MareroQ wrote:
ps.for Impressionist - problem solved:
http://registry.gimp.org/node/22324#comment-6562


Glad it helped. I had posted that quite a while back.

-Rob A> (aka ffaat)

_________________
Image
Fantasy Cartography and Mapping by RobA


Top
 Profile  
 
 Post subject: Re: 8bf sequentially ?
PostPosted: Mon Feb 28, 2011 5:17 pm  (#14) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 701
Location: Poland
Example in file pspirc: [c:\Documents and Settings\MarQ\.gimp-2.7\pspirc]

<ps-plug-in path="C:\Documents and Settings\MarQ\.gimp-2.7\Plugin_ps_active\50s Here.8bf" timestamp="1298918928">
<entrypoint menu-path="<Image>/Filters/Andrews Filters A/50s Here..." image-types="RGB* " entrypoint="ENTRYPOINT1"/>

<ps-plug-in path="C:\Documents and Settings\MarQ\.gimp-2.7\Plugin_ps_active\A Little Grain.8bf" timestamp="1298918928">
<entrypoint menu-path="<Image>/Filters/Andrews Filters A/A little Grain..." image-types="RGB* " entrypoint="ENTRYPOINT1"/>

<ps-plug-in path="C:\Documents and Settings\MarQ\.gimp-2.7\Plugin_ps_active\halftone.8bf" timestamp="1283117858">
<entrypoint menu-path="<Image>/Filters/Richard Rosenman/Halftone..." image-types="RGB* " entrypoint="ENTRYPOINT00"/>


Edit - rename - add any active filter 8bf:
[Photoshop Plug-in Seqwenser.py]

gimp.pdb.photoshop_plug_in_50s_here_entrypoint1( image, drawable,
run_mode=RUN_WITH_LAST_VALS)
gimp.pdb.photoshop_plug_in_a_little_grain_entrypoint1( image, drawable, run_mode=RUN_WITH_LAST_VALS)
gimp.pdb.photoshop_plug_in_ halftone _entrypoint00( image, drawable, run_mode=RUN_WITH_LAST_VALS)

Who will add a drop-down list of plug-ins for each step ?

ps. Richard Rosenman [http://www.richardrosenman.com/software/downloads/]


Attachments:
Photoshop Plug-in Seqwenser.zip [44.93 KiB]
Downloaded 80 times
Top
 Profile  
 
 Post subject: Re: 8bf sequentially ?
PostPosted: Mon Feb 28, 2011 5:32 pm  (#15) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 701
Location: Poland
Photoshop Plug-in Seqwenser
#!/usr/bin/env python
#-*- coding: utf-8 -*-
# based on the idea "Make shortcut" http://registry.gimp.org/node/24300

def plugin_main(image, drawable):
  gimp.pdb.photoshop_plug_in_50s_here_entrypoint1( image, drawable, run_mode=RUN_WITH_LAST_VALS) 
  gimp.pdb.photoshop_plug_in_a_little_grain_entrypoint1( image, drawable, run_mode=RUN_WITH_LAST_VALS)
  gimp.pdb.photoshop_plug_in_halftone_entrypoint00( image, drawable, run_mode=RUN_WITH_LAST_VALS)

if __name__ == "__main__":
  from gimpfu import *   
 
  register(
    "python-fu-photoshop-plug-in-entrypoint", 
    "Sequential selection of filters",
    "Sequential selection of filters V.0.1...",
    "Bootchk - modified MareroQ",
    "Uncopyrighted",
    "No copyright date",
    "<Image>/Filters/Extensions/Photoshop Plug-in Seqwenser",
    "RGB* ",
    [],
    [],
    plugin_main,
     
    ) 
   
 
  main()


Top
 Profile  
 
 Post subject: Re: 8bf sequentially ?
PostPosted: Tue Mar 01, 2011 12:31 pm  (#16) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 701
Location: Poland
GIMP-plugin-seqwencer ???
There are other options (except 8bf)
Each command display in the window Make shortcut -You can also easily add Plug-in Seqwenser.py
Make shortcut
http://registry.gimp.org/node/24300
Bootchk writes:
…” Even more in the future: let you script a sequence of calls to other plugins and even GIMP menu items. Known as a visual script editor or a macro editor. Would not require knowledge of a programming language…”
Will it happen?
Who can help:
Had to build a gui (with a list of commands to choose from), a dialog box - which in the step and the ability to write (read) to the terminal settings file (robANT ?!!)
it would be something similar to the ATN (in Photoshop).
#!/usr/bin/env python
#-*- coding: utf-8 -*-
# based on the idea "Make shortcut" http://registry.gimp.org/node/24300

def plugin_main(image, drawable):
  gimp.pdb.photoshop_plug_in_50s_here_entrypoint1( image, drawable, run_mode=RUN_WITH_LAST_VALS)  # Step 1
  gimp.pdb.photoshop_plug_in_a_little_grain_entrypoint1( image, drawable, run_mode=RUN_WITH_LAST_VALS)  # Step 2
  gimp.pdb.photoshop_plug_in_halftone_entrypoint00( image, drawable, run_mode=RUN_WITH_LAST_VALS)  # Step 3
  gimp.pdb.script_fu_bw_film( image, drawable, 0, 0, 0, 0, 0, 0, 0, 0, run_mode=RUN_WITH_LAST_VALS)  # Step 4
  gimp.pdb.jp_polaroid( image, drawable, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, run_mode=RUN_WITH_LAST_VALS)  # Step 5
  # Here you can add another gim.pdb ... ... a shortcut ( of plugin-shortcut-to-....) or file pspirc…
 
if __name__ == "__main__":
  from gimpfu import *   
 
  register(
    "python-fu-plug-in-Seqwenser", 
    "Sequential selection of filters",
    "Sequential selection of filters V.0.1...",
    "Bootchk - modified MareroQ",
    "Uncopyrighted",
    "No copyright date",
    "<Image>/Filters/Extensions/Gimp Seqwenser",
    "RGB* ",
    [],
    [],
    plugin_main,
     
    ) 
   
 
  main()


ps. choice of filters does not make sense - just to show the possibilities


Attachments:
Make shortcut.png
Make shortcut.png [ 18.5 KiB | Viewed 1775 times ]
How to come up with action - plugin-seqwenser.png
How to come up with action - plugin-seqwenser.png [ 16.39 KiB | Viewed 1775 times ]
Top
 Profile  
 
 Post subject: Re: 8bf sequentially ?
PostPosted: Tue Mar 01, 2011 3:51 pm  (#17) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5883
i fear will not work because most (if not all) 8bf can't remember the last setting used,and i doubt they could be called in a not iterative mode

But maybe the Gimp Userfilter (aka FF converter) that may run all the F.F filters could be hacked to do it,
(because can also convert the FF script in another language, maybe that language is more flexible and that may allow sequential call...a big maybe but i believe is the only hope

the fact that even Xnview that has a quite advanced batch mode cannot call in batch mode or sequentially 8bf filters lead me to think that will be impossible also for gimp.

It is long time that i did not use the Userfilter , and anyway is not compatible with the most recent plugin but only with the old filter factory ,...on the other hand several of the best modern PS plugin are available also as standalone program so i suppose they may be called (not the 8bf but the standalone version )by variant of the RobA Xnview shell script

_________________
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: 8bf sequentially ?
PostPosted: Tue Mar 01, 2011 4:46 pm  (#18) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 11409
Location: "Looking for my eraser" =P
It's an interesting idea, but i'm afraid PC is probably correct.

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


Top
 Profile  
 
 Post subject: Re: 8bf sequentially ?
PostPosted: Tue Mar 01, 2011 4:50 pm  (#19) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 6461
Photoshop retains the last settings a a PS filter while in the same session, but no other program that I know of that uses PS filters do.

_________________
Lyle

Psalm 109:8

Image


Top
 Profile  
 
 Post subject: Re: 8bf sequentially ?
PostPosted: Tue Mar 01, 2011 4:57 pm  (#20) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 11409
Location: "Looking for my eraser" =P
Try just Gimp scripts for now.
Can you add python filters to the list? :)

I see you have scm's added.

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 30 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Yahoo [Bot] 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