gimp newbie and sharpening an image in gimp.
This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.
This is a read-only list on gimpusers.com so this discussion thread is read-only, too.
gimp newbie and sharpening an image in gimp. | shirish शिरीष | 03 Feb 15:31 |
gimp newbie and sharpening an image in gimp. | Partha Bagchi | 03 Feb 22:20 |
gimp newbie and sharpening an image in gimp. | shirish शिरीष | 04 Feb 07:00 |
gimp newbie and sharpening an image in gimp. | shirish शिरीष | 04 Feb 07:12 |
gimp newbie and sharpening an image in gimp. | shirish शिरीष | 04 Feb 07:16 |
gimp newbie and sharpening an image in gimp. | shirish शिरीष | 04 Feb 07:26 |
gimp newbie and sharpening an image in gimp. | Partha Bagchi | 04 Feb 12:09 |
gimp newbie and sharpening an image in gimp. | shirish शिरीष | 04 Feb 12:17 |
gimp newbie and sharpening an image in gimp. | Partha Bagchi | 04 Feb 12:52 |
gimp newbie and sharpening an image in gimp.
Hi all,
Newbie here as far as gimp is concerned. Please CC me if somebody answers as I've turned off mail for the list as I am info. overloaded.
Before jumping in - let me give some background.
I am on Debian buster and running gimp 2.8.20-1.1
apt-cache policy gimp
gimp:
Installed: 2.8.20-1.1
Candidate: 2.8.20-1.1
Version table:
*** 2.8.20-1.1 900
900 http://httpredir.debian.org/debian buster/main amd64 Packages
1 http://httpredir.debian.org/debian unstable/main amd64 Packages
100 /var/lib/dpkg/status
I have a bunch of images that I want to sharpen. I was trying to get a way to sharpen images but got this somewhat oldish script for doing that -
I copied the script as it is and renamed it as gimp-sharpen-grain-extract.scm . I was unsure as to what the extension for the scheme interpreter should be but then saw https://docs.gimp.org/2.8/en/gimp-scripting.html
and specifically https://docs.gimp.org/2.8/en/install-script-fu.html and saw that there are two places where scripts can be put.
a. /home/shirish/.gimp-2.8/scripts - user b. /usr/share/gimp/2.0/scripts - global .
I copied the script to my userspace -
/home/shirish> cp gimp-sharpen-grain-extract.scm ~/.gimp-2.8/scripts
Trying to run gimp, gimp runs but the script doesn't work - it says
/home/shirish> gimp
(gimp:7249): GLib-GObject-WARNING **: g_object_set_is_valid_property:
object class 'GeglConfig' has no property named 'cache-size'
GIMP-Error: Plug-In "none"
(none)
attempted to install procedure "script-fu-bp-sharpen-grain-extract"
in the invalid menu location "/Filters/BP".
The menu path must look like either "" or "/path/to/item".
It is possible that the script itself is wrong or some path has changed or something, can somebody guide me to do the right thing or right way ?
I find the manual instructions tedious to say the least. I want to have some automated ways of doing that.
What I usually do is take snaps of events via my mobile phone, copy them to my hdd in a particular directory and from there run
mogrify -path /home/shirish/another_directory/ -monitor -quality 70 -trim -resize '>'600x400 *.jpg
This way the original photos/pictures/images are not touched and the ones which are there in the other/output directory are ones which are web-size friendly.
Now the images themselves become a bit dull, see https://flossexperiences.wordpress.com/2018/01/25/pune-metro-anniversary-celebrations-report-and-suggestions/ for examples of pictures.
I want to sharpen the images a bit but am confused how to proceed for it.
If the script can be fixed, please help me with that. If there is some other way/other solution which could help enhance the quality of the photos. I am a click them kind of photographer, not a professional or even an amateur by any standards.
Look forward to either help in the script or some simple ways I could enhance (maybe using some filter or something).
Regards, Shirish Agarwal शिरीष अग्रवाल My quotes in this email licensed under CC 3.0 http://creativecommons.org/licenses/by-nc/3.0/ http://flossexperiences.wordpress.com EB80 462B 08E1 A0DE A73A 2C2F 9F3D C7A4 E1C4 D2D8
gimp newbie and sharpening an image in gimp.
Change the last line to: "/Filters/BP"
On Sat, Feb 3, 2018 at 10:31 AM, shirish शिरीष wrote:
Hi all,
Newbie here as far as gimp is concerned. Please CC me if somebody answers as I've turned off mail for the list as I am info. overloaded.
Before jumping in - let me give some background.
I am on Debian buster and running gimp 2.8.20-1.1
apt-cache policy gimp gimp:
Installed: 2.8.20-1.1
Candidate: 2.8.20-1.1
Version table:
*** 2.8.20-1.1 900
900 http://httpredir.debian.org/debian buster/main amd64 Packages 1 http://httpredir.debian.org/debian unstable/main amd64 Packages
100 /var/lib/dpkg/statusI have a bunch of images that I want to sharpen. I was trying to get a way to sharpen images but got this somewhat oldish script for doing that -
https://twentymegahertz.wordpress.com/2017/01/05/gimp- script-for-image-sharpening-using-grain-extract/
I copied the script as it is and renamed it as gimp-sharpen-grain-extract.scm . I was unsure as to what the extension for the scheme interpreter should be but then saw https://docs.gimp.org/2.8/en/gimp-scripting.html
and specifically https://docs.gimp.org/2.8/en/install-script-fu.html and saw that there are two places where scripts can be put.
a. /home/shirish/.gimp-2.8/scripts - user b. /usr/share/gimp/2.0/scripts - global .
I copied the script to my userspace -
/home/shirish> cp gimp-sharpen-grain-extract.scm ~/.gimp-2.8/scripts
Trying to run gimp, gimp runs but the script doesn't work - it says
/home/shirish> gimp
(gimp:7249): GLib-GObject-WARNING **: g_object_set_is_valid_property: object class 'GeglConfig' has no property named 'cache-size' GIMP-Error: Plug-In "none"
(none)
attempted to install procedure "script-fu-bp-sharpen-grain-extract" in the invalid menu location "/Filters/BP". The menu path must look like either "" or "/path/to/item".It is possible that the script itself is wrong or some path has changed or something, can somebody guide me to do the right thing or right way ?
I find the manual instructions tedious to say the least. I want to have some automated ways of doing that.
What I usually do is take snaps of events via my mobile phone, copy them to my hdd in a particular directory and from there run
mogrify -path /home/shirish/another_directory/ -monitor -quality 70 -trim -resize '>'600x400 *.jpg
This way the original photos/pictures/images are not touched and the ones which are there in the other/output directory are ones which are web-size friendly.
Now the images themselves become a bit dull, see https://flossexperiences.wordpress.com/2018/01/25/pune-metro-anniversary- celebrations-report-and-suggestions/ for examples of pictures.
I want to sharpen the images a bit but am confused how to proceed for it.
If the script can be fixed, please help me with that. If there is some other way/other solution which could help enhance the quality of the photos. I am a click them kind of photographer, not a professional or even an amateur by any standards.
Look forward to either help in the script or some simple ways I could enhance (maybe using some filter or something).
-- Regards,
Shirish Agarwal शिरीष अग्रवाल My quotes in this email licensed under CC 3.0 http://creativecommons.org/licenses/by-nc/3.0/ http://flossexperiences.wordpress.com EB80 462B 08E1 A0DE A73A 2C2F 9F3D C7A4 E1C4 D2D8 _______________________________________________ gimp-user-list mailing list
List address: gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list
gimp newbie and sharpening an image in gimp.
at bottom :-
On 04/02/2018, Partha Bagchi wrote:
Change the last line to: "/Filters/BP"
Dear Partha,
where should I change the line ?
65 (script-fu-menu-register "Fu-Sharpen-Grain-Extract" "/Script-Fu/Sharpness/Sharper/")
66 ;
67 ; end
68 ;
Are you saying change it to -
66 script-fu-menu-register "Fu-Sharpen-Grain-Extract" "/Filters/BP"
Is my understanding correct ?
Regards, Shirish Agarwal शिरीष अग्रवाल My quotes in this email licensed under CC 3.0 http://creativecommons.org/licenses/by-nc/3.0/ http://flossexperiences.wordpress.com EB80 462B 08E1 A0DE A73A 2C2F 9F3D C7A4 E1C4 D2D8
gimp newbie and sharpening an image in gimp.
at bottom :-
On 04/02/2018, shirish शिरीष wrote:
at bottom :-
On 04/02/2018, Partha Bagchi wrote:
Change the last line to: "/Filters/BP"
Dear Partha,
where should I change the line ?
65 (script-fu-menu-register "Fu-Sharpen-Grain-Extract" "/Script-Fu/Sharpness/Sharper/")
66 ; 67 ; end
68 ;Are you saying change it to -
66 script-fu-menu-register "Fu-Sharpen-Grain-Extract" "/Filters/BP"
Is my understanding correct ?
-- Regards,
Shirish Agarwal शिरीष अग्रवाल My quotes in this email licensed under CC 3.0 http://creativecommons.org/licenses/by-nc/3.0/ http://flossexperiences.wordpress.com EB80 462B 08E1 A0DE A73A 2C2F 9F3D C7A4 E1C4 D2D8
That's a negative, I get the following -
Error while loading /home/shirish/.gimp-2.8/scripts/gimp-sharpen-grain-extract.scm:
Error: (/home/shirish/.gimp-2.8/scripts/gimp-sharpen-grain-extract.scm : 66) eval: unbound variable: /Script-Fu/Sharpness/Sharper/"
Regards, Shirish Agarwal शिरीष अग्रवाल My quotes in this email licensed under CC 3.0 http://creativecommons.org/licenses/by-nc/3.0/ http://flossexperiences.wordpress.com EB80 462B 08E1 A0DE A73A 2C2F 9F3D C7A4 E1C4 D2D8
gimp newbie and sharpening an image in gimp.
addition at bottom :-
On 04/02/2018, shirish शिरीष wrote:
at bottom :-
On 04/02/2018, shirish शिरीष wrote:
at bottom :-
On 04/02/2018, Partha Bagchi wrote:
Change the last line to: "/Filters/BP"
Dear Partha,
where should I change the line ?
65 (script-fu-menu-register "Fu-Sharpen-Grain-Extract" "/Script-Fu/Sharpness/Sharper/")
66 ; 67 ; end
68 ;Are you saying change it to -
66 script-fu-menu-register "Fu-Sharpen-Grain-Extract" "/Filters/BP"
Is my understanding correct ?
That's a negative, I get the following -
Error while loading /home/shirish/.gimp-2.8/scripts/gimp-sharpen-grain-extract.scm:
Error: (/home/shirish/.gimp-2.8/scripts/gimp-sharpen-grain-extract.scm : 66) eval: unbound variable: /Script-Fu/Sharpness/Sharper/"
And some more errors on the console -
While parsing XMP metadata: Error: No XMP packet found
(script-fu:27394): GLib-WARNING **: (../../../../glib/gerror.c:407):g_error_new_valist: runtime check failed: (domain != 0)
(script-fu:27394): GLib-WARNING **: (../../../../glib/gerror.c:407):g_error_new_valist: runtime check failed: (domain != 0)
Regards, Shirish Agarwal शिरीष अग्रवाल My quotes in this email licensed under CC 3.0 http://creativecommons.org/licenses/by-nc/3.0/ http://flossexperiences.wordpress.com EB80 462B 08E1 A0DE A73A 2C2F 9F3D C7A4 E1C4 D2D8
gimp newbie and sharpening an image in gimp.
clearing the confusion -
the errors shared above were with the naming of the script before.
After the change, the error is same, only the error has differed slightly -
gimp Praveen.jpg
(gimp:27442): GLib-GObject-WARNING **: g_object_set_is_valid_property: object class 'GeglConfig' has no property named 'cache-size'
(script-fu:27450): GLib-WARNING **:
(../../../../glib/gerror.c:407):g_error_new_valist: runtime check
failed: (domain != 0)
script-fu-Warning: Error while loading
/home/shirish/.gimp-2.8/scripts/gimp-sharpen-grain-extract.scm:
Error: (/home/shirish/.gimp-2.8/scripts/gimp-sharpen-grain-extract.scm : 66) eval: unbound variable: /Filters/BP"
While parsing XMP metadata: Error: No XMP packet found
(script-fu:27450): GLib-WARNING **: (../../../../glib/gerror.c:407):g_error_new_valist: runtime check failed: (domain != 0)
/home/shirish/.gimp-2.8/scripts> tail -5 gimp-sharpen-grain-extract.scm (script-fu-menu-register "Fu-Sharpen-Grain-Extract" /Filters/BP")
;
; end
;
just to make sure that I haven't fouled up anywhere with the instructions given/shared I have put the entire script as a paste -
http://paste.debian.net/1008712/
Regards, Shirish Agarwal शिरीष अग्रवाल My quotes in this email licensed under CC 3.0 http://creativecommons.org/licenses/by-nc/3.0/ http://flossexperiences.wordpress.com EB80 462B 08E1 A0DE A73A 2C2F 9F3D C7A4 E1C4 D2D8
gimp newbie and sharpening an image in gimp.
You are missing a quotation mark. Make that last line:
(script-fu-menu-register "script-fu-bp-sharpen-grain-extract" "/Filters/BP")
On Sun, Feb 4, 2018 at 2:26 AM, shirish शिरीष wrote:
clearing the confusion -
the errors shared above were with the naming of the script before.
After the change, the error is same, only the error has differed slightly -
gimp Praveen.jpg
(gimp:27442): GLib-GObject-WARNING **: g_object_set_is_valid_property: object class 'GeglConfig' has no property named 'cache-size'
(script-fu:27450): GLib-WARNING **: (../../../../glib/gerror.c:407):g_error_new_valist: runtime check failed: (domain != 0)
script-fu-Warning: Error while loading /home/shirish/.gimp-2.8/scripts/gimp-sharpen-grain-extract.scm:Error: (/home/shirish/.gimp-2.8/scripts/gimp-sharpen-grain-extract.scm : 66) eval: unbound variable: /Filters/BP"
While parsing XMP metadata: Error: No XMP packet found
(script-fu:27450): GLib-WARNING **: (../../../../glib/gerror.c:407):g_error_new_valist: runtime check failed: (domain != 0)
/home/shirish/.gimp-2.8/scripts> tail -5 gimp-sharpen-grain-extract.scm (script-fu-menu-register "Fu-Sharpen-Grain-Extract" /Filters/BP")
; ; end
;just to make sure that I haven't fouled up anywhere with the instructions given/shared I have put the entire script as a paste -
http://paste.debian.net/1008712/
-- Regards,
Shirish Agarwal शिरीष अग्रवाल My quotes in this email licensed under CC 3.0 http://creativecommons.org/licenses/by-nc/3.0/ http://flossexperiences.wordpress.com EB80 462B 08E1 A0DE A73A 2C2F 9F3D C7A4 E1C4 D2D8
gimp newbie and sharpening an image in gimp.
at bottom :-
On 04/02/2018, Partha Bagchi wrote:
You are missing a quotation mark. Make that last line:
(script-fu-menu-register "script-fu-bp-sharpen-grain-extract" "/Filters/BP")
Thank you Partha, I was finally able to see where the script resides. It is in Filters > BP > Sharpen using grain extract
but now am unsure how to use the dialog boxes presented but this I guess I can put as a new problem, at least the first one is resolved :)
Thank you for being patient.
Regards, Shirish Agarwal शिरीष अग्रवाल My quotes in this email licensed under CC 3.0 http://creativecommons.org/licenses/by-nc/3.0/ http://flossexperiences.wordpress.com EB80 462B 08E1 A0DE A73A 2C2F 9F3D C7A4 E1C4 D2D8
gimp newbie and sharpening an image in gimp.
On Sun, Feb 4, 2018 at 7:17 AM, shirish शिरीष wrote:
at bottom :-
On 04/02/2018, Partha Bagchi wrote:
You are missing a quotation mark. Make that last line:
(script-fu-menu-register "script-fu-bp-sharpen-grain-extract" "/Filters/BP")
Thank you Partha, I was finally able to see where the script resides. It is in Filters > BP > Sharpen using grain extract
You're welcome.
but now am unsure how to use the dialog boxes presented but this I guess I can put as a new problem, at least the first one is resolved :)
The website you referenced seemed pretty self-evident to me. It tells you how to use this script?
Thank you for being patient.