Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,629
» Latest member: juanvm7
» Forum threads: 6,855
» Forum posts: 37,427

Full Statistics

Latest Threads
Script Collection Online
Forum: Scripting questions
Last Post: Ofnuts
2 hours ago
» Replies: 3
» Views: 829
Batch Numbering Images
Forum: General questions
Last Post: PixLab
7 hours ago
» Replies: 4
» Views: 162
Faking an undo step for f...
Forum: Scripting questions
Last Post: Ofnuts
Yesterday, 09:55 PM
» Replies: 1
» Views: 77
PNG data without saving t...
Forum: General questions
Last Post: nchen
09-10-2024, 05:53 PM
» Replies: 3
» Views: 242
Image Analyzer
Forum: Other graphics software
Last Post: denzjos
09-10-2024, 12:31 PM
» Replies: 0
» Views: 102
BIMP cannot find script
Forum: Extending the GIMP
Last Post: rich2005
09-08-2024, 06:10 PM
» Replies: 1
» Views: 633
Red dotted line
Forum: General questions
Last Post: Kanelbulle
09-08-2024, 11:24 AM
» Replies: 4
» Views: 676
Get polygon data from mos...
Forum: General questions
Last Post: rich2005
09-07-2024, 05:56 PM
» Replies: 3
» Views: 625
Nodes (Point) of Free Sel...
Forum: Extending the GIMP
Last Post: PixLab
09-07-2024, 04:48 PM
» Replies: 2
» Views: 517
AI artificial or intellig...
Forum: Watercooler
Last Post: PixLab
09-07-2024, 04:24 PM
» Replies: 1
» Views: 859

 
  make sig. thread
Posted by: lumqarz - 11-30-2016, 06:56 PM - Forum: Gimp-Forum.net - Replies (3)

Something like flickr or deviant user group's collection of signature/art in one thread rather in different post. And thread doesn't need comment, like a photo gallery of sort.

Print this item

  Bovination sample
Posted by: lumqarz - 11-30-2016, 06:31 PM - Forum: Tutorials and tips - Replies (1)

gimp doc:https://docs.gimp.org/en/script-fu-bovin...alpha.html
[Image: bovination1.jpg]
bov.1 - layer structure//
[base duplicates + filters/alpha to logo/]
overlay inverted bovination
overlay bovination
normal glossy
black shape




[Image: bov3_0_detail_15.jpg]
bov lightning steps//
bovination x:12, y:8
blur
render cloud density:15, x,y:10
color inverted
color threashold middle needle to right (0.01)
gimpchat lightning tut. http://gimpchat.com/viewtopic.php?f=23&t=4345

Original picture image used//
[Image: Isola_Bella-Taormina-Messina-Sicilia-Ita...21526).jpg]

[Image: bov3_1.jpg]
3-1
overlay bov
normal pic

[Image: bov3_2.jpg]
3-2
hard light pic
hard light pic
normal bov

[Image: bov3_0_detail_1.jpg]
Fix extra white//
reduce cloud density (1~)
--or--
duplicate bov.
use alpha to logo > chalk
change mode (subtract ..)

[Image: bov3_3.jpg]
3-3
overlay invert bov
overlay bov
normal pic



[Image: bov4_1_screen.jpg]
4-1-steps
pic in buttom
bov x:12 y:8 > overlay
duplicated overlay bov > color invert
d.bov distort/ripple vertical (sine,102,2,13)
both bov blur 2 or oilify 5,2
duplicate buttom pic to top > mode: color (or screen)

[Image: bov4_1_color.jpg]
4-1
color pic
overlay inverted ripple blur d.bov
overlay blur bov
normal pic

Print this item

  Add keyboard hint to .scm plugins
Posted by: lumqarz - 11-29-2016, 04:26 PM - Forum: Linux and other Unixen - No Replies

go to scripts folder
find fu-register
example// alexios-duotone.scm

