It is currently Mon Apr 15, 2024 7:39 am


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: sg-snapshot
PostPosted: Wed Feb 11, 2015 8:38 am  (#1) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
I just download Saulgoodes snapshot again and it shows that it is in my gimp, but I can't find it under Script-fu, or under File or File Create. Below is where it shows I do have it installed.
Image

_________________
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: sg-snapshot
PostPosted: Wed Feb 11, 2015 8:43 am  (#2) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
In Gimp, File > Snapshot (at the bottom)

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


Top
 Post subject: Re: sg-snapshot
PostPosted: Wed Feb 11, 2015 9:11 am  (#3) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Thanks I see it now that I have an image, I click it and if it works I don't know what happened to it cuz I can't find it.

_________________
Image


Top
 Post subject: Re: sg-snapshot
PostPosted: Wed Feb 11, 2015 9:22 am  (#4) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
The ones I made ended up on my desktop with the same name as the image I did a snapshot of but with a number by it.

It's my understanding that if you save your original image to a folder, all the snapshots will go into the folder. Haven't tried it out.

I gave it a try and it does.
Image

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


Top
 Post subject: Re: sg-snapshot
PostPosted: Wed Feb 11, 2015 9:36 am  (#5) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
mine didn't go to the desktop, There are no numbered files there and no dialogue comes up asking where you want to save. When I click snapshot, it just flashes then doesn't show up anywhere. I saw where Graechan posted about making folders but maybe that was another script, unless mine is outdated Mine says Aug 2011 on it

Edit: I just found them in my Molly folder. Now if I could just get a dialogue that allows me to save them to a folder in case I would want them for a tute or something.

_________________
Image


Top
 Post subject: Re: sg-snapshot
PostPosted: Wed Feb 11, 2015 10:08 am  (#6) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
What you do is save your original image to a new folder you make for it. When you make a change you want to save, click Snapshot and it will save the image to the new folder you put the image in.

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


Top
 Post subject: Re: sg-snapshot
PostPosted: Wed Feb 11, 2015 10:49 am  (#7) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
ok thanks, I will try that

_________________
Image


Top
 Post subject: Re: sg-snapshot
PostPosted: Wed Feb 11, 2015 11:14 am  (#8) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
That worked, so if I want to take several snapshots do I have to save it as an XCF in all of them when they are going to the same folder?
Image

_________________
Image


Top
 Post subject: Re: sg-snapshot
PostPosted: Wed Feb 11, 2015 11:19 am  (#9) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
You don't have to save it as an xcf. I saved mine as the original png in mine. (See the image I posted.)

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


Top
 Post subject: Re: sg-snapshot
PostPosted: Wed Feb 11, 2015 11:33 am  (#10) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
I tried that and the folder was empty so then I saved it as an xcf. i will try it again.

EDIT: I did it again and it worked.
What I really want to know is suppose I am making a tutorial for instance. I want to do a screen shot of all my images throughout the tute.
Is it possible to save them all in the same folder, or will I have to make a folder for every one?

_________________
Image


Top
 Post subject: Re: sg-snapshot
PostPosted: Wed Feb 11, 2015 12:27 pm  (#11) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
If they are all saved (exported) to the same folder, the snapshots will end up in the same folder.

Image

Hmmm, wonder how the number of the image is decided.

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


Top
 Post subject: Re: sg-snapshot
PostPosted: Wed Feb 11, 2015 12:52 pm  (#12) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Yes but it doesn't ask you what folder you want the rest of them to save to. The only reason why my first one went into that folder is because I made a folder for that one. If I use other images, how do they know to go to that particular folder, it should have a dialogue with it asking where you want them saved.
I think I will stick to the "Take Screenshot" that comes with Fedora for now.

_________________
Image


Top
 Post subject: Re: sg-snapshot
PostPosted: Wed Feb 11, 2015 12:54 pm  (#13) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
If you save the new image to the folder the one is in, Snapshot will put them in it.

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


Top
 Post subject: Re: sg-snapshot
PostPosted: Wed Feb 11, 2015 1:03 pm  (#14) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
How can you do that if a dialogue doesn't come up asking you where you want the new ones saved.
I click the snapshot and it is now saving on the desktop but I didn't tell it to. That isn't too bad, then I can drag them all into a folder of my choice, I still think the script should come with a dialogue. Graechan posted one with a dialogue with the options in it but I don't know where he got it unless he just made it and hadn't posted it yet.
This is the post I was looking for.
viewtopic.php?p=162066#p162066

_________________
Image


Top
 Post subject: Re: sg-snapshot
PostPosted: Wed Feb 11, 2015 1:16 pm  (#15) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Snapshot saves to the place from which you opened your original image and saves the new one there.

Make a folder, say, on your desktop and give it a name. Put a couple images in that folder (before opening them in Gimp).

In Gimp, File > Open, browse to the new folder where you saved your images. Open one of them. Do something to the image (or not) and File > Snapshot. It will save in the folder you opened the image from.

Snapshot remembers the location from where you opened the image.

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


Top
 Post subject: Re: sg-snapshot
PostPosted: Wed Feb 11, 2015 1:21 pm  (#16) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
I believe saulgoode's original idea was a quick way to save snapshots, of changing states of an image, for animation. That is why snapshots of the original image are saved to it's location. I like the way it is now; to add a dialog and options would defeat the purpose of the seamless way it works. If, for instance, snapshots are needed of image states for a tutorial it's easy to setup a folder with saved image(s) for that purpose.

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


Top
 Post subject: Re: sg-snapshot
PostPosted: Wed Feb 11, 2015 1:26 pm  (#17) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
I guess I will stick to the Fedora default "Take Screen Shot" and save it where I want it to go.
Much easier

_________________
Image


Top
 Post subject: Re: sg-snapshot
PostPosted: Wed Feb 11, 2015 3:31 pm  (#18) 
Offline
Script Coder
User avatar

Joined: Dec 27, 2014
Posts: 508
This is the blurb on sg-snapshot:
http://chiselapp.com/user/saulgoode/rep ... g-snapshot

Oregonian wrote:
Hmmm, wonder how the number of the image is decided.
Saul Goode's guide says:
"The time stamp is derived from the number of seconds since 1970, but rolls over every 24 hours. "

molly wrote:
Yes but it doesn't ask you what folder you want the rest of them to save to. The only reason why my first one went into that folder is because I made a folder for that one. If I use other images, how do they know to go to that particular folder, it should have a dialogue with it asking where you want them saved.
Saul Goode's guide says:
"The PNG file has a timestamp appended to its name and is saved in the same directory whence the original image came."
"If the original image has not yet been saved to a file then the snapshot will be placed in the GIMP startup directory with the basename of "Untitled" (e.g., "/home/saul/Untitled-29856.png"). "


Top
 Post subject: Re: sg-snapshot
PostPosted: Wed Feb 11, 2015 4:15 pm  (#19) 
Online
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4734
molly wrote:
I guess I will stick to the Fedora default "Take Screen Shot" and save it where I want it to go.
Much easier


sg-snapshot is not meant to replace regular screenshots... (such as Gimp's own File>Create>Screenshot)

_________________
Image


Top
 Post subject: Re: sg-snapshot
PostPosted: Wed Feb 11, 2015 5:55 pm  (#20) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
molly wrote:
mine didn't go to the desktop, There are no numbered files there and no dialogue comes up asking where you want to save. When I click snapshot, it just flashes then doesn't show up anywhere. I saw where Graechan posted about making folders but maybe that was another script, unless mine is outdated Mine says Aug 2011 on it

Edit: I just found them in my Molly folder. Now if I could just get a dialogue that allows me to save them to a folder in case I would want them for a tute or something.

Perhaps a little explanation is in order.

Firstly, the script was written back before the Save command was split into Save and Export. Back then, saving an image to a PNG file required three separate dialogs: 1) whether to save just the active layer or save the composited result of all layers, 2) the name of the file, 3) the quality and other PNG options. The way Exporting is currently handled by GIMP simplifies this process somewhat and the script is not quite as beneficial as it was when written (though the timestamp filenaming is still nice).

Secondly, as stated by others, the script saves the time-stamped files back to the same directory from which the original image was loaded. However, images might be created by means other than loading a file from a directory; e.g., "File->New", screenshots or scans, or any of the "File->Create" logos and buttons. For these "non-file" images I decided the script should save the timestamped files to GIMP's default save directory. The default save directory is specified as a property of the desktop shortcut icon for the GIMP program (right-click on the GIMP icon on your desktop, choose Properties, and you should see a setting such "Starts In:").

I had considered adding a separate command that would present a dialog allowing you to select a directory and specify a name, however, it would still be necessary to have the no-dialog version; one of the main points of script was to simplify saving those timestamped snapshots. Thus, I would need both menu commands. Having two commands to perform one task seemed overkill, especially since the setting of the output directory and filename can readily be accomplished by performing a "File->Save" and creating a file in the target directory, though admittedly without actually needing to save the file.

So the script does have a command that provides a dialog that allows you to save the files to a particular folder -- the command is "File->Save" (or "File->Export"). Though it is not part of the script, it can be considered part of the process of using the script. Any script I would write to accomplish saving files to a particular folder would just end up doing the same thing as "File->Save".

I realize it would probably be preferable if the timestamped snapshot files were all placed in a subdirectory of the the folder containing the original file, but Script-fu did not have the ability to create folders at the time (it still doesn't, but hopefully such will be available in 2.10).

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


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