It is currently Fri Apr 19, 2024 12:21 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Save(xcf)+Export (jpg, png) script
PostPosted: Wed Sep 22, 2010 9:29 am  (#1) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
1 click to save the original + a jpg and/or a png copy (with same name in same folder)

Believe me is a time saver, and will help to always save the xcf
Works also with gimp 2.7

Script is from RobA but for some reason you will found only here

http://photocomix-resources.deviantart. ... xport&qo=2

PS
if ,as me ,you replaced the native png plugin with the apng plugin you obviously will get a error exporting as png
I solved by replacing in the script "file-png-save" with file-apng save" and now png option works again

_________________
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


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: Save(xcf)+Export (jpg, png) script
PostPosted: Wed Sep 22, 2010 9:57 am  (#2) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
That is one class act!!! Thanks PhotoComix and RobA. Makes saving as xcf and png/jpg files a one-click operation. :clap :jumpclap

You can find the script here: File > Save-As XCF and Export, and, File > Save XCF and Export

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Save(xcf)+Export (jpg, png) script
PostPosted: Wed Sep 22, 2010 2:26 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2010
Posts: 2253
Location: Retired Moderator Slowly Returning to the Living.
When I get home, I know what I'm downloading!!

_________________
Artists aren't crazy! We're eccentric! ~G.M. Ross

Image

My Sigs = My Photos
Check out my work at http://www.flickr.com/photos/photomastergreg.


Top
 Post subject: Re: Save(xcf)+Export (jpg, png) script
PostPosted: Mon Dec 03, 2012 8:16 am  (#4) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
I think this need a big :bump

Still i see many complains about problems to "save" jpg, png, gif..

and the best solution seems to me so evident , as to solve (save +export) everything with a single operation

------------------------------------------------------------------------

Actually the script only export as png or jpg but is so well commented and written (thank RobA :clap :clap :clap ) that seems very easy to edit to add more format if 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: Save(xcf)+Export (jpg, png) script
PostPosted: Mon Dec 03, 2012 12:29 pm  (#5) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
Brilliant script, thanks for the heads-up :bigthup
In case anyone wants to know, I did a test comparing RIOT exports and the Save(xcf)+Export (jpg, png) script. I found hardly any difference in the export file sizes. One other observation, if for example your using a reference background layer in GIMP and wish to have a transparent background of a PNG hide the reference background layer before you use this script. Using RIOT or Gimp PNG export you always had the option of keeping transparency.

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: Save(xcf)+Export (jpg, png) script
PostPosted: Mon Dec 03, 2012 12:44 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: Aug 30, 2012
Posts: 2174
Thanks for the bump, this will be so handy, so many times have I clicked on the save option to save as a png to be told get lost.

_________________
Image


Top
 Post subject: Re: Save(xcf)+Export (jpg, png) script
PostPosted: Mon Dec 03, 2012 12:54 pm  (#7) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
now remains only 1 risk

Click "Save XCF and Export" instead then "Save AS xcf and Export" and get a error message

basically " Save and export" requires the xcf previously saved and will overwrite it so it is of a more limeted utility ,

Save AS and export instead will always work offering the option to chose name and place to save

I know it is easy make confusion but the 2 script complete each other

_________________
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: Save(xcf)+Export (jpg, png) script
PostPosted: Tue Dec 04, 2012 3:23 am  (#8) 
Offline
GimpChat Member
User avatar

Joined: Dec 22, 2011
Posts: 385
Useful....thank you :)

_________________
Image


Top
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Shortening mouse/keystrokes save/export script or method to implement?

41

No new posts Attachment(s) Batch export all opened images script for GIMP [Update]

13

No new posts Where did GIMP save my file, & how do I change default save location

5

No new posts Attachment(s) export an image

4

No new posts PNG & JPG Export Size

4



* Login  



Powered by phpBB3 © phpBB Group