Gimp: Difference between revisions

From miki
Jump to navigation Jump to search
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 19: Line 19:


=== Descreen scriptfu ===
=== Descreen scriptfu ===
* Download the [http://registry.gimp.org/node/24411 Descreen plugin].
* Download the [http://registry.gimp.org/node/24411 Descreen script].
* Copy the script into {{file|~/.gimp-2.8/scripts}}.
* Copy the script into {{file|~/.gimp-2.8/scripts}}.
* Restart gimp or select ''Scriptfu → refresh scripts''. The script appears in ''Enhance → Descreen''.
* Restart gimp or select ''Scriptfu → refresh scripts''. The script appears in ''Enhance → Descreen''.

=== resynthesizer ===
Install the plugin with:

sudo apt-get install gimp-plugin-registry

=== Smart Separate Sharpen ===

* Download [http://registry.gimp.org/node/24876 Smart Separate Sharpen]
* Copy the script into {{file|~/.gimp-2.8/scripts}}.


== How-To ==
== How-To ==
=== Remoe Moiré effect on a photo scan ===
=== Remove Moiré effect on a photo scan ===

* Apply '''Filter → Blur → Gaussian Blur''' effect.
;Method 1 - blur and sharpen
:* Pick method '''RLE''', and adapt radius until the moiré disappear ('''4''' or '''5''' px, possibly more).
* Reference: [http://www.tutorialgeek.net/2011/06/old-photo-restoration-using-gimp-how-to.html]
* Parameters below are for a '''600 dpi''' scan.
* Apply '''Filter → Blur → Gaussian Blur''' effect, method '''RLE''', radius '''5px'''.
* (USELESS - HAS NO EFFECT) Apply '''Filers → Eg → smart separate sharpen (redux)''' (default options)
* Apply '''Image → Scale Image → 35%''' and '''Cubic'''.

; Method 2 - Descreen plugin
* Reference: [http://smallbusiness.chron.com/remove-moire-patterns-descreening-gimp-36017.html] [http://www.zoyinc.com/?p=1529]
* But this produces some strange and ugly artifacts (like jpeg parasites).

=== Make a polygon selection ===
* Select the '''lasso''' tool.
* '''Click''' instead of dragging to make polygon edges.

=== Pick a color on screen ===
Use the color selection dialog (or dock) [https://graphicdesign.stackexchange.com/questions/15693/gimp-pick-color-on-screen-without-taking-screenshot]:
* Click the button with the pipet and screen icon.
* Click anywhere on screen
* Color is set.

Latest revision as of 18:44, 14 April 2018

Basic actions

  • Create squares, ellipses, circles
    • This is done by stroking paths. Eg. to create a rectangle:
      1. If needed, create a new layer.
      2. Create a rectangle using the Rectangle Select Tool.
      3. Transform selection into path with Select → To Path.
      4. Stroke the path with Edit → Stroke Path.
    • Instead of stroking the path, the selection can be stroked as well with Edit → Stroke Selection. 3rdd step above can be skipped in that case.
    • The GIMP keeps track of all used path, so converting to path is handy to reuse previous paths. Check the dialog box Layers, Channels, Paths, Undos.

Plugins and scripts

Fourier plugin

sudo apt-get install libfftw3-dev libgimp2.0-dev
  • Build and install the plugin:
make
make install

Descreen scriptfu

  • Download the Descreen script.
  • Copy the script into ~/.gimp-2.8/scripts.
  • Restart gimp or select Scriptfu → refresh scripts. The script appears in Enhance → Descreen.

resynthesizer

Install the plugin with:

sudo apt-get install gimp-plugin-registry

Smart Separate Sharpen

How-To

Remove Moiré effect on a photo scan

Method 1 - blur and sharpen
  • Reference: [1]
  • Parameters below are for a 600 dpi scan.
  • Apply Filter → Blur → Gaussian Blur effect, method RLE, radius 5px.
  • (USELESS - HAS NO EFFECT) Apply Filers → Eg → smart separate sharpen (redux) (default options)
  • Apply Image → Scale Image → 35% and Cubic.
Method 2 - Descreen plugin
  • Reference: [2] [3]
  • But this produces some strange and ugly artifacts (like jpeg parasites).

Make a polygon selection

  • Select the lasso tool.
  • Click instead of dragging to make polygon edges.

Pick a color on screen

Use the color selection dialog (or dock) [4]:

  • Click the button with the pipet and screen icon.
  • Click anywhere on screen
  • Color is set.