Wednesday, September 15, 2021

Script-Fu Scrolling Interface For GIMP 2.10.28 Win_64bit

 Script-Fu Scrolling Interface For GIMP 2.10.28 Win_64bit


 Older version and some notes here.

Compiled for Gimp-2.10.28 Win_64bit: MareroQ 


 

Tuesday, August 31, 2021

Lightning

Lightning-Strike-Bg.scm

Author: Tin Tran [aka: Tin, Tim, Trandoductin]


In menu: Filters/Animation/Lightning Like Zeus (bg)...
Various versions and comments on Gimpchat.

This version:
Creates 5 lightning strike frames based on active path (you need to have an active path defined).
You don't need to install vector-to-line-stroke.py for proper operation (restored: 'gimp-edit-stroke-vectors' instead 'python-fu-vector-to-line-stroke' and 'colorize-hsl' instead of 'colorify').
Script use your selected active layer as background and remove it for you after it's done so that you're left with animation frames ready to export to gif/webp.
    
Note: Don't use black for 'Colorize HSL'.


 




Wednesday, August 25, 2021

Electricity Logo

 Electricity Logo V-3.3

Authors: Michael Schalla & Eric Lamarque
Modifications: Samj & MareroQ


Creates a electricity logo (also animated).

Update for Gimp-2.10
In menu:

  • File/Create/Logos/Electricity...
  • Filters/Alpha To Logo/Electricity...
  • Filters/Animation/Electricity Logo animated...






Thursday, August 19, 2021

Round Corners

 Round Corners - Ver. 0.4

(round_path_corners.py)


Author: Markku Koppinen [aka: Ottia Tuota]

 On the author's website - it's here.

 More information and discussion at gimp-forum.net here.

 In menu: in the Paths tab, right-click a path and follow the links Tools > Modify path > Round corners.

Plugin to round path corners: Replace the corners by round arcs.
The path is assumed to consist of straight line segments.
Note: If you use a selection, out-of-canvas anchors are taken to be outside of the selection.
If you need to include out-of-canvas anchors in the selection, you have to enlarge the canvas temporarily first.



Example: With default input values the plugin did this:


 About the inputs:


Where to set the arc ends.

It offers two choices: the default is "Use fixed distance from vertices", and the other one I skip now entirely.
The value for 'distance' is input in the next field. The picture shows the meaning of "distance":

 

 
Distance of arc ends from vertices (pixels)

The list of the built-in shapes is:

    circular
    straight
    parabola
    close to vertex
    through vertex
    cusp
    one-parametric custom shape - set parameter value below

Parameter for custom shape

But in addition to these preset shapes, you may use any custom value: choose the option "one-parametric custom shape" and input some value for the parameter (default is 0.5).
For instance, you may want to try arcs flatter than circular but not quite straight; try then parameter=0.3, for example.
Any float number can be used, even negative (but not in fractional form unfortunately).

The built-in shapes are shown in pictures:

How to use the selection?

Which allows the user to make roundings only in some part of the path, keeping the rest untouched (just about).
About this I give one example. Suppose you have a path as on the left below. You want to round the corners but want to preserve the long arc.
Running the plugin as such would lose the arc (the plugin assumes that the path consists of straight edges and ignores all curvatures). You can protect the long arc as follows:
 (1) Create a new anchor; (2) make a selection; (3) call the plugin with "Round the corners only inside the selection." 


All photos created by the plug-in author.


 

Thursday, August 5, 2021

BorderBox Ver.1.5

 MrQ BorderBox.

 
Author: MareroQ
Contributors:
Preview: Claude Lion [cli345],
Tabs: J.F. Garcia [arakne].

Ver.1.0

It creates frames with very different decorations.
The frame is created using paths (which can be used for additional decoration).
Uses additional interactive effects (invoking the plug-in with a preview of changing selected parameters).

The missing plugins (apply-canvas.exe, bump-map.exe, cubism.exe, engrave.exe, felimage-noise.exe, mosaic.exe, noise-generator.exe, noise-spread.exe, pixelize.exe, video.exe, voronoi.exe) from GIMP 2.8.22 work fine in GIMP 2.10 & Windows10_64bit and can be downloaded from this page or searched on GimpChat.

In menu: Filters → Decor → BorderBox...
Older versions and comment on GimpChat.


 
 
