Gimp: Difference between revisions
Jump to navigation
Jump to search
(→How-To) |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 30: | Line 30: | ||
=== Smart Separate Sharpen === |
=== Smart Separate Sharpen === |
||
* Download [ |
* 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}}. |
||
== How-To == |
== How-To == |
||
=== Remove Moiré effect on a photo scan === |
=== Remove Moiré effect on a photo scan === |
||
;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] |
|||
⚫ | |||
* Parameters below are for a '''600 dpi''' scan. |
|||
:* Pick method '''RLE''', and adapt radius until the moiré disappear ('''4''' or '''5''' px, possibly more). |
|||
* Apply '' |
* Apply '''Filter → Blur → Gaussian Blur''' effect, method '''RLE''', radius '''5px'''. |
||
* (USELESS - HAS NO EFFECT) Apply '''Filers → Eg → smart separate sharpen (redux)''' (default options) |
|||
:* Leave options as is. |
|||
⚫ | |||
* Scale down the photo (like a factor 2). |
|||
; 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:
- If needed, create a new layer.
- Create a rectangle using the Rectangle Select Tool.
- Transform selection into path with Select → To Path.
- 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.
- This is done by stroking paths. Eg. to create a rectangle:
Plugins and scripts
Fourier plugin
- Download the fourier plugin.
- Install a few packages:
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
- Download Smart Separate Sharpen
- Copy the script into ~/.gimp-2.8/scripts.
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
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.