Code:
(script-fu-register
    "script-fu-duotone"
    _"<Image>/FX-Foundry/Photo/Effects/Simple Duotone..."

make change like this w/ underscore (_) before letter
Code:
(script-fu-register
    "script-fu-duotone"
    _"<Image>/F_X-f/_Photo/_Effects/Simple Duotone..."

Some text editor might have option to replace string in all open text document like in Geany ide.

On linux with example above,
Code:
find . -iname '*.scm' -exec sed -i 's#FX-Foundry/Photo/Effects/#F_X-f/_Photo/_#g' {} \;

this only change photo/effect, I failed to use arrays and loop to get it done quicker.

[Image: fx_f_scrot.png]

Print this item

  none hand-drawn shields
Posted by: lumqarz - 11-28-2016, 02:04 PM - Forum: Gallery - Replies (2)

shield attempts 1(found out randonly) ,2 (w/ note) , 3(diff shape test)


[Image: shield_plasma_color_mono_map_gradient.png][Image: shield2.png]
[Image: shield3.png]    [Image: shield3_0.png]

black circle/ or polar cord.
differece only render/plasma(0.1~) on top (prefered light and dark contrast)
duplicate color/map/alien map defualt
color/compnent/channelmixer/check monochro,preserver luminosity, (blue > 70?)
color/map/greident_map(cold_steel_2?)
lower the duplicate
orginal plasma change mode


extra fix//
color/fiterpack on plasma copy
filter/map/bump map on copy
duplicate another plasma on top/ (dodge or anything)
merge

highlight//
color/threshold > black white (duplicated mergered)
color to alpha/ remove either color
change to black(invert?)
disort/polar cord./to polar
get x,y on sheild center/ radial motion blur/++angel (overlayed)

or shadow//
light&shdaow/drop_shadow (any mode)



main layers
plasma (any mode)
plasma copy (difference)
black circle/shape (normal)

bump tut(not by me)
http://www.gimptalk.com/index.php?/topic...and-usage/

Print this item

  Paths Basics
Posted by: Ofnuts - 11-27-2016, 10:54 PM - Forum: Tutorials and tips - Replies (10)

Paths Basics

This is a short introduction to paths (also known as "vectors") as Gimp uses them.


Bézier Curves

In the sixties, Pierre Bézier was looking for a way to generate smooth curves in Computer-Aided Graphics and eventually settled on curves that have since been named after him. There are many types of Bézier curves but Gimp, as most graphics programs, uses the "cubic" ones. These are simple curves defined by:
  • Two points called the "anchors" (A1 and A2, below) that are the starting and ending point of the curve.
  • Two control points called the "handles" (H1 and H2, below), that indicate:
    • Using the line between the anchor and the handle: the general direction of the curve near the corresponding anchor. For the mathematically-oriented this line is the tangent of the curve on the anchor.
    • Using the distance between the anchor and the handle: how much the curve follows the direction of the handle.
   

If we bring H1 closer to A1 and drag H2 further from A2:

   

The closer the handle is to the anchor, the less influence it has on the shape of the whole curve. The limit is when the handle coincides with the anchor: in that case there is no tangent defined, and the general direction of the curve near the anchor is determined by the other handle. When there are no tangents defined at both ends, the curve becomes the straight line between the two anchors. In Gimp's path editor, anchors are usually created without handles, or, more accurately, with handles over the anchors, so a sequence of points creates a polygon, until you start dragging the handles out of the anchors.
We can even have loops and cusps:

   

Some nice properties of Bézier curves

The Bézier curves have a few properties worth remembering:
  • The whole curve is always inside the convex polygon defined by the two anchors and the two handles.
  • They are "compatible" with the simpler geometric transforms (a.k.a. "affine transforms") which are those that are found in Gimp's toolbox: shear, rotation, scale, flip(*). Which means that these two sequence of actions are equivalent:
    • "stroke" the curve to create a bitmap layer
    • use a transform tool on the layer
  • and
    • use a transform tool on the curve (in "Path" mode)
    • "stroke" the curve to create a bitmap layer
  • but of course the curve obtained with the second method will be sharper.
 
(*) The perspective transform isn't an affine transform, and in some cases, the two methods above would yield slightly different results, but in practice this still works most of the time, especially with paths obtained by Layer>Text to path.

Strokes

As elegant as they are, Bézier curves are not powerful enough to describe real-life curves such as the outline of characters. So more arbitrary curves are implemented by stringing together Bézier curves, the ending anchor of a curve also being the starting anchor of the next:

   

Each anchor becomes associated with two handles, one for the curve that ends on it (the "backward" handle) and one for the curve that starts from it (the "forward" handle). If these handles are aligned (A2) the curve remains smooth, but cusps can be obtained with handles on the same side (A3), and loops are obtained by interchanging the handles (or rotating them both by half a turn around the anchor)(A4).

In practice the stroke is defined and handled as a series of triplets of points, each triplet being made of the backward handle, the anchor, and the forward handle:

   

When doing so, the first and last anchor have one extra handle (backward for the first, forward for the last). These handles have a purpose: if you connect two strokes, the line between the two strokes is the Bézier curve controlled by these handles. Likewise, if you cut a stroke by Ctrl-Shift-clicking a segment to delete it, the new final anchors of the two resulting strokes keep the handles that controlled the removed segment.

Open and closed strokes

A similar principle is used to "close" strokes. When the stroke is marked "closed" (and this is just a supplemental closure indicator, Gimp doesn't add any point), an additional Bézier curve is generated from the last anchor to the first, under the control of these extra handles.

   

In Gimp, you mark the stroke as "closed" by connecting the first and last anchors.
Once the stroke is closed it is impossible to distinguish the actual first and last anchors, and in the picture above, the stroke could just as well start on A3 and end on A2. It is however possible to force Gimp to consider two anchors as the first and the last:
  • Given a stroke like this (the red part is the Bézier curve generated by the closure):
   
  • Open the stroke by deleting the segment between the two target anchors (2 and 3). These two anchors becomes the start and end of the open stroke. The handles are preserved:
   
  • Now, reconnect these anchors. The Bézier curve is regenerated, so the stroke shape is the same as initially, but the start and end anchors are the ones delimiting the temporarily deleted segment.
   
  • This technique can be generalized to have the stroke start on any point. Just add an anchor on the path by Control-licking the path where you want the stroke to start. Then use the technique above, removing and adding a segment that ends on that new anchor.
Stroke direction

Sometimes, the direction of the stroke is important. The stroke 1-to-4 above has the very same shape as the stroke obtained from the same triplets, ordered 4-to-1. But there are cases where the direction counts, for instance:
 
  • Using the "Text-along-path" function
  • Rendering the stroke by painting it with a gradient
Well, tough luck, there is nothing in out-of-the-box Gimp that will tell you the stroke direction, or let you change it. It just happens that Gimp doesn't usually change a stroke direction, so the first point of the stroke is usually the one you created first. But you have little control on the direction of strokes generated by Gimp (Layer>Text to path, or Select>To path).

But there are scripts available to help with this.


Paths

Strokes are powerful, but have a restriction: they are continuous lines. So, a single stroke is not powerful enough to describe complex curves such as the one needed to describe text. Enter the paths, that are nothing more than a bunch of strokes taken together. For instance, the word "hobbit" is made of 10 strokes:
  • One singe stroke for the 'h'.
  • Two strokes for the "o", the outer outline and the inner hole.
  • Two strokes for each "b", the outer outline and the inside for the loops.
  • Two strokes for the 'i', one for the body and one for the dot (a.k.a. "tittle").
  • One singe stroke for the 't'.
In uppercase, 'HOBBIT' is 11 strokes, since the 'B's have one more loop but the 'I' loses the dot.

Path handling in Gimp
  • Gimp processes the path as a whole, there is no way to restrict its action to specific strokes.
  • The path is associated to the canvas, not to a specific layer.
  • A path can have points that lie outside of the canvas
  • Coordinates of anchors and handles are not restricted to integer pixels. Sub-pixel paths are possible
  • Selection from paths where strokes are not disjoint follows an 'even-odd' rule. Starting un-selected from a border, the selection state changes each time it crosses a line. This is neither and intersection nor a union, but a rule that creates the expected selection on text (unless characters overlap).

Print this item

Tongue What type of music do you listen to (genre, artists, songs)?
Posted by: gbarkovalev - 11-26-2016, 04:39 AM - Forum: Watercooler - Replies (11)

Subject

Print this item

  Nice time lapse of a "painting" in Gimp
Posted by: Ofnuts - 11-25-2016, 09:17 AM - Forum: Watercooler - Replies (3)

https://www.youtube.com/watch?v=COjT2ByGyUM

Initially posted in r/Gimp on reddit.

Print this item

  Resize Image For Print
Posted by: steven8 - 11-24-2016, 03:52 AM - Forum: General questions - Replies (3)

This is something I can not wrap my head around no matter how many different articles I read, so I am hoping that by posting here someone will give me steps that make sense. 

I have an image that is 2201 x 1240 x 72 ppi.  I want to take a portion of it and make it 8-1/2" x 11" x 300 ppi to put on the cover of a magazine in Scribus.  I achieved this in Photoshop CS2, but I can't for the life of me, get it to work in GIMP.  The image comes in huge and when scaled to the frame, reduces the ppi to way too low, or the image comes in too small, and still doesn't work when resized. 

Please, please, please walk me through the steps of making a selection, cropping, resizing, setting the print size and the ppi and making sure that when I bring the file into Scribus, the image will be exactly sized to an 8-1/2" x 11" frame and be 300 ppi.

I don't know why this is so hard for me.  I have more than one Scribus book, for artist and photographer, and I have read online tutorials and the help file about resizing, re-sampling and setting print size, yet I can't get it to work.  I have to go to bed because I am so stinking tired, but I will check back after Thanksgiving dinner tomorrow night to see if anyone has come up with a way to help my oh-so-thick self.

Thank you.

Print this item

Question Resized layer is blurry
Posted by: kayeng - 11-22-2016, 09:31 AM - Forum: General questions - Replies (17)

Hello.

Two .xcf files are opened.  File-01 and File-02.  Both have a resolution of 72x72 ppi.  

I copied a layer that is in File-02 onto File-01, then scaled said layer such that it is now significantly smaller and looks like a thumbnail.

The problem is that I cannot make this resized layer as sharp as it was in its original size.

I need to print it as a flier so I need the pictures to be sharp, even if they are small.

Any ideas?

Thank you for your time.

Print this item

  Resynthesizer / heal-selection plugins for Windows
Posted by: rich2005 - 11-20-2016, 10:29 AM - Forum: Extending the GIMP - Replies (23)

Using Windows and having problems finding and installing up-to-date resynthesizer / heal-selection plugins?

I bundled the required files into a zip 

http://www.mediafire.com/file/gwc928wmwt..._32_64.zip

There are some horrible advertisements on mediafire these days. For a 64 bit resynthesizer + the heal selection python plugin there is a download here:
https://www.gimp-forum.net/Thread-Resynt...7#pid12687

Download, un-zip, use either the 64 or 32 bit versions of resynthesizer & resynthesizer-gui depending on your Windows installation.

Gimp 2.8
Copy the required files into C:\Users\"yourname"\.gimp-2.8\plug-ins

Gimp 2.10
Copy the required files into C:\Users\"yourname"\AppData\Roaming\GIMP\2.10\plug-ins

For Gimp 2.8 - Gimp 2.10 is similar. This video about installation in Windows 10. 3 minutes duration.



Print this item