Re: [Gimp-developer] Export all

2013-07-20 Thread Akkana Peck
> On 07/20/2013 02:21 PM, Akkana Peck wrote:
> >That is such a good idea that I wanted to dive in right away and
> >write it.

Jason Simanek writes:
> That's fantastic!
> 
> I grabbed the code and tried it but it doesn't seem to do anything
> on Gimp 2.8.4. Then I looked at the code for a minute and realized
> that I do not understand how to write Python for Gimp.
> 
> Wish I could help!

Well, you certainly do need to know how to install a Python plug-in
in order to run it, of course. And you'd need to learn how to hack
Python plug-ins in order to modify it. So maybe this is a great
excuse to learn!

Googling finds several useful howtos and tutorials, e.g.
http://blog.meetthegimp.org/how-to-install-python-plugins-under-gimp/
http://www.exp-media.com/gimp-python-tutorial
http://www.ibm.com/developerworks/library/os-autogimp/

...Akkana
___
gimp-developer-list mailing list
List address:gimp-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list


Re: [Gimp-developer] Export all

2013-07-20 Thread Jason Simanek



On 07/20/2013 02:21 PM, Akkana Peck wrote:

That is such a good idea that I wanted to dive in right away and
write it.


That's fantastic!

I grabbed the code and tried it but it doesn't seem to do anything on 
Gimp 2.8.4. Then I looked at the code for a minute and realized that I 
do not understand how to write Python for Gimp.


Wish I could help!

Jason Simanek
___
gimp-developer-list mailing list
List address:gimp-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list


[Gimp-developer] Export all (was: Gimp Export Properties Not Preserved)

2013-07-20 Thread Akkana Peck
Jason Simanek writes:
> Another Idea! A feature that Photoshop doesn't have (outside of
> creating an Action): an "Export all open files" dialog could be
> pretty great. Allowing you to set – like DBP – the quality
> properties and destination directory all at once to export all open
> files. That would be AWESOME.

That is such a good idea that I wanted to dive in right away and
write it.

But unfortunately I have too many things on my plate right now and I
can't write the whole thing. So instead, I wrote a skeleton for it.
It brings up an ugly dialog showing all the open images with their
filenames and full pathnames, and a toggle button so you can disable
saving/exporting for that particular image. You can also edit the
filename to change the extension -- e.g. if the filename comes up
as foo.xcf, you can change it to .jpg and export it that way.
Any images that are exported will be marked clean (so you don't
get a nag screen when you exit).

Obviously this isn't the nice full-featured plug-in you had in mind,
but it implements the basics so anyone can add to it, and I'm hoping
people will. Make the dialog pretty, add proper file choosers, add
parameters like the jpeg quality, whatever you think it needs! So,
anyone who wants an "Export all" plug-in, please add the features
you want and send patches.

It's on GitHub:
https://github.com/akkana/gimp-plugins/blob/master/export-all.py

...Akkana
___
gimp-developer-list mailing list
List address:gimp-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list