DBJ, more than 2 colors per row 4

Revisiting older posts often brings to mind new or slightly different ways of looking at and achieving the same tasks.
Links to some related previous posts:
DAK DBJ color separations, templates, and other software
Revisiting Ayab_multiple colors per row DBJ 2
Revisiting Ayab_multiple colors per row DBJ 1
Img2track_multiple colors per row dbj, each color knitting only once
DBJ: more than 2 colors per row 3
DBJ: more than 2 colors per row 2   img2track
DBJ: more than 2 colors per row 1

Color separations for knit designs in only 2 colors are more straightforward than those for 3-4 colors.
The built-in KRC function in Japanese models will yield results automatically where each color knits in each design row only once, reducing the elongation in the designs often seen when employing other techniques.
Japanese machine models for home use (not the semi-industrial ones) have a color changer that resides on the left, and aside from whether each color in each row knits once or twice, the combined carriages need to move to and from the color changer on the left for each color selection.
The color-changers for brands differ slightly and matter in cross-brand use if one relies on published separated designs and pictured swatches.
Yarn changers for:
Brother Studio Sometimes the placement of the colors within palettes will result in the colors not being read and downloaded properly.
As described in the Ayab post: when using each color, it is coded in a range of 8-bit values. For 4 colors, it would be 0-63 color A; 64-127 color B; 128-195 color C; 196-255 color D.
When only 2 colors are in use, in manual color separations, the ultimate goal is to produce BW-indexed PNGs. They are then downloaded and programmed as one would FI patterns, palette placement is not a concern.
Working in default or limited palettes produces familiar visual clues in DIY, to save custom palettes see ArahPaint and Gimp in knit design 3 
If the goal is to imagine the results in colorways based on yarns planned for use in the finished piece, that can be easily achieved after the fact.
This design has been used in past posts and is 6 stitches wide; hence, repeated X4 in width will also be suitable for punchcard machines. Looking at it again:
checking alignment when tiled
Stitches on needles not worked on the top bed are held while stitches in the other color(s) knit, and get longer. Some degree of alteration in the aspect ratio in the appearance of the design on the knit side in the final result is to be expected, also influenced by the addition of varied knitting techniques and carriage settings.  Methods I have explored in DIY repeat the same color sequence throughout even when any one of the colors is not represented in that design row: one way to decrease the visual lengthening of designs in dbj is to eliminate a row of knit stitches from each pair of passes by pushing Brother’s preselected needles back to the B position on the top bed before knitting from the right back to the left, thus skipping all needles in work on the top bed.
The HOP separation in Ayab performs this function automatically in addition to shuffling around repeat segments while keeping a fixed color rotation, making repeats that fail with other separation methods knittable.
In images where not all colors are represented on every row, there are more knit rows on the ribber than on the main bed, even with birdseye backing, another added cause of stitch elongation observable on the knit side.
When using birdseye backing, the ribber will knit every other stitch, alternating needles on each pass. An even number of needles is required. Patterning is akin to using a 1X1 card on the knit bed.
By the time the carriages have returned to the left only one row of knitting on every needle will be completed on the ribber.
The setting is not available in every model machine, including very early Brother ones.
When knitting in tuck or slip stitch, stitches grow in length until they are knit off again. This remains true when working in DBJ fabrics as well.
Yarn and tension choices can affect the final appearance.
There will be some degree of bleed-through behind the elongated stitches.
Blocking also influences the final appearance of the completed knit.
Exploring possibilities:
The initial 6X6 file is converted to stp and opened in DAK resulted in the following messages and pattern error corrections A second design was also tested in DAK and yielded the same error messages:  The 6X6 stp doubled in length to 6X12 cells allow for the option of selecting the type of dbj color separations, creating files that can, in turn, become PNGs for working outside the program, and for printing traceable templates for punchcards. That work is achieved through hacks since DAK does not allow direct import or export of file formats other than its proprietary ones ie stps or txt for use with Kniterate.    A closer look at the diagram of the color sequence options in each
The characteristics of the more commonly used methods in review:
Method A
works on pairs of rows, Method B creates the same separation as the default built-in KRC one in Japanese electronics with each color in each design row knitting only once, Method C separates each color row into separate rows of knitting, rows do not have to be repeated in pairs in DIY, and the double-length switch will need to be used in Japanese knitting machines It is possible to generate an output of the separation and to process it to generate files usable in img2track or for printing traceable punchcard templates.
The program does have an option to save a bmp but the save is of the separation on a grid with added data, not as a file immediately usable in other programs. Click on the floppy disk icon outlined in red to save as bmp as an alternative to screengrabs.   Using the same 6X12 file, the generated printable templates and associated converted PNGs:
A B  the repeat here is also for the original lengthened X2, and 36 pixels high with no segments repeated. The essential difference is that the first preselection row is made from left to right, with the pair of rows for color 1, design row 1 split between the top and bottom of the separation.  C

elongated X2=24X72, handy for other knit structures, but not for reducing elongation in DBJ Using img2track set at knitting in 3 colors, there is no error message, but the 6X6 file will not produce the planned design.
A proof of concept is provided in the post DBJ: more than 2 colors per row 2. Starting with the double-length 6X12 file, each color in each design row will be knit twice:  and the machine will offer prompts for its pre-determined color change sequences.
Most recently, my separation experiments using Gimp use transparency methods and are are shared in the reverse order of their development 
#3
The briefest and last method: working in RGB mode, begin by multiplying the pattern in height X3, to 6X18 Isolating the red color on a white ground:  isolating the yellow on a transparent ground:  isolating the blue on a transparent ground: copying and pasting the isolated yellow and blue with transparent grounds in  turn onto the red design isolated on the white ground
changing all 3 colors to black
doubling the image in length to 6X36
remove every second row using the pencil tool or bucket fill it with the 6X2 pattern, and change the cyan to white. Any other color can be used instead of the magenta at that point
change Mode to BW indexed, and save the final file for knitting.   Comparing the results for the full repeat from other methods on the left, with the one using this method on the right

Returning to that 6X6 repeat that was prone to error in both DAK and img2track, with each color represented once in each row, exploring the possible separation to knit each color only once, and using a final 6X18 PNG led to patterning failure.
The Image menu progression of its process in Gimp: the number of thumbnails grows and one can travel through the images using simple clicks until any image is discarded or the program is quit, the X appears aside the file viewed in the work window.  Each color was isolated on a white background, with guides placed horizontally across every pair of pixel rows.  Pairs of rows of each color were copied and pasted in alternating sequences on an all-white file longer than 18 pixels rows and the results were trimmed to a 6X18 file for a knitting test.  Though the built-in KRC separation takes that first design row and moves it to the top of the repeat, thus knitting a single row with color 1 and completing it in a pair on the last row of the program, the first knitting test began with preselection from the right, and color 1 knitting for 2 rows.  A second try at an 18-row repeat, also a design fail, with odd breaks in the lili action on the ribber, seen in Passaps when pusher selections on the back bed are disrupted.  When the motif was doubled in length, and the same method was used, the results matched the 24X36 file.
The 6X6 design, however, expanded and separated to a 6X18 file may be used in machines with color changers on each side, with a different color sequence, see DAK Method E notes toward bottom of post.
#2 Working with the 6X6 design lengthened X6 to 6X36

with every other row rendered in all white cells The proof of concept swatch

DAK
owners see the 36-row file and similar knit sample for the Half Milano separation F toward the bottom of the post.
In my #1, first separation draft, the 6X10 file is elongated X6, to 6X60, considering that each color in each design row will be carried for two passes.  The latest Gimp version for Mac is 2.10.36
Sometimes there are differences in commands in the Windows version.
Begin the work in RGB Mode.
The color-to-alpha command in Gimp makes all pixels in a selected color transparent.
The option can be activated through the Layers Menu by choosing Layer> Transparency> Color to Alpha or the filter via Colors> Color to Alpha from the pull-down menus at the top of the work window.
No threshold or blending adjustments are needed in the small 8-bit files used in designing knits.
Some previous repeats using  colors to alpha in 2-color separations can be found in the posts
Color separations for larger scale mosaics and mazes 
and on Using Layers in Gimp for Color separations
Magnify the image to a comfortable viewing size, ie 800% or more.
When the color to alpha dialog window opens, there will be a small preview of the image you are working on on the upper right that relates to how many images are available for processing in the work window at the time.  When the color white is in the mix using the 8-bit files, the preset color selection for transparency in the color bar is white.
To change the color selection, click on the white color, the palette window will appear, select the new color, and click OK.

