This man helped me to plan my life for decades later, not just for tomorrow or next year. I never read any of his books, and I think I have never seen any of his movies; yet, a decisive figure in my life anyways.

#!/usr/bin/env python
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111_1307, USA.
#
from gimpfu import *
PLUGIN_VERSION = '0.2'
def layer_effect_jtlevels(image, drawable):
layer_jtlevels = pdb.gimp_layer_copy(drawable, False)
pdb.gimp_image_add_layer(image, layer_jtlevels, 0)
channel = HISTOGRAM_VALUE
start_range, end_range = 0, 255
pdb.gimp_levels(layer_jtlevels, channel, 0, 100, 0.28, 0, 255)
return layer_jtlevels
register(
"python_fu_layer_effect_jtlevels",
"Set the levels where the classic tutorial tells you to.",
"Set the levels where the classic tutorial tells you to. This effect is best at turning your blurred mask sharp again",
"Carol Spears",
"Carol Spears",
"2006",
"<Image>/Layer/Effects/JTLevels",
"",
[],
[
(PF_LAYER, "layer_jtlevels", "JTLevels Layer")
],
layer_effect_jtlevels)
main ()