Re: [Gimp-developer] Feature request, include filename with curves autosave
On Thu, Oct 9, 2008 at 5:47 PM, David Gowers [EMAIL PROTECTED] wrote: Hi, On Fri, Oct 10, 2008 at 5:17 AM, Kent Tenney [EMAIL PROTECTED] wrote: Howdy, I wish the gimp-curves-tool.settings file, which contains sections starting with: (GimpCurvesConfig 2008-10-03 14:34:26 (time 1223062466) (channel value) (curve ... also listed the name of the file (or 'unnamed') This is the name of the file: '' I guess I'm unclear, an example; I open a photo file in gimp DSCN001.jpg I adjust curves on that file. The description of the adjustment is written to gimp-curves-settings. I would like to see the following in gimp-curves-settings (GimpCurvesConfig 2008-10-03 14:34:26 (time 1223062466) (file DSCN001.jpg) (channel value) (curve ... If this is possible, it would allow me to match the required adjustment with the image file. I could then write scripts which applied this correction. Does that make sense? Thanks, Kent ie. no file (the only completely-accurate preservation of the curve is in the gimp-curves-tool.settings file, and unless you've explicitly exported it, no other file will contain data on that curve.) Or were you asking for a list of filenames that this curve has been exported as? fully qualified would be great, bare would be fine. Thanks, Kent HTH, David -- Everything has reasons. Nothing has justification. Ĉio havas kialojn; Neniaĵo havas pravigeron. ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
[Gimp-developer] Feature request, include filename with curves autosave
Howdy, I wish the gimp-curves-tool.settings file, which contains sections starting with: (GimpCurvesConfig 2008-10-03 14:34:26 (time 1223062466) (channel value) (curve ... also listed the name of the file (or 'unnamed') fully qualified would be great, bare would be fine. Thanks, Kent ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Automatically save curves file
On Fri, Oct 3, 2008 at 7:01 PM, [EMAIL PROTECTED] wrote: Quoting Kent Tenney [EMAIL PROTECTED]: will there be provisions to apply a saved curve to an image without the gui? If you have the GIMP Animation Package installed, you will find a plug-in named 'plug-in-wr-curves' which permits application of a curves file. I don't have GAP installed. I've installed Gimp 2.6 on Ubuntu 8.04 using .deb's from http://www.getdeb.net/app/Gimp will apt-get install gimp-gap do what I want? or is there more to it? (I don't want to try and see for fear of breaking things) Thanks, Kent plug-in-wr-curves GIMP Plug-in Image/Video/Layer/Colors/ Wrapper for GIMP Curves Tool call based on Curves file Parameters run-mode INT32 Interactive, non-interactive image IMAGE Input image drawable DRAWABLE Input drawable (must be a layer) filename STRING Name of a GIMP curves file (saved by the Curves Tool) Return Values the-drawable DRAWABLE the processed layer Additional Information This Plugin loads a # GIMP Curves File, that was saved by the GIMP 2.0pre1 Curves Tool then calculates the curves (256 points foreach channel val,r,g,b,a) and calls the Curve Tool via PDB interface with the calculated curve points It also stores the points, and offers a GIMP_RUN_WITH_LAST_VALUES Interface and an Iterator Procedure for animated calls of the Curves Tool with varying values. Author: Wolfgang Hofer ([EMAIL PROTECTED]) Date: 2.4.1; 2008/01/30 Copyright: Wolfgang Hofer ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Automatically save curves file
On Fri, Oct 3, 2008 at 7:01 PM, [EMAIL PROTECTED] wrote: Quoting Kent Tenney [EMAIL PROTECTED]: will there be provisions to apply a saved curve to an image without the gui? If you have the GIMP Animation Package installed, you will find a plug-in named 'plug-in-wr-curves' which permits application of a curves file. plug-in-wr-curves GIMP Plug-in Image/Video/Layer/Colors/ Wrapper for GIMP Curves Tool call based on Curves file Parameters run-mode INT32 Interactive, non-interactive image IMAGE Input image drawable DRAWABLE Input drawable (must be a layer) filename STRING Name of a GIMP curves file (saved by the Curves Tool) Return Values the-drawable DRAWABLE the processed layer Additional Information This Plugin loads a # GIMP Curves File, that was saved by the GIMP 2.0pre1 Curves Tool Darn, it seems this won't help, the format of the Gimp 2.6 autosaved curves file must be different than the one this plugin was written against. Very cool stuff in GAP though. Thanks, Kent then calculates the curves (256 points foreach channel val,r,g,b,a) and calls the Curve Tool via PDB interface with the calculated curve points It also stores the points, and offers a GIMP_RUN_WITH_LAST_VALUES Interface and an Iterator Procedure for animated calls of the Curves Tool with varying values. Author: Wolfgang Hofer ([EMAIL PROTECTED]) Date: 2.4.1; 2008/01/30 Copyright: Wolfgang Hofer ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Automatically save curves file
On Sat, Oct 4, 2008 at 6:15 PM, David Gowers [EMAIL PROTECTED] wrote: On Sun, Oct 5, 2008 at 1:20 AM, Kent Tenney [EMAIL PROTECTED] wrote: On Fri, Oct 3, 2008 at 7:01 PM, [EMAIL PROTECTED] wrote: Quoting Kent Tenney [EMAIL PROTECTED]: will there be provisions to apply a saved curve to an image without the gui? If you have the GIMP Animation Package installed, you will find a plug-in named 'plug-in-wr-curves' which permits application of a curves file. plug-in-wr-curves GIMP Plug-in Image/Video/Layer/Colors/ Wrapper for GIMP Curves Tool call based on Curves file Parameters run-mode INT32 Interactive, non-interactive image IMAGE Input image drawable DRAWABLE Input drawable (must be a layer) filename STRING Name of a GIMP curves file (saved by the Curves Tool) Return Values the-drawable DRAWABLE the processed layer Additional Information This Plugin loads a # GIMP Curves File, that was saved by the GIMP 2.0pre1 Curves Tool Darn, it seems this won't help, the format of the Gimp 2.6 autosaved curves file must be different than the one this plugin was written against. Yes, it certainly is. However, you can export curves in the same format as earlier GIMP versions, then you can easily apply them with wr_curves. Ok, I see that 2.6 still provides for saving to a file, and that file is the old format, however my interest is in automating the process, and it seems that that is offered only in the new format. I'll start associating the automatic version with files and trust that the capability will appear to apply those curves to the files with a script. Thanks, Kent HTH, David -- Everything has reasons. Nothing has justification. Ĉio havas kialojn; Neniaĵo havas pravigeron. ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Automatically save curves file
On Thu, Oct 2, 2008 at 5:43 PM, Joao S. O. Bueno [EMAIL PROTECTED] wrote: On Thursday 02 October 2008, Kent Tenney wrote: Howdy, I ask this every couple years, the release of 2.6 seems like a time to have another go. In my digital camera file prep workflow, the only step which I can't script is the color tweaking. Each file needs the curves adjusted manually. I want the curves file automatically saved for each file I prepare, creating files something like: curves/autogen/dscn.jpg.crv Then I could script the making of a new version of that image, applying those curves to the original. I can then script the required resampling, format conversion or whatever else the latest requirement is. Since I'm lazy I don't want to go through the clicking and typing required to do this manually. Just curious, is it any easier for a Python programmer to do this in 2.6 than in 2.4? Not yet - unfortunatelly. Save for the documentation - Lars began working on the python docs. for the GSOC and we should complete it over the forecoming weeks - then at least you will have documentation. But also as part of this project we plan to change - for the easier - a lot otf things in doing python plug-ins for gimp 2.8. As for the curves: they are now auto-saved when applied, Really? WooFreakinHoo! but with a time stamp, instead of filename. You will jwut have to fetch teh saved file and agregate it to your image somehow. Right, no problem. Thanks Very Much, Kent That said, mail me any specific need you have towards saving curves and and applied saved curves files form python scripts - it is likely we could have some utility fucntions to do this in the next version. js -- Thanks, Kent ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Automatically save curves file
On Thu, Oct 2, 2008 at 5:43 PM, Joao S. O. Bueno [EMAIL PROTECTED] wrote: On Thursday 02 October 2008, Kent Tenney wrote: Howdy, I ask this every couple years, the release of 2.6 seems like a time to have another go. In my digital camera file prep workflow, the only step which I can't script is the color tweaking. Each file needs the curves adjusted manually. I want the curves file automatically saved for each file I prepare, creating files something like: curves/autogen/dscn.jpg.crv Then I could script the making of a new version of that image, applying those curves to the original. I can then script the required resampling, format conversion or whatever else the latest requirement is. Since I'm lazy I don't want to go through the clicking and typing required to do this manually. Just curious, is it any easier for a Python programmer to do this in 2.6 than in 2.4? Not yet - unfortunatelly. Save for the documentation - Lars began working on the python docs. for the GSOC and we should complete it over the forecoming weeks - then at least you will have documentation. But also as part of this project we plan to change - for the easier - a lot otf things in doing python plug-ins for gimp 2.8. As for the curves: they are now auto-saved when applied, but with a time stamp, instead of filename. You will jwut have to fetch teh saved file and agregate it to your image somehow. I see the file ~/.gimp-2.6/tool-options/gimp-curves-tool.settings gets appended with sections as images are adjusted. The sections looks like ... scheme code? any relation to icc profiles? will there be provisions to apply a saved curve to an image without the gui? 2.6 looks wonderful BTW. Thanks, Kent That said, mail me any specific need you have towards saving curves and and applied saved curves files form python scripts - it is likely we could have some utility fucntions to do this in the next version. js -- Thanks, Kent ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
[Gimp-developer] Bounty for PyGimp
Howdy, As someone who would dearly love to see PyGimp a reality, I was interested to see at: http://www.ubuntulinux.org/community/bounties (Ubuntu Linux is a Linux distribution funded by Mark Shuttleworth) Python scripting everywhere Python is a great glue language. Ubuntu is open to requests for funding work that needs to be done to make Python the most widespread common scripting language on the net. Please contact us with your ideas and proposals. Bounties will be offered on Python scripting interfaces for the following tools: * OpenOffice * Blender * AbiWord * Gnumeric * The GIMP ___ Gimp-developer mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer