It is currently Fri Sep 18, 2026 6:36 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Macro Recording
PostPosted: Tue Feb 22, 2011 3:59 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2648
Location: Poland
PhotoComix recently wrote (in assessing the Gimp-Sharp):

"...what is relevant is the macro-recorder that allow to create actions on the fly, without need to know any coding.."
[http://www.gimpchat.com/viewtopic.php?f=11&t=405&start=10#p7712]

Probably the first versions of the GIMP was a possibility - Macro Recording - does anyone remember ?
The ability to create new effects, without need to know any coding..would be the next big development.
Thanks http://www.gimpchat.com/viewtopic.php?f=9&t=970&start=0
created new opportunities to create their own small scripts (I think about Photp Filter Factory and Photo Pos Pro)
Any new ideas ?


Attachments:
Photo Pos Pro.png
Photo Pos Pro.png [ 249.73 KiB | Viewed 11405 times ]
Photp Filter Factory.png
Photp Filter Factory.png [ 829.07 KiB | Viewed 11405 times ]

_________________
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: Macro Recording
PostPosted: Tue Feb 22, 2011 5:40 pm  (#2) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
I recently stumble upon something in gimp that maybe could be a key:
already gimp may record the type of filter used and the setting used when running a filter

i am sure because gmic use it for give new names to edited layers, so seems just question to output that data instead to a macro recorder

I quoted gmic but David told me that he didn't created that option is just something that gimp may do so may be used by all plugin

for record a basic action the sequence of filter used and their setting seems more then sufficent

not sure for more complex (as example the original layer is first duplicated several times and the different layers are edited differently and then merged )
note... i don't know how to get that data i only know that if they may become layer names they may also be saved and used for a macro

then no idea of the limit of what may be registered, apparently no much limit for filters but maybe there are limit to record what done by other tools or by .operations as create ,duplicate, scale ,resize layers.


Basically there is no a gimp macrorecorder only because nobody is working to a similar project.
I can't say will be easy since i would be no able to do it, but for sure seems possible.

but i am tempted to say that just record (and so be able to replay on different images) combination of filters seems not too hard...well not too hard for a developer sure to hard for me!

_________________
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
 Post subject: Re: Macro Recording
PostPosted: Tue Feb 22, 2011 6:53 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Oct 06, 2010
Posts: 4050
I guess what this means is, might as well start learning to use script-fu.

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Macro Recording
PostPosted: Tue Feb 22, 2011 6:54 pm  (#4) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
The trouble with macro recording is that it requires a very fixed set of starting conditions (placement of layers, size of pictures...) and as soon as you try to add some intelligence in your macro you have entered the realm of programming. This also makes macros much less useful to share than scripts.

Of course there could be the middle ground of a scripting language tailored for beginners, but people would outgrow it very fast. And programming isn't only writing code (otherwise plenty of people are programming using spreadsheet software), it is also trying to go a bit farther to anticipate needs and by the time you can program the actual language you use is a rather secondary matter.

_________________
Image


Top
 Post subject: Re: Macro Recording
PostPosted: Tue Feb 22, 2011 7:14 pm  (#5) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
ofnuts wrote:
The trouble with macro recording is that it requires a very fixed set of starting conditions (placement of layers, size of pictures...) ...


yes that we may simplify:

first most simple we may focus on what most simple but also most often required:
sequencial actions on the same single layer
(as example denoise ,sharpen,automatic level , add a invisible watermark, add a frame with a label)
be able to record/replay that will be handy

_________________
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
 Post subject: Re: Macro Recording
PostPosted: Wed Feb 23, 2011 3:56 am  (#6) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16173
Filter Micro calls recent filters and re runs them, that's a start.
What about a way to capture history into a runnable script?

_________________
Image


Top
 Post subject: Re: Macro Recording
PostPosted: Tue Mar 01, 2011 1:16 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2648
Location: Poland
Because the topics are similar, any suggestions, please
http://www.gimpchat.com/viewtopic.php?f=8&t=1204&start=10#p14047

_________________
Image


Top
 Post subject: Re: Macro Recording
PostPosted: Wed Mar 02, 2011 5:00 am  (#8) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
According to the recently published development roadmap for Gimp:
http://gimp-wiki.who.ee/index.php/GIMP_Roadmap
Script recording and playback is targeted for Gimp 3.6, which given the current pace of development will be released in the 22nd century.

_________________
Kevin


Top
 Post subject: Re: Macro Recording
PostPosted: Wed Mar 02, 2011 5:32 am  (#9) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16173
paynekj wrote:
According to the recently published development roadmap for Gimp:
http://gimp-wiki.who.ee/index.php/GIMP_Roadmap
Script recording and playback is targeted for Gimp 3.6, which given the current pace of development will be released in the 22nd century.


:lol :rofl

_________________
Image


Top
 Post subject: Re: Macro Recording
PostPosted: Wed Mar 02, 2011 6:06 am  (#10) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
would be so simple just require set as standard for plugin what gmic does (and not for some magic of its developer that is not a gmic but a gimp feature..only problem is that is seldom used)...output somewhere the same type of data you helped me to recover from
the layers of xcf edited with gmic

the basic things a macro recorder need is know wich function(s) were used in which order and with which values..
If that info appear on the console when running gimp in verbose may also be redirected and saved on a file...and used to create macro

Gimp MAY do that already is needed only the passage from "gimp MAY DO" to "gimp DOES", that don't mean change gimp innard but only add as condition to the plugin requirements.
what now is a option (the possibility of a verbose output)
then as you saw in your last scripts the way to transform that output in a command that can be reused is not so hard,(not to undervalue your work but you was alone was not required a long collective work for that...

i believe is more question of lateral thinking then of coding...i am not a coder but a artist so i know well how use lateral thinking

that why i like collaborate with developers:
coding lead to deve lop more the part of the brain connected with "square thinking" that make easier to code but harder see unusual solution, while i often may see solutions but i miss the skill to implement them as a code

_________________
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
 Post subject: Re: Macro Recording
PostPosted: Wed Mar 02, 2011 1:04 pm  (#11) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16173
Same here PC, i know what i want to do but putting it all together into a runnable useful program is quite another thing.I love to build and design websites, work with flash, and create things.But when it comes to helping to code my mind wanders off to distant galaxies and ............ ............ oh sorry where were we?

_________________
Image


Top
 Post subject: Re: Macro Recording
PostPosted: Fri Mar 04, 2011 12:44 pm  (#12) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2648
Location: Poland
I recently found yet another program where you can save the settings

Photivo
http://photivo.org/photivo/download_and_setup/gimp

Mickey so wrote [http://forum.meetthegimp.org/index.php?PHPSESSID=dn3cjap71qkvg62bskdcpc5j62&topic=1219.0]:

...finally it is possible to export from Gimp to Photivo (and back again). So you could use Photivo as filter engine inside Gimp...

..It is now possible to save just a few settings to a file and share it as filter with others... [*.pts]

Do you have any interesting settings?


Attachments:
Photivo.png
Photivo.png [ 792.55 KiB | Viewed 2948 times ]

_________________
Image
Top
 Post subject: Re: Macro Recording
PostPosted: Sat Mar 05, 2011 6:48 am  (#13) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16173
For some unknown reason i can not get this to run on my machine.
I downloaded and installed the python file
I downloaded and installed the setup file
I downloaded and installed the plug-in
I opened Photivo and setup Gimps exe file location
Still no listing in the menu - just my good ole trusty MM-Filters/Lab Curves link. :)

I can't even get Robs script to call this one - odd - maybe cause it doesn't support layers

Any suggestions?

_________________
Image


Top
 Post subject: Re: Macro Recording
PostPosted: Sat Mar 05, 2011 7:56 am  (#14) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2648
Location: Poland
For action is still needed mm extern photivo.py
http://code.google.com/p/photivo/source/browse/mm+extern+photivo.py

For Linux - Ubuntu 10.10 I had the same error.
I had to use mm extern photivo.py Version: 2011.01.02 Initial version
http://code.google.com/p/photivo/source/browse/mm+extern+photivo.py?r=4cc281863282124172eb5f5c2ea8d6f1b14f2cfd

_________________
Image


Top
 Post subject: Re: Macro Recording
PostPosted: Sat Mar 05, 2011 9:52 am  (#15) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
I was without a decent connection for long trying now to follow the progress till here that seems stunning, i was pessimistic on the possibile resultsand now i am really happy to see i was wrong.

trying now to set up somerthing simular on my computer

_________________
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
 Post subject: Re: Macro Recording
PostPosted: Sat Mar 05, 2011 11:06 pm  (#16) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
i saw only now that the dev were collecting project for the SOC, i fear is too late to suggest something more
(also because suggestions have much more chances if done by somebody that may help with the code..)

a pity anyway nobody proposed a Macro recorder ,nobody even requested

_________________
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
 Post subject: Re: Macro Recording
PostPosted: Sun Mar 06, 2011 12:56 pm  (#17) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16173
Quote:
For action is still needed mm extern photivo.py
http://code.google.com/p/photivo/source ... photivo.py


Yes that is the python file i installed but i still do not see it listed in the menu.I wonder if the Lab Curves menu entry is the problem.Maybe they are both trying to call the filters to the same entry in the menu.

_________________
Image


Top
 Post subject: Re: Macro Recording
PostPosted: Sun Mar 06, 2011 1:20 pm  (#18) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
changing the menu path helps ?
Or both have same "filter" name ?

_________________
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
 Post subject: Re: Macro Recording
PostPosted: Sun Mar 06, 2011 1:52 pm  (#19) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16173
That's exactly what i was thinking.
I think ill just run Photivo as a stand alone as it works fantastic that way anyhow. :)

Thanks for your help guys.

_________________
Image


Top
 Post subject: Re: Macro Recording
PostPosted: Fri May 06, 2011 3:43 pm  (#20) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2648
Location: Poland
One alternative to GIMP is - KRITA (younger children ?) - but as it turns out has already Macro Recording!
Since RobA has created ShellOut - we can use it.


Attachments:
Krita.png
Krita.png [ 187.08 KiB | Viewed 2853 times ]

_________________
Image
Top
Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group