Gimp: Difference between revisions

From miki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 30: Line 30:
=== Smart Separate Sharpen ===
=== Smart Separate Sharpen ===


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


Line 38: Line 38:
;Method 1 - blur and sharpen
;Method 1 - blur and sharpen
* Reference: [http://www.tutorialgeek.net/2011/06/old-photo-restoration-using-gimp-how-to.html]
* 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.
:* Pick method '''RLE''', and adapt radius until the moiré disappear ('''5''' or '''4''' px, possibly more).
* Apply '''Filter → Blur → Gaussian Blur''' effect, method '''RLE''', radius '''5px'''.
* Apply ''Filters → Eg → smart separate sharpen (redux)'' effect
* (USELESS - HAS NO EFFECT) Apply '''Filers → Eg → smart separate sharpen (redux)''' (default options)
* Apply '''Image → Scale Image → 35%''' and '''Cubic'''.
:* Leave options as is.
* Scale down the photo (like a factor 2), using '''Cubic''' algorithm.


; Descreen plugin
; Method 2 - Descreen plugin
* Reference: [http://smallbusiness.chron.com/remove-moire-patterns-descreening-gimp-36017.html] [http://www.zoyinc.com/?p=1529]
* 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).
* 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.