Thursday, July 29, 2021

BoxText Ver.1 & 2.

 MrQ BoxText Ver.1.


 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.



 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.



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.

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.

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.

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.

Follow Path Ver.6

 Follow Path.

 Author: J.F.Garcia [aka: arakne]

Plugin replicate a layer on a path.

In menu: Vectors → Tools → Follow Path...

Follow-path5: here.

Minor changes in this version introduced by MareroQ:
- fix plugin theme,
- changing the color of the preview (from white to blue) for better visibility,
- combine gimpfu3 with follow-path into one code,
- fixed random crop (along x axis): removed auto crop option,
- add information about the plugin (new Help tab).

Wednesday, July 14, 2021

Create Ofn-tartan with preview.

 Create Ofn Tartan. 


Claude Lion [aka: cli345]
Created a preview engine: fu_preview V. 0.1.1 here.

Combine the above codes.


Ver. 0.3 with preview.

 In menu: Filters → Render → Pattern → Create Tartan...

Discussion here:

 Scottish fabric

 Tartan (a.k.a. plaid) cloth in a few easy steps (tutorial)


Download the original version here

This plugin generates tartan patterns. It follows this description on Wikipedia.

Code fu_preview is built in with an additional size & experimental scrollbar.

Ver. 0.3 with preview:

Ver. 0.4 with preview & tabs

 Add tabs to make more clear the interface: PF_TAB and PF_TITLE based by code J.F.Garcia [aka: arakne] (in follow-path5 code: here).


Ver. 0.4 with preview & tabs:


Ver. 0.5 with preview.

PixLab on GimpLearn presented classic Tartan-MacLeod-of-Lewis.

Requires precise width and color:

color1(16 px)= black 101010
color2( 4 px)= golden poppy E8C000
color3(32 px)= black 101010
color4(48 px)= golden poppy E8C000
color5( 4 px)= freedom red C80000
In fact = 104 px.

Previous versions it only allowed to create a certain initial size width=100 px (square seamless pattern=200 px).
The limit to 256 px has been changed (and the end width of the square seamless pattern is 2*the maximum size of the "End" item).


Ver. 0.6 with preview.


Fix the error for odd values: limit the acceptable values of START - END to even values.

Ver. 0.7 with preview.

Fixed: "Fill active layer", removed deprecated procedure (pdb.gimp_image_add_layer pdb.gimp_image_insert_layer)

Create Brick Wall with preview

 Create Brick Wall. 


Claude Lion [aka: cli345]
Created a preview engine: fu_preview V. 0.1.1 here.


Code fu_preview is built in with an additional size & experimental scrollbar.

Older versions (Helper for creating patterns brick) and discussion here.

In menu: Filters → Render → Pattern → Create Brick Wall...

It creates 8 wall patterns - but on two separate layers ("Wall Brick" and "Wall Mortar"), so you have the additional option of applying other effects at your discretion.
You can also check the pattern fill of the active layer.

8 types of brick bonds:

Friday, July 9, 2021

Unicode_to_shape_Map Ver.1.0 (Win)

 Unicode to shape: Map

Claude Lion
[aka: cli345] - Preview engine: here: "fu_preview_v 0.1.1".


In menu: Filters/Unicode to shape/UNICODE Map...

Unfortunately, only for systems that support UNICODE correctly.

The most important changes in this version:
- New version of this plugin adds preview thanks to cli345,
- add "Tiles" for repat,
- added rotational copy (Mura Meister Copies)

For a good "Preview" you just need to set \etc\gimp\2.0\gtkrc

style "gimp-large-preview"
  GimpPreview::size = 512

class "GimpPreview" style "gimp-large-preview"

 (code fu_preview is built in with an additional experimental scrollbar).

Some examples of new possibilities:

Deskew Ver.1.1 Win_64bit.


Author: Karl Chen
Contributors: Steve Lessard, Michael Natterer, Alexandre Prokoudine.

Source code here.

Some information here

The plugin is intended to fix skewed scanned documents.
It has no options whatsoever and just does the job.

Click Layer => Transform => Deskew.
Gimp will auto-straighten ("deskew") the image.

Compiled for Gimp-2.10.22 Win10_64bit: MareroQ