[Gimp-user] 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 -

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 "<Prefix>" or "<Prefix>/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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]