To Bucket Fill with pattern: create a custom brush size, matching the starting design width in pixels. The number of rows varies with intent. White is used as one of the colors, and the second color can be any other.
Click on the rectangle tool and then on the pattern thumbnail, an icon for it will appear on the upper right of the work window. The brush will be copied to the clipboard and will be available to use to pattern fill until the program is quit. It can also be saved for future use as explained in other posts.  To fill specific groups of pixels with FG or BG colors, click on the select by color tool,  and then on the color you wish to change, use bucket fill, selecting foreground or background color.
The fuzzy select/magic wand tool mentioned in previous posts is designed to select areas of the current layer or image based on color similarity. It appears to the left of the select-by-color tool. It can be used when pixels in that color need to be changed in contained single areas rather than throughout the whole image.
If using the bucket fill with foreground or background color alternating with fill with pattern, remember to switch between the two as needed.
If an error is made, use Image> Edit> Undo to move back to any previous steps.
If at any point the image in the work window is surrounded by dotted lines, click on the rectangle tool and then again in the work window to essentially fix the layer.
The Image menu provides access to nearly any operation you can perform on an image.   Clicking on any one of those images will produce a dotted outline around it making it identifiable and usable in work such as for copy and paste followed by bucket fill with pattern,   or for navigating between series of open files.
#1  the longhand first practice run began with the 6X10 file multiplied in height X6 to 6X60. Good practice for sorting out a technique, but guessing the aspect ratio in the final knit would be bothersome.  1. has the first 2 of the 6 design rows rendered transparent, so when used to fill the original, only rows planned for color 1 are left exposed
2. will leave design rows 3 and 4 exposed for color 2
3. will leave design rows 5 and 6 exposed for color 3
Repeat these steps on the original design 3 times, and save each completed step until comfortable with working on several files open at once.
A. select by color, bucket fill each with white except for the color red
B. select by color, bucket fill each with white except for yellow, if the color seems too hard to identify, change it to another
C. select by color, bucket fill each with white except for blue. The red and white in the last step in A are left undisturbed, while the white background in the last steps in both B and C is rendered transparent, as seen in 2 and 3. Both 2 and 3 are copied and pasted onto A, rendering the final tricolor image, 4.
Using select by color and bucket fill, the three colors are replaced with black, 5.
A last brush bucket fill, 6, leaves only the first row of black cells exposed, changing the cyan to white and converting the final result to BW-indexed mode, 7, is saved for knitting with each color in each row knitting only once.  When all 3 colors are not represented on every row,
The 11X10 image was used in previous posts,   tiled,   the tiled elongation:  The separation uses method#3:  the process with the image lengthed X3 to 11X30 representing each color in each design row once:  working with Gimp transparency, isolate the red, retain the white ground isolate the green, render it on a transparent ground isolate the blue, render it on a transparent ground,  copy and paste the green and blue rendered on transparent grounds onto the red on the white ground initial image, obtaining a 3 color separation.
Replace colors with black. For knitting each color in each design row for 2 passes double the file in height to 11X60 pixels. To knit each color only once in an attempt to further reduce changes in aspect ratio, erase every second row. Images for knitting are saved in BW-indexed mode.  The DAK template (set for 950i) and img2track screen image compared to my result:  the 11X60 PNG, all pixels, 
and with black pixels on every second row changed to white The proof of concept swatch: the vertical lines between pairs of stitches result from the drag on the ribber stitches to the right and then the left as the birdseye pattern is formed, they are frequently also seen in ladderback dbj.
The yarns used are not of equal thickness.
Balanced yarn weight and tighter tensions would diminish both those lines and any bleed-through behind the stitches on the knit side.
The dropped stitches on the purl side indicate the need for troubleshooting the condition of ribber needles and their latches.Img2track_multiple colors per row dbj, each color knitting only once used the same 11X10 repeat, explored the results using HOP, pushing needles back to B manually EOR, and a color separation with the same 11X60 final file. 
An additional way to decrease changes in the aspect ratio of the original design
relies on eliminating as many passes as possible, by eliminating design rows with “no color” out of the color change rotations.
The color changes in continuing identical sequences vs skipping any one of the colors from the rotation when not in use:  The 11X60 repeat is now to 11X48  its companion with every other second row of black cells erased.  Both create the need to track what color to use and when. If the machine or software cannot provide prompts and reminders, a spreadsheet is easy and quick to create, listing colors and corresponding row counts:  Tracking those shifting color changes is more than my bandwidth and patience allow.

As I was working on this post, a friend asked about the separations for 3 color designs in the StitchWorld Pattern Book #3.
I randomly chose # 484, with the swatch pictured on p 57 and the design separation repeat found on pp 96-98. The shortest segment can be quickly converted to a knittable 140X50 PNG. Other factors to be considered and examined:
the color-changing sequences are provided on each side.
Each design row appears different from the row below it, raising the question as to whether each color is knitted only once.
The built-in KRC function in Japanese electronic machines automates that option when only 2 colors are used.
Passap E6000 users have a programmable reader technique that accomplishes the same for 3 and 4 colors.  This SW III segment is for rows 521-570, p98, with two more full pages in the pub beginning on p 96 with rows 1-260, and p 97 with rows 261-520.
Gimp Guides were placed on a screengrab of the file and it appeared each number was associated with 2 design rows.  The color numbers are not in fixed sequences and differ on each side, as seen in this magnified view.  Found when browsing through the SW III pub for added clues: the fair isle section symbols are suggestive of the CK35 Brother semi-industrial machine, produced in small numbers decades ago. The CK 35 has a color changer on each side.  From the manual regarding their use:  If the files are intended for the CK 35, additional information is needed for emulating or adapting them for use on home knitting models, not always possible.
The same is often true when traveling between machine brands manufactured in different countries.
DAK owners can use Method E jacquard separation for machines with a color changer on each side, like the Brother CK 35. According to the manual, the process works on pairs of rows and separates each row into a pass with each color.  A sample separation with no error messages when the 6X6 file is opened.   Untested DIY for the same separation:
The 6X18 repeat opened in Gimp, using a single-pixel pencil to fill in all except the color for that row with white.  Using the custom brushes and bucket-fill with the pattern, begin with isolating the red color, retaining the white background,  repeat to leave the isolated green exposed, and convert the magenta color from the brush to alpha repeat with the isolated blue,   in two steps, copy and paste the green and white on alpha and the blue and white on alpha on the red-on-white ground image, the tricolor final result, which matches the result from the pencil color replacements, is then rendered in BW for knitting. The last DAK Method F is referred to as suitable for Half Milano. It is directly translatable for use in the Japanese models.  The corresponding separations for both the 6X6 and its elongated sibling, 6X12 The 36-row repeat was quite different from mine, but a knitting test resulted in a matching result while trying out the 11X10 design in DAK resulted in obvious patterning fails, likely because the repeat is not an even number of pixels in width.
A repeated knit test of my 11X60 repeat, the arrow points to operator error when I failed to notice the color changer was carrying 2 colors at once. It is possible to superimpose final repeats on each other to look for errors and differences. The DBJ separation in DAK was 60 rows high as well, but it appears to be inaccurate, pointing to possible unidentified errors when working with a stp that is an uneven number of pixels in width.

Seasonal knits inspired by published repeats 2_hearts

Charts are included for repeats suitable for punchcards, where the designs must repeat in height to a minimum of 36 rows.
Some reminders: the BW pngs here are intended for import into a paint program or image processor where they can be magnified to suit, with a grid view for counting cells to consider the width of floats if used in single bed fair isle, adjust the design in DIY variations, or import into download programs as provided.
The tiled repeats help to visualize how the final appearance on the knit side.
While the pngs are shared in BW indexed mode, when dragged to desktops or otherwise copied and are opened in image processors, they may change to RGB mode by default and will need to be converted back to BW indexed mode prior to use for import and download to knitting machines.
Some machine models will automatically mirror the image horizontally, depending on brand and model year as does Ayab software.
When direction matters, ie in representational designs or transfer lace, the mirroring may be performed on the image provided before using it, or by using the appropriate button or command after downloading to electronic machines.
Punchcard users can mirror after the fact by simply turning the card over before inserting it, after marking and numbering at least the starting row on its reverse.
To retain symmetry in developing half-drop or brick repeats, it is useful to have an even number of stitches and rows in the original design. Some designs are broken up in ways that are subject to use based on personal visual preferences.
If used for blankets, the repeats can be tiled to dimensions leaving room for coordinated borders.
12X10 12X10 to 12X20 brick

12X10 to 24X10 half drop

24X24 24X28 32X32 34X34 43X43 adjusted to 44X44, an all symmetrical suitable as a single motif or in larger formats brick 44X88 brick tile half drop tile 84X44

3 color 14X3, requires a different color separation than KRC, each color in each row needs to be knit twice the 2-color version   From weaving drafts: a mosaic-like design the 68X58 png cropped to 67X58 to avoid double stitches
its half drop repeat 134X68  the source for a much smaller repeat the 14X20 png When all you need is a border, repeats that may be used vertically or horizontally, presented in punchcard configuration, 24X21: 24X20, rotated for horizontal use would become usable on electronic models only  
From To mesh or not to mesh 9: more on mock filet design See the post for additional repeats and my method of developing the design.
I could not find the source for this Pinterest find on the upper left, which results in a combination of large mesh and single transfers to create the heart shape.
The initial 24X44 png brick repeat, 24X88

with more knit stitches between shapes, 36X88 the knit rows separating the stripes of heart motifs are highlighted in red.
On Brother machines the KC does advance the repeat in standard lace, so each of those red stripes is reduced to two rows of blank cells, resulting in the 36X88 repeat charted on the far right A small proof of concept knit in 2/18 wool A Studio 560 was my first electronic model machine, owned decades ago. Among the mylars saved even though the machine was sold many years ago, I found this repeat, 24X47 cells, the last offered in this series. Studio mylar sheets were marked in 6X5 blocks as opposed to Brother’s 5X5. The punchcard repeat chart here is outlined in 6X6 blocks of cells, the convention in Brother punchcards. the png