Ver. 1.1
/08.08.2021/
 
Changes:

- bug fix (for FG/BG colors)
- added option:
  1. Create a frame on the layer. 
     (now - Apply as: On a layer, Add to layer, Add to layer & Scale to original size).
  2. Create a shadow for the frame (Gegl Drop Shadow).
  3. Perspective frame (experimental - many functions are excluded!) in accordance with the Tin Tran    code.
  4. Select the frame layer mode opacity.




 Ver. 1.2
/11.08.2021/
 
Changes:

1. Change in layout "Frames".
2. Bug fix:
 - for Perspective frame - replace for Additional Effec (???) to Frame Fill (!!!),
 - for Apply as: On a layer(without Fill Underlay -> now with this option),
 - from Gegl Drop Shadow: - add Grow Shape: " Square "," Circle ", " Diamond ", create this effect for single layer.
 
 
 
Example Underlay Fill for Perspective

 
Ver. 1.3
/15.08.2021/
 

Changes:

 - from Gegl Drop Shadow: add to: " No "," To Border ", " To Passe-Partout ", " To Both  "
 - bug fix: for Perspective & Path



Ver. 1.4
/19.08.2021/
 
Changes:
 
- Add Tab 'Round Corners' by code Markku Koppinen "round_path_corners.py" (code embedded - does not conflict with the original version). More information about  'Round Corners' here,
 - Add use 'Corner Type': for 'Gradients' & 'Patterns',
 - Add for Fill Passe-Partout: 'Patterns-desaturate'.






Ver. 1.5
/24.08.2021/

Changes:

 - Add "BLURRED" for Underlay -> Fill,
 - Add Tab "Distress",
 - Add select colors for Stroke.
 







Thursday, July 29, 2021

BoxText Ver.1 & 2.

 MrQ BoxText Ver.1.

/29-07-2021/

 Author: MareroQ

Contributors (their codes have been implanted):
Claude Lion [cli345], J.F. Garcia [arakne],
Ofnuts, Tin Tran.

Combine multiple text editing options into one plugin.

 In menu: Filters → Text → BoxText ...

 More information here. (GimpChat)


 






 MrQ BoxText Ver.2.

/01-09-2021/

Changes:

 add Style for Gegl Long Shadow,

 
 
add Tab "Bend",
 
 
add Miter Limit & Shape Rendering for Stroke Line.

Note for Bend.

Very, very experimental. You will often get an error:



Limit the use (don't use) of other Transformations and change font size and distance.
You can also check out the thread on GimpChat here.

Note for Stroke Line.

This creates svg files in the "tmp" directory.
You can choose to delete them however entry in 'Document History' you must delete manually (Icon:'Remove the selected entry').

 Cap Style.

 
Join Style.

 


Shape-rendering.

Auto:
Indicates that the shall make appropriate tradeoffs to balance speed, crisp edges and geometric precision, but with geometric precision given more importance than speed and crisp edges.


OptimizeSpeed:
Indicates that the shall emphasize rendering speed over geometric precision and crisp edges. This option will sometimes cause the to turn off shape anti-aliasing.


CrispEdges:
Indicates that the shall attempt to emphasize the contrast between clean edges of artwork over rendering speed and geometric precision. To achieve crisp edges, the might turn off anti-aliasing for all lines and curves or possibly just for straight lines which are close to vertical or horizontal. Also, the might adjust line positions and line widths to align edges with device pixels.


GeometricPrecision:
Indicates that the shall emphasize geometric precision over speed and crisp edges.


Miter Limit.

The stroke-miterlimit property is used to represent the limit on the ratio of the miter length to the stroke-width, that is used to draw a miter join.
This property is used in situations when the miter extends beyond the thickness of the line.
If this limit specified is exceeded, the ‘miter’ type of the join is converted to ‘bevel’.
This will crop the connecting point perpendicular to the join, instead of a sharp join.
If the miter length divided by the stroke width exceeds the stroke-miterlimit then for the value:

Miter - the join is converted to a bevel;
Miter-clip - the miter is clipped by a line perpendicular to the line bisecting the angle between the two path segments at a distance of half the value of miter length from the intersection of the two path segments.


Information & images from Scalable Vector Graphics (SVG)2 here.