Permalink
Browse files

beautify: fix the Retro LOMO effect.

  • Loading branch information...
hejiann committed Aug 3, 2012
1 parent 9e0a6a9 commit 328744f6be7372897ec21ee0954761382f704009
Showing with 21 additions and 0 deletions.
  1. +3 −0 README
  2. +18 −0 beautify-effect.c
View
3 README
@@ -47,6 +47,9 @@ GIMP Chat: http://www.gimpchat.com/viewtopic.php?f=9&t=4811
CHANGELOG
===================
+2012-08-04:
+beautify: fix the Retro LOMO effect.
+
2012-08-03:
beautify: fix the Soft Light effect.
beautify: fix the Black And White effect.
View
@@ -344,6 +344,24 @@ run_effect (gint32 image_ID, BeautifyEffectType effect)
gimp_curves_spline (effect_layer, GIMP_HISTOGRAM_RED, 18, red_pts);
gimp_curves_spline (effect_layer, GIMP_HISTOGRAM_GREEN, 18, green_pts);
gimp_curves_spline (effect_layer, GIMP_HISTOGRAM_BLUE, 18, blue_pts);
+
+ gint nreturn_vals;
+ GimpParam *return_vals;
+
+ return_vals = gimp_run_procedure ("plug-in-rgb-noise",
+ &nreturn_vals,
+ GIMP_PDB_INT32, 1,
+ GIMP_PDB_IMAGE, image_ID,
+ GIMP_PDB_DRAWABLE, effect_layer,
+ GIMP_PDB_INT32, 0,
+ GIMP_PDB_INT32, 0,
+ GIMP_PDB_FLOAT, 0.03,
+ GIMP_PDB_FLOAT, 0.03,
+ GIMP_PDB_FLOAT, 0.03,
+ GIMP_PDB_FLOAT, 0.03,
+ GIMP_PDB_END);
+ gimp_destroy_params (return_vals, nreturn_vals);
+
break;
}
case BEAUTIFY_EFFECT_GOTHIC_STYLE:

0 comments on commit 328744f

Please sign in to comment.