A series also shared in the post Seasonal knits inspired by published repeats 1
two from the various groupings
24X3924X78

Small to large repeat figurative designs inspired by filet crochet charts

Reducing figurative designs to repeats for knitting on a low needle counts results in loss of definition.
Filet crochet charts can serve as a starting point for repeats, but usually are planned on  more than equivalent 24 stitch counts, so results of adapting them are often usable on electronic machine models only.
The knitting technique used to execute the design determines whether the lengthwise aspect ratio is affected or not.
1: the source image
2: processed using Mac Numbers
3: opened in Gimp
4: the grid color can be altered to view and match stitch counts
5: the color reversed image to visualize the possible appearance of doing so in the knit
6: a small border frame is added, bringing the figure color to the edges of the knit piece, and the figure is mirrored, helping to make a choice about its orientation on the the knit side  Depending on the model machine used, the motif may appear as drawn on the purl or on the knit side, mirroring it when direction matters may be done using machine settings or mirroring before download.
On my 930 mirroring was not necessary, the swatch was knit on 40 stitches, with the added frame.
The figure alone, 35X72 pixels shown on 6X6 grid blocksA DBJ swatch with birdseye backing  A sitting companion, inspired by random Pinterest find, processed using ArahPaint, not knit tested, 49X65 pixels   shown on a 5X5 pixel grid  Graduating to pillow or blanket size, a bit of romance in advance of February, from a Priscilla Filet Crochet book, the original was in a nearly oval format.
A border was added to complete the original to full oval shape,
black pixels were added to complete the inner shape, and the BW image was extracted and saved.
Working in RGB mode, the border needs to be adjusted for symmetry, not fully complete here, and bucket pattern fill may be used to customize it or any frame the 117X154 modified oval chart and png color inverted 107X154 for DIY modifications to other shapes  A 137X184 RGB version with editable border  Mythological inspiration from a Priscilla source
A: the original
B: processed with GIMP
C: processed with Arah the final png chart, with some pixels removed  and the 118X54 png  A 142X81 pixel version that includes a border From previous posts:
74X54 Celtic design
43X53 squirrel  This image is not from a filet crochet chart but from one of my Studio 560 mylar sheets dating back decades. It is used to illustrate the possibility of mirroring in different directions to produce far larger designs ie wall hanging or blankets.
Alone it could serve as a scarf, with the image rotated and perhaps even mirrored at the opposite end of the scarf to match directions when draped around the neck The 60X50 cell repeat It takes a few clicks of a mouse and a couple of program windows nowadays to make the addition of single cells at the top, bottom, or sides of such large designs that avoid tiling intersections with double cells if that is the goal.
It is also easy to manipulate the chosen designs to visualize the appearance of a final piece. Printing the pixelated results in a larger format can aid informed choices before any actual knitting.
Adding a single cell blank column on the right, and one with a few pixels on the bottom a blank row on the top, 61X52 in a 122X104 repeat that with coordinated borders could approach the use of most of the needle bed with the initial shape mirrored horizontally and then drawn in repeat a column with double pixels appears again at the center of the design staying with that, but making shapes go around

Gimp 4, pattern fill, dithered portraits, and more.

The latest version of Gimp for Mac includes many small changes which come with no announcements and take a bit of sorting out to recognize or problem-solve.
There are good collections of Youtube videos intended for use on much larger files, with fewer color restrictions than images used for knitting.
A dock is a container that holds a collection of dialogs.
I work in single-window mode and had an issue a few times recently with the tool dock and dialogue disappearing from the left.
The method that worked for me:
on a Mac, select the link to the Preferences/Settings window found in the GIMP application menu, next to the Apple menu. Scroll down in the left pane until you see the Windows Management entry. Click on it to open the relevant settings pane. Look for the giant button labeled Reset Saved Window Positions to Default Values, seen on the bottom right.  Click on it, and GIMP will pop up a small notification box letting you know that the save will go into effect the next time GIMP loads.
Click OK there, and click OK again in the main Settings window.
Close GIMP and reload it, and familiar settings should be back.
To prevent a reoccurrence of the issue, it is possible to lock the associated tab, permanently fixing the dialogue. To do so, click on the small shape next to the Tool Options Menu text on the top right, then select Lock Tab to Dock.  Tool icons are also changed at times, leading to puzzlement when steps used in the past do not work. An example, The layers menu no longer offers the difference mode used previously in custom color separations.
From the manual: “If you need to stay compatible with older GIMP versions or you need to use the legacy layer modes for other reasons, look for the icon to the right of the layer modes selection.
This drop-down menu will let you choose between Default and Legacy. If you choose the latter, the layer modes list will only show the legacy layer modes and all modes will have “(legacy)” behind their name (the selected mode will use the short version (l). ”
To make the dialog available: click on Legacy to switch mode selections.  My posts are at times generated in response to questions I have received through forums or direct contact via my blog, but most often by my exploring whatever rabbit hole attracts my attention for a period of time before leaping into the next.
A quick way to fill with a design/ drawing in repeat is to choose and open an image, ie this rose, indexed B/W 28X30 pixels Magnify ie to 800X, go to Edit, and Copy Visible to save it to the clipboard as long as the program is open
Choose File, New, in size that is a multiple of the original ie 84X90.
Select the brush tool  In the Windows menu choose Dockable Dialogues and select Symmetry Painting, then Tiling.
After entering the desired values, as you move onto the canvas, a brush icon and crosshair will appear, along with a square bordered with a dotted edge representing the clipboard brush in full size, place it touching the left upper corner for a straightforward tiled repeat, an alternative to the familiar method using Filter, Map, Tile.  Undo and repeat if needed.  
For a brick repeat For easy and quick drawing in any repeat configuration including random, I recommend using ArahPaint.
For other tiling repeats, I have found Gimp offset limiting, offering this as an alternative method for, in this case, a half-drop design.
Work in matching magnifications as steps are advanced.
Begin with the rose, use filter, map, and tile it to twice its height, 28X60 Open a new file, twice its height and width, 56X60 pixels.
Using rulers as guides for the half drop, place a center vertical guide at 28, horizontal guides at 15, and 45 click on the 28X60 selection at the top of the work window, copy and paste it on the file marked with guides first on the left side, click on the rectangle tool to fix the layer
paste it again on the right, placing a full rose in the center square outlined in the column,
paste again and  move the selection above or below to fill in the empty third of the column
select the rectangle tool again to fix the layer, save the 56X60 file,   filter, map, and tile again to test the alignment ie here, 168X80 the icons selections at the top of the work windows change as steps are completed   A visual summary of the 28X60 image placements  A pattern is a small image that fills areas by placing copies side by side, while a brush is used for painting.
In drafting A collection of geometric design blocks built with squares, rectangles, and lines and considering optical design development, Gimp fill with pattern gained my focus once more.
Pattern fill was discussed in Gimp update for Mac 2
In developing pattern-fill libraries, and saving them, using larger pixel group pngs rather than the smallest repeat needed makes identifying them easier.
These suggestions are for drafts on 8X8 pixel grids.
They may be used to pattern fill from the clipboard while the program is open, or exported as .pat files, adding them to a “my pattern” folder through program settings, where they will be available after Gimp is quit and reopened.
Always tile/draw-in-repeats to check alignment prior to saving.
Color-reversed versions are also useful.
Once the basics are tested, one may begin to move towards shapes and more complex repeats, particularly if using electronic machines. A library of circles, some in dimension used in developing truchet tiles, drawn using the built-in Gimp circle brush, from 5 to 24 and 28 pixels in size. Developing dot designs merit a separate thread as well as more on symmetry painting.
The patterns may be saved as color or black-and-white files.
Passap users should know even though they may see this icon from some old company-shared files along with their own .cut ones,  they are not compatible with Gimp software or any other outside the DAK universe that I know of, where they were an earlier format later replaced by the stp format.
There are always many ways to approach DIY, staggered lines of equal size with alternate color starting points can fill in spaces between each other.
Gimp has offset and symmetry drawing functions.
As a long-time repeat builder, if working in Gimp alone, I prefer working with multiple images open to using layers, and visually making the drops or shifts in the repeats manually by copying and pasting on progressive-size canvases.
Starting out with colored squares in RGB mode allows for filling in each color with multiple different BW patterns, for these samples I am using only 2 linear pattern fills, beginning with a 40X40 design  tiled X5 in brick repeat  and in half drop  Introducing other shapes, 16X16 brick configuration, 32X32
half drop, 32X16   Keeping that black outline, but still rendered in B/W Eliminating the outline, retaining a quarter circle, 16X16Using mirroring, and cropping the repeat using several canvases, eliminating double lines in the process, 30X30.  The maximum size in width for large items in a single piece is generally between 180 and 200 stitches on 5 mm and 4.5 mm respectively.
Gimp comes with many built-in assorted patterns which can serve as a starting point. Here a 160X160 canvas is filled with a Gimp pattern, planning a 20 stitch border on all sides.  Convert image mode to greyscale,  using Colors/Curves adjust values to an input of 47, and an output of 203,   and if planning to knit the piece in only 2 colors, convert the result once more to indexed B/W mode To add any desired border, open a new file, in this case, 200 by 200, working in RGB mode, and fill it with any color other than black.
Copy and paste the image above onto it, it will be automatically centered  Choosing another built-in pattern, the red border is pattern filled To eliminate the yellow, use fuzzy select by color, and check that the bucket fill tool is set to fill with the background or foreground color again.
Press the shift key, and replace the yellow with white.
Convert mode to indexed B/W once more, and export as png.
If desired, using a grid view and pencil tool, additional black borders can be added.
The shift command keys on the Mac used in conjunction with the pencil tool help render straight pencil lines. Any of the larger files developed as tiled designs can be cropped to different dimensions depending on preference and end-use.
Decades ago, before software design aids, there was a knitting challenge circling around to include hidden language or undesirable language in a not necessarily easy-to-read format in knitting, beginning with hand-scripted text, which was then mirrored in width and height.
This was my version of DBJ vertical design, with the photo rotated and repeated to visualize what the appearance might be on a larger piece.
There are some really interesting examples of hiding messages in textiles throughout history and even books written on the topic, it is referred to as steganography, which means hidden writing.
When I was teaching there were often as many as 15-20 students knitting in the studio at the same time, and I felt a need for an expletive outside the less civilized 4 letter word that came to mind when multiple emergency yell shouting my name for help occurred at a single time.
Hints on using text: Gimp to create text for knitting
This image, rendered in Gimp with superimposed text and filled with patterns in both the text and in the background illustrates my answer to that problem.   I have often seen illustrations of artworks for sale online using portraits with superimposed all-over patterns.
This concept for a possible knit began with an AI-generated foursome using Midjourney  My chosen image, originally 700X700, with image mode changed from RGB to greyscale, indexed to 3 colors, scaled and trimmed to 181X183selecting a random brush for superimposed pattern, 30X40  file, new, exact dimensions as portrait, white ground, 181X183, fill with pattern, layer, transparency, color white to alpha,    copy and paste on portrait file, fix layer, save .png Image ready for download using img2track  For use on a 930, the design is broken down into multiple tracks by the software, each to be downloaded in sequence as a new pattern.  Placing the portrait with white color to alpha on top of the BW pattern filled ground produces a slightly different result The same repeat, with a few pixel changes  Using a different punchcard pattern repeat with a different pattern fill, the portrait becomes more hidden A video on achieving a similar effect using Arahpaint   If the goal is only to change the background, there are several options for that as well.
One way to remove a background containing varied shapes, and return to an often-used of my old friend Rocco,
the file, 150X154,  add an Alpha Channel The Free Selection tool, or Lasso, allows for creating a selection by using a pointer.
Since GIMP-2.10.12, selection modes now, in 2.10.34, work differently.
Marching ants/dots come with a continuous line, meaning that the selection is not validated yet and that you can still change the selection shape (the mouse pointer comes with the Move icon) but keyboard commands may no longer work. When satisfied with the changes hit enter/ return key on Mac to validate the selection.  Enlarge the image to make following and marking its outline easier.
Freehand selection can be made in small segments at a time connecting short lines, or long, continuous strokes.
First, create a starting point by clicking on your image.
A yellow dot will appear. As you move along the edge of the image, the colored dot reappears every time you stop, with the previous locations turning into empty circles.
When it is reached, if you click on the endpoint, it turns filled and is accompanied by a moving cross.  Use the return key to pause if needed.
Pressing and releasing the mouse pointer allows you to mix free-hand segments and polygonal segments.
If you click on the endpoint, dragging alters the shape.
When the endpoint is on top of the starting point, click to close the selection.
Double-clicking on the endpoint closes the selection with a straight line.
You can go outside the edge of the image display and come back in if you want to.
Escape cancels all continuous selection segments.
When the lasso selection is completed there will be visible dotted lines around the selection Color invert the result Open a new, white canvas of the same size and magnification, and copy and paste the color inverted one on it  Use color invert once more, Rocco is now on a black ground Using the result in online dithering programs provides a different result than when dithering the full greyscale image. This result is from using https://29a.ch/ditherlicious/  If the result is an instant favorite, and the goal is to fill the ground with a pattern, use the lasso tool again to eliminate the black more carefully than I did, repeat the steps to color invert, copy and paste on red,  Color invert once more,
Fill the background with a chosen pattern, convert image mode to indexed B/W, and export the resulting file
If the image is to be knit using 3 (or more) colors per row, this is one of the myriad possible results using my favorite dithering option, https://app.dithermark.com. Returning to the greyscale image on the black ground,  the latter can be bucket filled directly with any chosen pattern   To superimpose a pattern on the whole image, fill a white canvas in the same dimensions with the pattern use Layer, transparency, color white to alpha  Copy and paste the result on the original Full greyscale is not knittable.
What about using the AI portrait in B/W or 3-4 color knitting?
172X172ditherlicious 2-color,   and dithermark using the built-in pattern selector for 4-color.   The image will be elongated in actual knitting, this window from img2track on the left is set for 4 colors. Changing selection to 2 colors and opening the same image, it is converted to B/W 3-color with diagonal hatching 2-color
Though visually some images may appear as though more than 2 colors are in use, here is the comparison using img2track between opening the above on the left, and, on the right, after changing the image mode to B/W indexed using Gimp with added cross-hatching followed by image mode to B/W in Gimp simply to note visual differences    
and a different cross-hatch, with a value balance change, in B/W mode

 

Blistered dbj 3

Names referring to the same knit fabric can vary between machine manuals for specific models and brands or references in books, magazines, and articles depending on the dates they were published.
My earlier share on the topic:
Blistered stitches dbj 1
Blistered DBJ 2 and technique variations on a single repeat, introduced some of the concepts involved.
Beginning with any random published repeat can offer the start of exploring a range of fabrics. This was a Pinterest punchcard share, markings indicate it was intended for Brother machines  Methods for obtaining color separations for specific knits have been discussed in other posts.
Brother models can use the cam buttons to perform a function in one direction only, ie by using only one tuck or slip button, the machine will knit when the carriage reverses movement to the opposite side.
Developing specific color separations makes the files usable on other machine brands and models, makes it easier to return to specific rows in error corrections, and is my personal preference in test swatching and complete pieces.
Drawing the initial design in repeat provides a visualization of the resulting secondary shapes and the number of needles required for tiled variations in finished pieces based on gauge.
The first design is intended for use in every needle rib, with the knit carriage knitting in one direction, and using slip or even tuck in the opposite direction.
The 24X32 design extracted from the inspiration punchcard  A: the rendering scaling the design twice in length
B: making the choice to color invert it in planning slipped stitches on the larger number of white pixels
C: superimposing black lines on every other row beginning with row 2 A quick review of the steps involved in working with Gimp:
begin with magnification for easy viewing, ie. 800X, view grid if preferred
the starting brush can be as small as this 2-pixel   select it and save it to the clipboard by choosing copy visible, making it available to bucket fill images, or export the same design as a .pat file and save it in the appropriate settings folder for future use.  A: the original design repeat rendered in black and white
B: layer, transparency, color white to alpha
C: file, new, white ground, matching size, filled with a pattern of pairs of horizontal all-white pixel rows beginning with white on row one, followed by all-black pixel rows on row 2
D: copy B and paste it on C, and export the file as png The chosen repeat may not be color reversed after programming it using the machine’s built-in electronic functions.
White pixels slip, stitches on the main bed in non-selected areas would not knit off for extended periods ie where red marks occur, and noticeable problems would develop quickly Beginning proofs of concept for this version, 24X64  knit on 60 stitches using it drawn in repeat X3, 72X64, and programmed as a single motif  The result is a very subtle contrast lacey knit The yarn thickness and color were changed. The pattern begins using the slip setting and transitions to tuck, also in only one direction. Because the ribber is knitting every stitch between stitches on the top bed holding side-by-side loops down, tucking on multiple side-by-side needles can be performed,  producing a wider, stretchy knit that also lies flat.  True blisters/pintucks generally knit rows on the top bed alone forming pockets that are eventually sealed by all knit rows.
Slip stitch settings are used.
The design is at first lengthened X5, then every 5th row is filled with black pixels or punched holes.
A begins in smaller groups of gathers, testing for any errors or problems, while B allows for deeper folds. A: the mark shows the stitches on the top bed begin to slip far too many rows
due to using the color reverse option in the 930 before continuing to knit.  With a switch to the blue yarn, all-knit spaces between the pockets now begin to appear gathered. Slip stitch results in narrower knits, noticeable in the ruffled effects on every needle rib above the cast ons B: the extra row of slipped stitches result in a far more textured knit   Developing other layouts for the same design, brick 24X128   half drop 48X64 Eliminating unwanted extra stitches from the original, modified to 24X28 pixels drawn in repeat to 144X168 brick version 24X56 half drop 48X28  adding those all knit rows  Viewing repeat alignments  The 24X112 brick repeat suitable for punchcards, not tested,   and the half drop, 48X56  tested using a 10/2 cotton and lightly steamed and pressed. Knit on 80 stitches, it measures 17 inches in width and 11 in height.
an attempt at a more detailed look  

 

More Truchet inspired tiles, a brief look at gradient filter use


The latest ArahPaint user manual download,  updated on February 9, 2023, includes added directions for drawing in repeat including a truchet/Smith tile variant.
This post will not provide specific how-tos, the pngs can be downloaded and used to perhaps test Arah’s features or to aid in finding a personal, preferred method for manipulating DIY designs.

There are additional Arahpaint options for altering designs in width and height which may be used progressively on the same image. Some in the group of edits and rotations are evocative of the Passap console’s Alter programming loop.   Lower in the same menu, diagonal mirroring opens yet another series of possibilities. These samples were produced in a Passap workshop, using the console Alter, add commands. Note that mirrored areas have identical pairs of side-by-side pixels at their meeting points,  while ArahPaint offers an opportunity to change that, a thing to keep in mind when returning to simpler motifs such as those used for tuck stitch. Performing the rotations, however, will render the result with an odd number of pixels in width, often making them less likely to be usable in punchcard models  My area of interest has been primarily and still is in creating textures beginning with small repeats that may grow in complexity and size to make the structures programmable and thus easier to track and execute.
Presently I rarely engage in multiple color motif work ie fair isle or other large-scale textile pattern applications but my curiosity in applied techniques has led me down this potential giant rabbit hole.
The speed and ease of drawing variations for repeats using ArahPaint make the process addictive.
The source of inspiration for this design series is “The curse of truchet tiles”.
When recognizable circles are a goal, these tiled motifs often begin with starting sizes as wide as the 24-stitch standard punchcard repeat limitation, and the manipulated larger motifs are suitable only for electronic machine models capable of accepting software downloads. Adding lines and extra dots of circles
Isolating fractions and individually rotating segments to draw again rendering larger repeats More info on knitting DBJ using more than 2 colors per row:
DBJ: more than 2 colors per row 3 3/22
Img2track_multiple colors per row dbj, each color knitting only once 1/21
DBJ: more than 2 colors per row 2   12/19
DBJ: more than 2 colors per row 1
12/19

Adding one more color to the last repeat whole planning a knitting a test at a max of 3 colors per row knittable in a single track 
The img2track window Positions of the respective yarns in the color changer as suggested by the program result in accuracy prompts by the machine on which of the respective colors should be in use at any one time.  Planning gauge-dependent pieces using large repeats requires large test swatches, generally a minimum of 100 stitches by 100 rows.
Adding and varying the colors in the design draft to match the yarns to be used in the repeat helps to visualize the possible result, and allows for using the sequence suggested by the download program to help track the proper color changes.
The test here is 60 stitches wide, knit one full repeat in height, measuring 7.5 inches in width by 11.75 inches in height after resting. On rows where the colors for the dots and squiggles may knit in small parts or not at all, there will be a preselection of large groups of needles such as seen here.  Birdseye setting is used to decrease motif lengthening. The img2track user manual describes the steps necessary for downloading to different model knitting machines and possibly using more than single tracks. A series inspired by another of the tiles in the linked publication   
Similar to one of the source repeats, increasing the balance between light and dark Open areas or specific rotations in the visual space may be created by eliminating or rotating individual segments.
To change the mirroring type, place a mouse pointer over the arrow that you want to change, and press the left mouse button. The arrow will jump to the next mirror type. With only 5 mirror types, you will get what you want in a maximum of 4 clicks. If you press the right mouse button, it will put the arrow to the default orientation. The result of course is dependent on the original file choice. Combining duplicating repeat variations with drawing in repeat helps one develop a DIY library of favored tilings. Begin with a possible background Tools/ Find Repeat  Aiming for knot variations, a cross-over to add to segments of the ground, manipulating individual tiles, adding copy and paste More play with manual duplication of tiles as opposed to drawing in repeat Combining different scale repeat segments, starting with 54X36 pixels  And it’s not all about just circles, a 36X36 pixel design to play with A reminder, if the plan is to add color in continuous lines, it is best to place the colors after the full design repeat has been developed rather than on the individual starting tile segments, For some, this would be considered a design feature.  A very different look may be achieved using any of the available filters. A square image of any size may be filled with a color gradient while keeping in mind the fact that knitting is very low resolution and the maximum number of available needles for patterning is 200 or under.
Beginning with a 20-stitch file. Below the software tool options on the right, click on the tool in the area marked with the red shape to produce a design that may then in turn be drawn in repeat No edges were cleaned up in this view. The design meets the maximum 200 pixels/needles size Going larger, an 80-pixel start to end with a 160-pixel blanket or tapestry suitable image with some wiggle room for adding a frame/border. The concept may be used in various densities for use in an accessory such as a scarf, spaced and colored to your liking, or even sweater bodies and sleeves planned specifically based on stitch and row counts for each of the pieces involved. Filters may also be applied in developing other stitch structures in addition to working with color motif designs. That topic merits its own post.

A “fast pattern” user guide shared by the ArahPaint 6 developer October 2023 which demonstrates how to use filters with associated designs https://www.arahne.eu/pdf/fastpattern-EN.pdf

Truchet/Smith inspired designs 2 meet ArahPaint

Added explorations of the Smith tiles.
Most common knitting machines capable of accepting electronic pattern downloads have a number of needles ranging between 180 and 200 on either of the available beds.
Punchcard machines have a 24-stitch constraint in width for repeats that are selected in fixed locations on the top bed, while height row counts can be endless if one keeps joining punchcards together.
The narrow repeat width does not allow for impactful tiling such as seen in the truchet variants.
A 24-stitch initial repeat can be created, but will not align properly ie. here:
the 24X56 png, colored in and repeated in width and height X3. It can, however, be drawn in repeat using ArahPaint to produce a new and successful design repeat ie this 48X112 pixels version and its appearance in repeat on a larger canvas: Electronic machines can be used to knit large, non-repetitive designs based on the number of needles available on their beds.
Unless knit-from-screen software is used, the size of the files downloaded to specific machine models varies depending on both the software used and the knitting machine’s available memory.
One of the issues using online generators as seen in the previous post is that the files tend to be high in pixel counts and rendered in RGB mode.
Changing image modes to BW indexed and scaling the large design to a smaller version have an effect on the edge definition of the shapes and are likely to require clean-up to remove or add pixels.
Beginning with small and clearly defined forms, tiling repeatedly to larger ones will allow for results that can be cropped to specific sizes with clean edges along the secondary shapes.
Beginning the proposed method with the Smith tile, a place to start is to choose the smallest successful circular forms.
The repeat works using quarter squares, so the file size needs to be an even number of pixels in width and height.
Getting a sense of the appearance of the edges of small circular shapes, with the intent of choosing one for fabric development, beginning with an 8-pixel diameter, and increasing it in turn by 2 pixels at a time to 20.  The 8-pixel circle is chosen for this exercise.
Following the steps outlined by the developer in the video viewable on Instagram and Facebook, open a new picture, and set the image size to 8X8 pixels The goal is to create a clean design outline forming shapes that may be filled in to yield the secondary tiling designs.
To zoom in or out in ArahPaint: use Shift+ or – on Mac, click on the magnifying lens icons in the toolbox, use the command key and roll the mouse wheel or scroll along the vertical center line of the mouse, or press any number from 0-9 on the keyboard to change zoom directly to that level (1 means 100%, 6 means 600%, O means 1000%).
In RGB mode even if the shapes are drawn in black, when converted to indexed BW some pixels will be lost. If any lines are broken, control in using the bucket fill tool on only selected areas is lost.
To begin with, set the number of colors and the pencil size to one pixel   Use the draw circle tool, and select drawing from the center Draw a quarter circle starting on the bottom right of the square, and ending in the center of this image. In this case, there will be 4 white pixels on the left of the line, half the diameter of the planned circle. Click on the pencil tool to set the image. Repeat the Process, drawing a mirrored image beginning on the upper left pixel position, and ending in the center of the image as well Open the drawing in the repeat window and set the number of repeats vertically and horizontally, done here first in standard alignmentDo not click on random, select new picture, OK. If satisfied, save the png. Undo may be used to revert to the original file unless new picture was left unchecked.
For the Smith tile repeat, do click on random to apply different rotations of the repeat.
Load the 8X8 file
Zoom out to check the pattern and view changes adequately
Open the draw in repeat window
Click on random, and the proposed rotations will appear as symbols,  click on new picture and then on OK to view the result, a file that will now be 32X48 pixels. The result can be saved. To preview other arrangements:
choose undo, return to draw in repeat, random, preview, and with each repeated click on random a new image will appear on the screen. At any point select a new picture, OK, and save the result.  The final png for test knitting for my test swatch Its segments bucket filled with black  If bucket fill fails selectively and floods the whole image, return to drawing in repeat and click on close. Return to the image and continue the fill-in process.
Developing a larger repeat to select an area of interest while keeping in mind the maximum needle width of 200. This repeat is perhaps usefully cropped to blanket size.  Seeking a shorter and narrower motif for a scarf, in the range of 60 to 100 pixels in width that may not require too many tracks when programming the 930, the same 32X48 design is drawn in repeat X4 in width, X2 in height to 128X96 pixels. The above is split directly in half vertically for this exercise, rendering two files, each composed of 64X96 pixels. The left half,   and the right Checking vertical alignments and committing to the one on the right for the test swatch, knitting on 60 stitches for 120 design rows, using KCI, and starting with dark color from left.    That shape in blue that looks almost rectangular is actually not quite circular in the repeat, seen here color-reversed on the bottom right, with the definition also slightly lost in the knit due to the stitch size and birdseye stitches twist.  Comparing the 3 swatches in scale and shape definition: A tiny repeat formed with a thicker line Drawn in random repeat Dividing shapes into symmetrical segments is easy after configuring grid properties, in this case into thirds 12X12 in repeat adding an outline to change the weight of the lines by a single pixel all over without using more specific options Using the filled in double circle 18X18 repeats drawn in repeat While the definition of true circular shapes may be an issue for some when knitting the Smith variant, others may enjoy variations made by playing with other shapes and angles, here a 16-pixel square was divided into quarters adding a single pixel contour combining quarter circles sith full squares   Building larger repeats with interwoven intersections Playing with adding colors. In many instances when tiles are drawn in repeats requiring rotations of the original file, coloring in needs to be done after the final image has been composed.   Color exchanging fine black outlines to white, or filling the white background with black in order to reduce files for knitting no more than 3 colors per row.  The more complex designs become exponentially larger, require electronic downloads, and must meet the limitations of machine memory. The maximum equivalent for pixel per stitch is 200 pixels in width on 4.5 mm knitting machines, and 180 for Passap, with the possibility of separating the width and length into panels for large pieces ie tapestries, or blankets. Long vertical design segments, depending on their height, may also need to be separated in steps for programming them to produce narrow, long, pieces such as scarves or shawls.
The truchet triangles pose a different issue in knit design.
Quilters are familiar with block designs easily found in print and online that technically may be broken down into triangular blocks joined and meeting to form sharp points. Truchet in his publication used half-square triangles and assigned letters to the segments,   providing alphabetical references in illustrations for the permutations,  all far easier to achieve nowadays with the aid of software.
In ArahPaint, begin with choosing a square size, in this instance, 8 pixels by 8 pixels, matching that in the exercise using circles, and draw a triangle filling the canvas from corner to corner Drawing in repeat, the choice is made to repeat the triangles twice in both width and height, the preview symbols for the rotations of the shape are illustrated pointing in the same direction by default.  Clicking on any of those half-arrow shapes will rotate the specific shape in the tiled design, this becomes an action that may be influenced manually.  Selecting new image will render this,  which illustrates what happens when those triangles are used in knit motif designs. Inevitably, there will be areas where corner pixels meet to join others and the choice will need to be made between using the original or the color-reversed version of the repeat. Designing for a maximum 200-pixel design, the number of available needles on Japanese knitting machines, and continuing with random selections, paste 25 times in each direction, ultimately saving one of the new images:
its color reversed version Deciding on the first, an isolated area can be cropped to be used in an accessory ie a 72-stitch scarf, retaining full triangles, using the full 200-pixel height. Wanting to retain a 96-row max height for use on the 930, what happens when repeats line up vertically?  the isolated 72X96 design The assumption is that any change in vertical simple repeats will line up forming new triangles at the intersections not visually interpreted as patterning errors, the above repeated 3 times in height to 72X288 Committing to a test swatch: the wool ply is 2/13, and the space dyed rayon 20/2 and thinner in appearance. The contrast is not high, to begin with, and since the sample is knit as DBJ, as a result of the difference in yarn thickness the dark color bleeds through behind the lighter, reducing that contrast even further.
The places where the single pixels at the individual shape corners meet other shapes in the repeat can still be easily located.
The sample repeat size is 68X96 pixels, designed to include 2-stitch vertical borders drawn with dark pixels, the knit carriage was set to KCII, which allows the formation of distinct single color edges  Another alternative: beginning with a 9X9 repeat, drawn in repeat to 225X225, shapes do not touch in this rendering,  but do if color-inverted.  Isolating a repeat from the “floating” triangles, 45X81 tiled X3 to 45X243 may look ok but aside from the issue of choosing visually floating shapes vs still touching ones,  the big problem to be considered is the fact that for the machine KRC color separation to happen correctly, the repeat downloaded must be an even number of rows. A workaround may be to double the original height to 162 rows prior to programming it since one cannot use double height and KRC buttons at the same time in many machine models. Pursuing personal preferences can be endless. I am increasingly fond of the repeat that began with the 8X8 square.
Working with quarter-filled segments:  multiplied by 20 in each direction to a 200-pixel repeat. Drawn using random/ preview/ prior to saving the file  Its color reversed view

Truchet tiling design inspiration 1

For many years my knitting of accessories and wearable pieces was my source of income, guided by what pricing the local market would bear, the limitations of mylar sheets or that of an early Passap interface to program repeats, and the amount of time required to complete each piece.
There is practicality and ease in playing with colors using small motifs single-bed, and varying materials and yarn plies allowed me to aim for limited edition designs without looking at identical finished products more than once or occasionally a few times.
At first, Ayab and then img2track changed the playing field in terms of downloading and programming designs.
Eventually, my knitting moved from production pieces for sale to creating samples for my blog almost exclusively.
I have had a long and continued interest in math-based designs, and knit a line of accessories using automata-inspired repeats, often limiting the repeats in size to ones that would align vertically without having to program multiple DBJ segments, reducing the possibility of programming errors in scarves that would often require around 1200 knit rows in length.
A 930 followed the 910, this, knit in July 2021, was my first try at using img2track to download multiple tracks. There are many ways to yield math-based patterns, and nowadays online generators and reference sites abound, making it possible for nongeeks to use the resulting files to create knit suitable designs.
Some recent Truchet tile images shared on Instagram brought me back to exploring math-based images and what by default needs to be executed as larger-scale design motifs in knitting.
Sebastian Truchet was a Carmelite priest whose “Memoir sur les Combinasions” was published in 1704. It is a wealth of patterns built up from a simple motif, which you can see here
http://gallica.bnf.fr/ark:/12148/bpt6k3486m.image.f526.langFR and in which he discussed squares, half black, half white, split into triangles, with four possible orientations for each tile. He was also the inventor of the point system for indicating the sizes of typeface fonts.
His method of tiling by the combination of manipulating four-letter codes, A, B, C, and D, in rotations using triangular shapes inspired new variations in tilings.
Cyril Stanley Smith introduced two alternatives to the basic Truchet tile in 1987. One uses only diagonal lines to create maze-like designs where the coloring is removed and only the boundaries remain. The other, resulting in the designs produced in this post, uses quarter circles that may be filled or used as outlines and rotated to form the final shapes.  Distinctions in naming the tiles are not often made. “Truchet” is the commonly used generic term.
Some articles on the tilings:
Generalizations of truchet tiles, Multiscale Truchet PatternsThe Tiling Patterns of Sebastien Truchet and the Topology of Structural Hierarchy, and More on tiles, fun with portraits.
Basic elements include contrasting triangles,  quarter circles, and diagonal lines.
One may find code for programming DIY in various GitHub links. Python is far beyond my interest or skill, there are many ways to achieve the designs.
Spreadsheets are also programmable, but require the development of formulas.

Developing patterns from online sources, beginning with the Smith variation using quarter circles: the Wolfram site is a computing and math one well worth exploring, the files there are Computable Document Files, a document standard developed by Wolfram Research. They can be saved and opened using the Wolfram CDF Player, which is a standalone application and a Web browser plug-in provided for free.
To preview search results in a browser: https://demonstrations.wolfram.com/TruchetTiles/.
Ad blockers may interfere with proper previews in Safari but appears to not be an issue using Chrome as the browser.
Files cannot be saved from the preview results other than as screengrabs.
What is cdf  
For permanent access to preferred CDFs:
CDF Wolfram player download is available for Mac and Windows, you will be asked to provide an email address.
After the player is installed and opened, click on the central option, and search for your area of interest.  Any demonstration may be saved for future use, most are customizable to varying degrees.
In my first effort, I used colors and left the black outlines. The second, simpler method of editing follows below it.  The swatch png, 58X150, includes 2 stitch vertical borders in the dark color. The machine was set to the built-in KRC color separation for DBJ. Some of the circular shapes have been already edited, but if I were to reuse the repeat, I would clean up more of the design shape edges
160 design rows were knit, measuring 7.5 inches by 20.5.
The dark color is a chenille from an unmarked cone with uncertain yardage. The space-dyed is an 8/2 rayon slub.
Tension was set at 5/5, the knit carriage on KCI, and the ribber using lili buttons for birdseye backing. KCII may be used as well if preferred, the side vertical edges will have a slightly different appearance. Developing an added repeat:
the working file in the cdf is a default 600 by 600 pixels. If the goal is to save a black-and-white downloadable png, the present plan is to fill in portions of the design with black while leaving others in white.
Checking tiling insures continuous designs at any point in the process.
It is possible to directly scale size in the cdf, but the shape outlines become broken in the automatic % reduction, so the filling-in process I suggest fails to be contained. In this exercise, none of the other available parameters were changed. When the player is launched, click on the tile, it will be surrounded by an orange line,  copy the image, and it can then be pasted directly into Gimp.  Change the Image Mode to BW Indexed before proceeding further.
Using the fuzzy select tool click on any area in the design, it will be surrounded by dotted lines select bucket fill, to fill the selected area with black.
Edit, undo will revert to the previous steps in sequence at any point.
If satisfied, select the rectangle tool.
Clicking on the selected area will allow its use for copying and pasting the outlined segment on a new canvas or cropping the area to the selection for saving while clicking anywhere in the Gimp work window fixes the results. The dotted lines disappear. Repeat the process on the remaining image.  The processed file will measure 600X600 pixels.
Anyone working with large-scale images and reducing file size to make them available for knitting as single panels on a standard machine is familiar with the loss of detail and the need for cleanup of edges as incremental decreases in file size are attempted.
Magnifying any of these will help evaluate forms and scaling decisions for final repeats to be used in knit test swatches.
Downloading or copying and pasting them from here for personal use may change the image mode to RGB in the process, check mode and convert them to indexed BW if needed before any further use.
300X300200X200 pixels  150X150 pixels  The proof of concept was knit using the 100X200 repeat without any pixel cleanup.  The blue yarn is a 2/20 wool, and the white is a 2/28 Italian yarn of unspecified fiber content from my stash. Both beds were set at 2/2. The KRC setting separated the colors so each color in each row knits only once, but it takes 2 passes to complete one row, so 100 design rows translate to 200 rows of knitting. In this instance, img2track used on the 930 broke up the design into 2 tracks, a 66-row first track, followed by a 134-row one.
Each track needed to be programmed sequentially.
The ribber was set for birdseye backing, which in this case results in an interesting shadowing of the pattern Comparing the two swatches: Variations in tiles made by changing variable view options will still align when combined, easily producing a range of new designs at merging points. Use guides to help narrow down segments of interest, here they are placed at even 100-pixel intervals on two adjoining 600-pixel images. To remove a single guide after placing it, go to Edit, Undo Add the Horizontal or Vertical Guide. To remove all guides, go to View, and uncheck Show Guides.
And for those not averse to developing any larger motifs from scratch, the limitations of any geometric shape, when reduced to low-resolution knitting, mean the search must begin for what one determines to be a pleasing circular form.     My original circle was placed on a 40X40 grid with outlines every 10 cells, the central circular 20X20 repeat was isolated and split into quarters, in turn generating these 2 tiles out of the 8 total required, also 20X20, with the second the color-reversed image of the first. A similar approach can be used in color to visualize the initial 8 tile repeats and their rotations in order to form new shapes. This technique may be useful in planning floor tile patterns but is cumbersome for developing knit designs. Facilitating and speeding up the process: in my post on using ArahPaint and Gimp in knit design, I briefly touched on the Drawing-in-repeat feature in Arah to produce random tiling.

Thanks to the developer there now is a video, viewable on Instagram and Facebook, on how to use the feature for this type of tile, which allows for very quick DIY versions that can be trimmed as needed for knitting. This is my very first try, a how-to will follow in the next post.   And the second, composed of triangular formsFor spreadsheet users, this one generates the various tiles in Google Sheets and a related article.

 

 

Figurative designs in mosaic knitting

Designs may be developed to incorporate lines and grids by outlining motifs, filling in the results with grids or lines, and even color inverting the results.
From an early 2013 post:
Each number on the grids below represents 2 consecutive rows of knitting. The design may be elongated in the drawing of the final repeat itself prior to punching holes, marking mylar or pixels, or elongated using the built-in setting in the KM used, whether electronic or punchcard.
Color changes are required every 2 rows.
The grids: After a motif has been separated, usually color 1 is represented in row 1, and all odd-numbered rows
color 2 is represented by row 2 and all even-numbered rows
long horizontal lines in mazes usually occur on odd-numbered rows
even-numbered rows typically have no more than 2 black squares marked side by side
on odd-numbered rows, the white cells slip
on even-numbered rows, the black cells slip
odd-numbered rows are knitted in the primary color (black cells)
even rows are knitted in the contrasting color (white squares)
Forming shapes and or text on the vertically symmetrical grid: 
2023
These single-bed knits are ideal when float control is an issue, or when one wishes to reduce the bulk of fair isle techniques. There are, however,  geometric design restrictions and the resulting patterns may be too “busy” for some.
Separated designs interrupted by black or white lines rather than single-cell dots are knit using slip stitch on the single bed, or in every needle rib with the knit carriage set to slip or even tuck in both directions on the top bed, and the ribber set to knit in both directions, a very different fabric.
The basic procedures for drawing figurative repeats may be worked out using graph paper or image processing programs, depending on what tools are available.
Working in Gimp, generate a file in a basic grid, which in turn may be tiled to any dimensions needed. Using the bottom grid is problematic in creating figurative mosaics using the connect-the-dots technique. Attempted vertical lines do not connect cleanly.   Cautious planning is required in executing figurative designs.
Clean-up will often result in solid color surrounding shapes or the addition of some short solid lines.
Doodling with blocks on both grids in a spreadsheet.  Text becomes more complicated if one seeks to emulate favorite fonts or to work on a small scale.
A spreadsheet using multiple colors may make the drawing easier to start with. By necessity, repeats will once more need to be large.
With practice, one develops favorite ways of reaching the chosen goal. Large shapes may be superimposed on either dotted grid for final editing depending on what sort of border one wishes to add in designs for end-use in large pieces such as blankets.   Figurative drawing occurs on rows marked with black pixels on the grid where black dots line up vertically.
White rows remain blank except where the black dots in the shape’s outline need to connect vertically.
After the outline for the motif is created, the filling-in of the shape is executed connecting dots once again.
By necessity, these shapes need to be large.
My first design is 68 stitches wide by 40 high. Processing the image is done on the same design. When color-separating Mosaics the design is not elongated.
Using the steps described in previous posts on a copy of the initial file: color invert, It is interesting to observe that the knitted result matches this image.
The file may begin as black and white indexed, but prior to adding colors the mode needs to be changed to RGB.
Add a third color beginning on every other row beginning on row 1,    using layer, transparency, and color to alpha, the third is removed, leaving black and white.  The alpha file is copied and pasted on the original resulting in a knittable mosaic repeat that requires elongation X2.
Check that the file is in indexed BW mode prior to saving it for knitting, it will need to be elongated X2 if used as is.  The above doubled in height, now 68 stitches wide by 140 high, may be knit as is.  Those solid black areas are OK. On the corresponding design rows, needle selections on nearly every needle will take place, those needles will knit the color in use at the time.
The tuck setting is possible, the final appearance will be quite different. For my swatch, I used the slip setting.
Slip-stitch pieces tend to have vertically straight side edges, while tuck ones tend to have wavy ones.
The floats on the purl side are still only 2 stitches wide.
The all-knit areas are not reduced in height, so they ripple initially and became flattened with blocking in this case, but caused the top and bottom of the horizontally striped segment to curve.
Starting knitting using the light color as opposed to dark will color invert the design.
The blue yarn used here is wool and the yellow is acrylic.
The swatch was steamed and pressed.
The dark color is dominant.  Visualizing the color inverted image using the photograph of the swatch rather than actually knitting it:  A 48X46 heart to play with for DIY Beginning in a spreadsheet followed by transitioning to Gimp can use a similar dot-to-dot design concept. It offers the opportunity to make adjustments before fixing on placement for the final black pixels over other colors. Moving away from dot to dot to “visually pleasant” does not necessarily work.
The flower design chosen and committed to for the moment is 37X32, visualized on possible backgrounds, and placed on a final one drawn with straight diagonal lines in pattern, for the test knitting  Aside from whether accurate tiling is possible for that final repeat, it has far too many white rows uninterrupted by black squares. As in any slip-stitch fabric, a stitch is held in every white cell or unpunched area location until a black cell or punched hole follows it, the result is very elongated single stitches on the knit side: There is a limit as to how big a part of any final mosaic repeat can truly be freeform.
It helps to develop a library of personal grid variations, to be willing to observe some basic rules, and to have an affinity for the overall look of the results.
In terms of the basic grids, the horizontal stripes have already been shown in the fish to produce 2-row all-knit stripes in alternating colors where they are placed in the design.
The vertical stripes create this result when proofed, and it can be recognized in the png for the body of the fish  Developing a DIY background: I find it easier to work on such designs on a large table in Numbers, which allows for placing a variety of colors and in the same document more easily, and then converting the outcome to a BW indexed png in Gimp. The smallest isolated repeat, in this case, is a square, 20X20 Make certain it tiles correctly before proceeding:
The final file doubled in length shows no areas where extended slip stitch rows might be an issue. This step is not necessary as one begins to trust the process. Returning to that flower, on the white-to-alpha ground, a 37X32 saved file, open it in Gimp.
Open a second file, using the background-repeat, and tile it X2 in both height and width to a matching 40X40 size.
Copy and paste the flower onto it in what appears to be a visually pleasing location, clean up the surrounds, and save the png.  Proceed with the now familiar steps: The final repeat must be elongated X2, color inverting may provide a better sense of what cells knit or slip, and it may be used to knit the design.     The working 40X80 repeat: Once again, the completed swatch visually matches the original file, color inverted.
The latter provides a sense for guessing if the knit results are pleasing and it offers a way to explore different colorways or matching yarn colors.
Pursuing the dot-by-dot concept can lead to endless DIY designs. Playing with motif scale in Numbers: Isolating part of the design in Gimp: 42X44  A variation using multiples on an 80X80 canvas.  Loving that DIY background? To create a frame
1. choose a finished canvas size, ie 120X120, and fill it by tiling the DIY background
2. open a second file to, in this case, 80X80, in any color including white. I chose yellow as a way to place black border lines more easily
3. copy and paste the second file onto the first
4. add a solid color border at the inner and outer edges of the frame, outlining the shape at its center.  At this point, any image also 80X80 may be simply opened in Gimp, copied, and pasted over the yellow. Files to play with: the frame with a transparent center to be pasted in place on other graphic files,  Here with a dot-to-dot center to draw on, and the file with central flower motifs to use or edit further.  The final choice then needs to be made as to how to use the final image.
One option is to separate the motif for use as a single bed 2 color slip stitch, and the second is to simply use the built-in KRC color separation in electronic machines to knit it as DBJ.
Motif definition requires large-scale designs limited by patience and imagination.
Autofill, command key and other shortcuts can help execute them more easily and quickly in spreadsheets as a first step.
This start of a hummingbird, inspired by a small segment of a Pinterest find, is already 54X101 pixels, ending my exploration of these knits for the moment.  

When editing or developing large images a series of guides may be useful. To configure them, see pos:t Gimp update for Mac 2

Color separations for larger scale mosaics and mazes

There are generators online for many generators to aid with knitting design. In 2015 I published a post on working with generated mazes: Gimp charting 1
The mosaic and maze graphics before their color separations are not suitable for fantasy fair isle double bed knitting. There are too many vertical white pixel rows begging for carriage jams no matter the machine used. The same long lines of black or white cells make them unsuitable for traditional fair isle knitting.
Visual clues are helpful as steps get navigated.
There are many ways to achieve the same goals. In converting small-scale repeats, one option is to begin with a file previously used and separated, magnified to 1800X.
1. using the rectangle select tool, begin on row 1, extending the handle outside the image, I work from left to right
2. hold down the shift key, and continue selecting every other row. As each row is selected, it is outlined with dots. The handles to the right and left of that row serve as guides as to the last row worked, moving up as separation progresses. Clicking on the rectangle select tool at any point fixes the layer, and the dotted lines will disappear. The process could be performed in steps, with guides placed before color inverting the previous steps in the sequence and moving on to the next. The guides remain until they are removed by clicking on the check mark beside show guides, or with the Image / GuidesRemove all Guides command.
This method may be more error-prone than using layers or colors to alpha to render rows transparent when developing large designs.
3. after each pertinent row has been selected, choose the color invert option, and save the resulting file. The first step is completed in the separation.
The file then must be color-inverted and lengthened X2 before knitting. The result matches the separation in the previous post.   Holding down the shift key when using the pencil tool on any image produces very different results.  My samples continue to be knit on the 930 using img2track, a download program I find reliable and easy to use. The only errors in programming I have encountered were due to operator errors, not software ones.

Since 2015 working with larger images has become far less daunting as my methods for color separations of mazes and mosaics have evolved.
Laura Kroegler’s online Mosaic Pattern Generator is still available. Returning to it, and using these parameters the pngs were downloaded both in red and then again in black and white. A 38X38 stitch repeat was isolated, and using Layer/Transparency/Color to Alpha a knittable mosaic design was obtained which, when knit, would require elongation X2 for color changing every 2 rows The last file, doubled in length to 76 rows in height, requires no further processing The separations are achieved now in just minutes.
The proof of concept swatch: when using repeats that are so much wider, one must commit to far larger swatches to test them. In addition, the placement in the final piece may matter with shifting the pattern to highlight a preferred center, here the machine was allowed to place the design as a simple overall one on 78 stitches by 116 rows. There are droves of inspiring large-scale mosaic crochet images published nowadays, which led me to wonder about DIY similar large graphic mosaics in machine knitting.
I performed the first color separation with shortcuts, mirroring the cleaned-up repeat, did not verify each step with tiling, and committed to knitting a test swatch. A 68X136 repeat X2 in width and at least 40 more rows in height, produced a 16X24 inch test swatch, wherein a couple of missing pixels became noticeable.
The swatch was also knit using slip in both directions on the main bed, which produces a narrow, short fabric as opposed to wide and short when using the tuck setting. Back to the drawing board.
The initial approach is similar to that used in creating mock filet crochet shapes on the machine.
With present tools the results process is easy and quick: to begin with, choose any symmetrical design where the shaping of the motif occurs in single rows, this one measures 23X23  scale the file X3 in both directions to 69X69 save this brush to use later for bucket-fill in the design.     Choose fuzzy select by color/black, each shape will be surrounded by a dotted line bucket fill the selections with the saved pattern click on rectangle select to fix the layer, work on and clean up the repeat, and check a magnified version for any missing or misplaced pixels.  Save the png. for reference before continuing to work. Make one of 2 choices. If the goal is to place a motif and to add borders or horizontal additional design stripes, create a new canvas, larger than the above, fill it with the same pattern, and then Colors/Invert.  Click on the rectangle tool to fix the layer.    Change the white color to alpha in the previously processed snowflake, click on the rectangle tool again copy and paste the file onto the color-reversed grid, and click on the rectangle tool.  Check the pasted image visually, and continue adding any other designs.  If the goal is to produce an all-over design, crop the shape on the dotted ground, and save it as a 69X69 repeat. Pasting the original on an equal-sized color reversed dotted ground does not work.  Tiling the result of the cropped repeat will show the need for cropping it by one row at the top and one column to the right.   The resulting repeat, 68X68 tiled X3 in each direction for a visual check.  Using the process previously described
1. open the 68-stitch file in Gimp, and magnify it to at least 800X for a visible grid
2. open file/new, equal size and magnification
3. copy and paste 1 on 2, click on the rectangle select tool
Colors/invert, click again on the rectangle tool or anywhere in the work window 4: magnify further if needed. Using the pencil tool fill in every other row beginning with row 2 in a contrasting palette color, and click on the rectangle tool 5. Layer, transparency, color to alpha, as described in the last post, click on rectangle tool 6. Copy and paste this result onto the 68-stitch file in the first window, there will be lots of dotted lines onscreen  Click on the rectangle select tool to paste the image in place. Since those large areas of white will be knitted in a tuck or slip fabric, the above result needs to be color inverted. If used as is, set the machine’s built-in double-length function.  Doubling the length of the file before the download to km Added info on the technique may be found in the post on More separations for various knits using Gimp, color to alpha
This sequence presents the method of working in a different way than above, and sequential files are provided to test in DIY experiments begin with the 68X68 image color invert it open a new file, 2 rows high with an added color, and save it to the clipboard, white color to alpha use the brush to fill the color inverted image,  red color to alpha and paste the resulting image on the original double the file in length for knitting as mosaic, results matching the previous experiment  Part of the view on the img2track screen for the 68X136 file is ready for download. Committing to proving the concept:  Using the same approach of tripling the original, the repeat was used to render a larger-scale mosaic. The process becomes fiddly because using the fuzzy select tool and the bucket-fill-in pattern does not work cleanly on areas only 3 pixels wide.
That said, it is possible obstinately, in stages, to get from this, 36X54 To a 36 by 56 mosaic
A last edit Perhaps falling in the category of “don’t have to simply because I can”.

Images at this stage of the process may be knit double-bed as a “fantasy fair isle” with no further separation.
On an electronic machine, download the repeat, program it for the number of needles in use on the top bed, and select the KRC separation button.
The first preselection row will need to be from left to right.
The main bed is set to tuck in both directions, the ribber to N in both directions.
There will be lots of non-selected needles tucking on rows with large numbers of side-by-side white cells. Because the fabric is being knit using every needle on both beds, each main bed tuck loop will have a knit stitch on the opposite bed anchoring it down. Those rows will appear more compressed, producing narrower horizontal lines The yarns used were very thin single strands of  2/28 at tension 4/3. The result is a very lightweight and loose knit with lots of drape. The 72 stitches by 140 rows swatch measured 16 inches in width by 10 rows in height. Perhaps a good method for summer shawls, worth exploring in thicker yarns for blankets. A closer look at the structure:  A larger BW design was processed using no modification of the original 75X71 motif. When using Gimp/File/Save, the result is a .xcf document similar to PSD files in Photoshop. It will store layers, transparency settings, and more information associated with and parts of the same project. Note to self: before deleting the .xcf make certain that at least the final png has been saved.

If one is familiar with image processing and fond of the maze appearance in designs, there is a font to try: Mazeletter
The downloadable associated documentation and source for inspiration: http://mazeletter.xyz/Mazeletter.pdf.
A sample text: in a 129X32 BW version with no pixel clean-up  Mosaic4way, is potentially usable for single bed fair isle or dbj.  The BW file, 199X32
There are variable loss of detail or added random pixels when scaling designs containing more than 2 colors. ArahPaint’s guess weave from grid tool is the best I have found for scaling such samples to knittable sizes.