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 prior to their color separations are not suitable for fantasy fair isle double bed knitting as a shortcut. There are simply 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 as well.
Visual clues are helpful as steps get navigated. In small-scale repeats, a different option from the method that follows is to begin with a file previously used and separated, magnified to 1800X.
1. using the rectangle select tool, begin on row 1, extending 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 prior to color inverting the previous steps in the sequence and moving onto 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.
In large designs, I would guess this may be more easily error-prone than when using layers.
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 needs in turn to be color-inverted and lengthened X2 prior to 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, used 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 with 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 also 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 in size 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 size 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 prior to the download to km Part of the view on the img2track screen for the 68X136 file ready for download. Committing to proving the concept:  Using the same approach of tripling the original, here the repeat was used in an attempt to render a larger-scale mosaic. The process becomes fiddly because using the fuzzy select tool and then the bucket-fill-in pattern does not work cleanly on areas that are 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 very quick random type sample rendered with no advance planning: 

Another, mosaic4way, is potentially usable for single bed fair isle or dbj.  The drawback has been that my sample pngs for both were created in RGB mode, and conversion to BW or scaling loses details.
It is possible to begin on an all-white canvas, set the mode to indexed to start with, type text, merge layer down, crop to content, and have workable indexed black and white knittable results, but the degree of success appears to depend on the font size used.
Another thing to investigate 😉

Gimp Update for Mac 3_more on color separations

The latest version Gimp Download site
I am self-taught. As I learn new tools, my workarounds may be convoluted and more complicated than they need to be and evolve with time. I do not delete older posts or their content, but do occasionally add links to later posts or dated notes.
I began designing and charting in the days of having to draw on graph paper and cutting up results to see if the repeats would tile properly when knit, or to place them for alignment variations such as half drop or brick.
Scanning amounted to tracing with a marker onto blank sheets of acetate or tracing paper.
The availability of commercial acetates for purchase at seminars, printed in pairs of matching horizontally striped sheets in lines separated in a variety of widths, offered an advance in scaling designs to a knit aspect ratio. Copy machines became useful friends.
DBJ designs in the punchcard studio, when I began teaching, were accomplished at first with the use of cards themselves as templates and overlays, involving a series of time-consuming methods for each type of separation ie.  So many such processes are now nearly instantaneous by comparison.
Earlier this year the post Using Layers in Gimp for color separations explored several fabrics beginning with B/W motifs.
Sometimes lightbulbs go off leading to other ideas for achieving results in quicker or easier ways.
This color separation method for mosaics continues to use Layers but in a different approach.
A spreadsheet may still be used if preferred to draw the initial draft of the design, working in black and white only would be fine, and the import could then be processed in Gimp.
Mosaics and Mazes are generally knit with color changes every 2 rows using either the slip stitch or tuck carriage setting in both directions. Beginning with any DIY or published design, to knit the motif using the tuck setting, there are basic rules to remember.
This illustrates possibilities using a random 6-stitch repeat, A.
If the plan is to set the knit carriage to tuck in both directions, the design would need to be color-reversed to BThe white cells in B represent loops held on corresponding knitting machine needles, the limit in Japanese standard machines is often 4. Black cells represent knit stitches, generally seen in groups or on either side of tuck stitches/ white cells, to anchor the loops down for proper stitch formation. There are some infrequent exceptions to that rule.
When uncertain as to results in developing DIY designs, begin with a published repeat to build up confidence. This is a hand-knitting resource for endless inspiration, no separations are provided in the book text.  There are always many ways to achieve the same task depending on the specific program used, one’s level of skill, and individual thought process.
This method uses multiple windows in progression.
When starting out, save the result in each step for added practice or in case any step is accidentally deleted.
This is by Kathleen Kinder, published in Floatless Fair Isle, p. 87 Though the final designs are saved as black and white pngs or bmps, to work using colors in separations, the mode needs to be set to RGB. For very small repeats, use view, show grid,
magnify 1800X, type in a number for a preferred value,  or use the command key in Mac and the scroll wheel of your mouse to do so. Using the pencil tool draw the repeat in black and white Selecting file, new, open a canvas in the same size and magnification, with each step a new icon appears at the top left of the Gimp window to select any file, simply click on the corresponding icon, use Edit Copy or command C, and then edit, paste or command V to place files onto new selections.
Copy and paste the first image onto the blank canvas and colors-invert the result  To draw straight lines on a Mac, use the pencil tool to place the starting pixel. Hold and drag the mouse to the desired endpoint. As this is done, a guiding line will appear. When the endpoint is reached and the mouse is released, that line disappears and the selected area will fill with the chosen color.
When using the 2-pixel brush, the mouse must be placed slightly into the second row of cells before dragging it for the line to remain straight and in the proper rows. If an error is made, choose Edit, Undo, to eliminate any step.  Continue to work on the color inverted file, and beginning with row 1 fill in every other row with a distinctly different color. To fix any layer before continuing, click on the rectangle select tool, and then again anywhere in the work window.
Getting rid of the red: this will be the immediate appearance of the image in the window, disregard it.
Right-click on Color/white, choose the foreground or background color or left-click on the Color bar, and click again to choose the color from the palette window. Choose rectangle-select cool, click on the result to fix the image, and the color window will disappear. The result: Copy and paste the file onto the initial image, there will be dotted lines upon the placement,  Click on the rectangle tool again, and then in the work window for the final png repeat. Change the image Mode to Indexed BW if its end use is a download to an electronic machine  Why is it different than the Kinder repeat? It is easier in drawing to color in white squares as opposed to black, so the repeat in the pub is the above, color reversed.  Punchcard machine users may mark the black squares and then punch all others.
The last step: if colors are to be changed every 2 rows, remember to use double length or to program/punch the last png double length.  An illustration for the full double-length punchcard repeat. The above, 12X36 repeat was color reversed and tiled twice to meet the 24-stitch width requirement. The 36-row height also meets the minimum height requirement for punchcards to roll in continuous patterning.
Mark the black cells in the image below on the card, and punch all the white ones. These fabrics are often more interesting using the tuck setting than the slip stitch one.
I have a lifetime supply of copper yarns from my jewelry-making days. This repeat is more a maze than a mosaic. Using a fishing line or wire can sometimes also produce interesting effects.
The blue yarn is composed of 3 strands of 2/48 cashmere/ wool.
The wire is a 32 gauge coated copper magnet wire which tends to flatten the final knit. On the machine, it is hard to recognize repeats due to the very short floats, and the unusual fiber rows can appear to be see-through Using a light color wool rayon as the second color. Using a separated 16X16 repeat from the 2020 post to knit a swatch for Instagram, I noticed a solid 3X3 block in the center of one of the shapes. Because the wire is see-through to some extent, the white stitch floats behind the blocks are noticeable. The copper wire used was 40 gauge, 3 plied. The higher the gauge number the thinner the wire strands, nearly invisible when threaded and while being used. Because the knit tension was as tight as possible, the stitch definition is lost in a few spots.
The original design motif, on the left, was missing a white cell in the location of the red cell. It was quickly converted using only Gimp.  Comparing the old repeat to the new, that problem pixel may easily be located. The corrected file before lengthening X2,  double length  Proofing a pattern is best done using comparable weight, familiar yarns. Here thin poly and 4-pound fishing line are used as the second color It takes a bit of squinting to see the match.  Testing the same repeat in more “friendly” and equal-thickness yarns This 24X28 repeat from the earlier post is reworked in this method repeating the process described here, it took longer to render the repeat than to perform the color separation.  The tiled alignment check
The steps are in sequence and produce a result matching that achieved in the previous post. A reminder: step #6 result would need to be doubled in height, whether by altering the file prior to download or by using the built-in functions in the machine after the download. The theoretical color separation to knit the mosaic as DBJ where each color knits twice, the repeat single length, 24X56 double length, 24X112

Double jacquard using punchcard machines shared manual methods for including one avoiding the elongation by matching the electronic built-in KRC color separation. Using Layers in Gimp for color separations introduced an approach using only Gimp.
There are times that the 2-color separation for DBJ which knits each color in each design row twice is necessary for the intended knit technique.
When testing new methods, one may begin with files that have already been proofed. This file is created so no elongation is required, beginning with the shape elongated X4.
From the layers post, the double-length separation where each color in each design row knits twice Duplicating the result using layer/ transparency  Longer repeats can become more complicated to separate. Testing the results by necessity requires larger swatches.
Using Stitchworld #548, a 24X40 repeat, as with mosaics1: draw the desired repeat in Gimp
2: when the drawing is completed, tile the repeat to check alignment, save the image if desired, or discard it
3: in the original window, scale the image to double its original height, now 24X80
4: using file, new, open an image on a white ground in the same size and magnification, a minimum of 800X, with grid view, as the first window
color invert
continuing on the same image, changing magnification as needed for ease of visibility ie 1800 X, choose a palette color, and using the pencil tool fill in every other row beginning with design row 1 using it
5. using color to alpha will remove the blue color in this case, and the image will change in appearance, the blue is now transparent. Copy the result.
6: use the second image, and paste it directly onto the one in the first work window.
For the repeat to knit successfully as DBJ, the resulting  24X80 file will need to be lengthened X2 to 160 rows in height for accurate patterning to occur. The design lengthened X4, using a 2-pixel pencil beginning on rows 3 and 4,
produces a 24X160 file that requires no elongation.  In this DBJ version, the first preselection row is made toward the color changer, followed by color changes every 2 rows.
My proof of concept is knit with the knit carriage set to slip/slip and the ribber setting left to N/N, creating long stitches.
The height of the design, any bleed-through, elongation, drape, and stretch, are variables influenced by carriage setting changes on either or both knit and ribber carriages.
By default, DBJ knitting requires many more carriage passes than 2 color patterns knit single bed as fair isle.
My swatch does not begin at design row 1 because I forgot to set the knit carriage to slip after the first preselection row and color changing on the left.  Scaling the knit for a sense of the degree of elongation The above separation is the default one in Passap knitting machines.
Japanese electronic knitting machines perform the separation where each color in each design row knits only once automatically by engaging the KRC function.
Punchcard users can achieve the same results for repeats that meet the width constraints using a maximum of 24 stitches or factors of 24 in width.
The separation where each color only knits once from the layers post began with the result where each color in each design row knits twice: My first effort using layer transparency to separate for each design row color knitting only once begins with the double length separation opened in Gimp, not necessary as seen in notes that follow.
Using the pencil tools, marking begins on the second and then even numbered design rows.
When # 5 is color reversed, it matches the separation using layers in the above far right  Using the same concept, the first test began with the separation already completed for the repeat that would knit each color in each row twice.
Toggling magnification helps to make the height of the repeat manageable. Errors are easy to spot and correct if noticed early, a few rows of pencil marks can simply be undone. Save the final png, also 24X160. The separated design is suitable for punchcard machines, my swatch is knit on a 930. Since these separated designs are programmed as fair isle designs, there will not be any color change prompts provided by some machine models.
The first preselection row, as when using the KRC function, is made from left to right. The knit carriage is set to slip both ways. The ribber carriage is also set to slip both ways on an even number of needles, and lili buttons are in use. The visual difference in scale between the two different techniques and color separations.  The simplified method begins with the original design scaled X2 to 24X80. The 2-pixel pencil tool is used to mark the resulting design beginning on rows 2 and 3, skipping the next 2 rows, and repeating the process
Committing to a larger test swatch: The repeat though successful in this case is different from half the first one obtained the long way, the concept merits testing with other motifs.   Years ago I shared the way punchcard knitters may create a DBJ card using a series of templates. The starting 8X8 design was often used in my 2 color DBJ posts. On the right, it is repeated across 24 cells, as it would be in a punch card.  Using layer/Transparency/Alpha the same results can as when using the card templates may be attained in just minutes. Here each color in each row would be knit only once:  In this case, the final result would need to be elongated X2 in order to knit each color in each design row twice. This separation requires no elongation. If the plan is to print a template to aid in marking a card prior to punching, one way to determine the required template size is to measure a punchcard with a ruler in mm.
The width of the card is fixed to a print width of 108 mm since the card will always be 24 cells wide. No calculation is required.
In height, the 60 rows on the factory blank card measure 300mm, 5mm for each cell.
I cropped the chosen image to the top 39 rows and scaled it to 108X195 mm.
(39X5).
When printing on US letter size, with no adjustments other than to the image, the limit appears to be no more than 45 rows per page. I was not able to print directly from Gimp.
The file, exported, opened in Preview, and then printed, is shown with a card superimposed on the printout over a makeshift light box, ready for easy punchcard marking even though the printed cells were not all of the same ink density.   

 

 

 

Working with diagonal patterning in machine knitting

After a slow down in my blog posts for a variety of reasons I find myself playing catch up with the eternal list of knit fabrics that I wish to explore out of my own curiosity and the attempt to answer questions from knitters who contacted me directly via the blog or have asked them in the online forums in which I am a member.
Stephen West is a prolific designer of colorful hand knits in a variety of techniques and complexity. This honey-striped scarf is an example.   Slip-stitch patterning is a likely way of knitting a similar effect combined with
the use of the concept familiar to many when making bias cast-on rags.
A fixed number of stitches is cast on and positioned as far to one side of the machine as possible. They are then decreased on a fixed side and increased on the opposite one.
The strip moves across the needle bed, when far enough on the side opposite to the starting one, it is returned to the original needle bed position and the process is repeated until the desired length is reached.
If the moves to and from are performed on solid color rows matching needle selections may not be an issue. If the repeats in other cam settings are to match, then proper needle placement can be assisted by marking the metal bed, the factory-supplied needle tape, or a custom-printed one, and hand-selection for the first design row may be required and planned.
This chart attempts to visualize the proposed movement using colored stripes. Stitches are bound off on one side and cast-on on the other to maintain a fixed width with shaped edges.  If the goal is to maintain straight bias edges, the design repeat would need to be rendered wider in order to compensate for the shifts on the needle bed in turn modifying increases and decreases at a different rate The black cells represent the adjusted stitch counts needed for each pattern band.  When an item such as a scarf is worn, both options will appear as diagonals. If any picture knitting is included and the direction of it matters when the piece is worn, appreciated particularly in representational fair isle, such accessories are best knit as 2 pieces knit from the bottom up, and grafted together at their center after the fact.
Increases and decreases are calculated based on the knit gauge carefully for garments. The approach to accessories may be more casual.
Stripes heights are varied to accommodate any specific design motifs or cam settings and in turn, are added to the base visualization charts.
Here an attempt at 45-degree striping is made by beginning on a 3-stitch tab.  Increasing on the carriage side creates loops, while those opposite the carriage form knots.
Increases and decreases are indicated by arrows.
Increases are made on alternating sides, opposite the carriage, to produce matching edges.
The red cells in the chart represent the carriage side prior to each pass.
Table cells have been rendered rectangular in a 4 to 3 ratio, estimating the difference in gauge between stitches and rows.
Striping for an even number of rows matters if color changes are made on a fixed side ie if a color changer is in use. Yarn ends at color changes may be cut or the yarn can be carried up the side depending on preference and the number of rows involved. If carried up for long stretches, the alternate color yarn not in use may be secured by e wrapping it on the end needle periodically. Care needs to be taken that the float up the side is not so short as to have an effect on the swatch length and having an effort to remedy that will leave yarn ends too short to be secured.
The result is not going to produce a proper square, garter stitch is the only knit stitch that results in approximately true square shapes.
If the center of the machine is always used for swatches, keep an eye on the stitch formation. If loops are formed repeatedly on specific needles akin to tuck stitches or problem areas such as those in the center of this swatch are encountered, they can be caused by damaged needles or sticky latches that may result from frequent use. Diagonal lines in knits that maintain straight sides are also achieved using short row/holding intarsia techniques. Segments are planned in specific orders which can be varied to form added shapes.  Chevrons would be more easily created by knitting separate strips and seaming as you knit or after the fact. The addition of small-repeat fair isle patterns is also possible. Keep in mind when bringing needles back into work to reverse shaping, needle preselection for accurate patterning in Brother machines needs to be maintained by hand selection.  Some of the published punchcard patterns can serve as a source for diagonal lines that may be tiled and programmed for the full design in addition to being used for their original intent. Numbers 52, 384, and 328 (published with error), are suitable for tuck, slip, and FI with moderately wide floats, while 335 would fail as a tuck stitch.
Tiling as in any patterning will reveal errors, such as here for 328.  The latter was edited to a 22-stitch wide repeat, becoming suitable for only electronic machine models.
The charts with the red grid on the top row were rendered as tables in Numbers. Since their end use is different, they are the color-reversed version of the cards, whose screengrabs were in turn processed in Gimp to create knittable pngs.
The smallest repeats suitable for electronics are given in the center row of images, the amended 328 cannot be reduced in size. The last row illustrates tiling for all files as BW images that may be opened and amended to suit the size of the pieces planned.
Files in png formats for the group: if pngs generated by me in BW indexed mode are downloaded and opened in editors such as Gimp, they will open in RGB mode. To make them suitable for download programs, convert them to indexed BW mode again and save the result. There should be no loss of data.
384, 12X2412X48 144X144328, 22X44
176X176
335, 12X24
24X48 144X144  52, 8X16
24X48 192X192 The black lines formed by units 2 rows in height can be followed or erased to establish short rows shaping a stitch at a time every two rows, in a view of at least 2X2 full repeats to check color placement as seen here. The method was used to isolate the previous ungridded color illustrations. Another instance of a published Toyota 901#11diagonal tuck card, in this case, incorporates a combination of 2 and 4-row tuck patterning. The repeat is 24X48 The previews may be used to replace color selections with those matching yarn colors used in the project to develop some idea as to how color shifts might affect the final piece.
EON diagonal patterning surrounding blocks containing other shapes may be maintained with slight variations in the size of the shapes used to fill those blocks  References published for weaving can be a source of charts usable for this type of design.
The repeats are given in terms of width (shafts) and height (picks). For proper alignments, the provided charts need to be reproduced in full, or in DIY adaptations careful editing with erasures or additions can still maintain the proper tiling.
A page from an 1898 pub   Playing with using #20 and #16 mirrored, isolating, erasing, or combining elements of each while keeping fixed some of the details that move diagonally to touch sides of the repeats, with the process illustrated in color.
Consider the width of the floats if planning for fair isle patterning.
Check the original for any errors, marked in the color chart in black. They are often not noticeable until the design is drawn in repeat.   The editable png for the center 24X24 design is tiled on the far right above. It is also suitable for punchcards  

Handweaving drafts such as those found at handweaving. net provide endless inspiration for designs, including diagonals.
8X812X12
drawn in repeat X712X12drawn in repeat X715X15
color reversed  using color invert and quarter rotations to 30X30  16X16
16X16
16X24
drawn in repeat to 160X168 20X20
32X32 with rotated segments  playing with rectangles, squares, and fill-ins24X24
Chevrons can be developed from partial repeats. This is from Toyota 950#12, 24X20 drawn in repeat to 144X140  Whether in use for a punchcard model or an electronic one, the convention if the end goal is a tuck stitch fabric, is to color reverse the design  Taking diagonal patterning to the double bed for creating pintuck effects using the slip-stitch setting, this 24X48 repeat explores some of the potential spacings and the resulting ridges.  The next 2 repeats tested, both 24 stitches X 48 rows:  The red line is a reminder that the slipped stitches are being held for as many as 8 rows. It is best to use thin yarn that does not break easily and to watch for the knit stitches riding up.
Slipping in one direction produces a very subtle texture,  while the color-reversed design produces even-sized identifiable folds Adding lettering or small shapes and maintaining the diagonal can result in distortion of the motifs.
One option to add such motifs is to form the knit by beginning on 3 stitches as in this shared swatch and planning the stripes to heights and widths that accommodate adding designs or fonts. Short-row intarsia will also produce diagonal striping, from simple to complex as seen in this chart, with knitting sequence numbered for each segment.  complex_number_01A limited number of rows may be knit in stocking stitch in areas following shapes not simply to travel to the opposite side and reverse shaping,  but also to add small rolls or hems.
Another use might be to add small vertical motif details or patterning in their usual orientation.
The limit appears to be a maximum of 8 rows of alternative patterns, in order to keep the short-rowed areas from developing into distorted edges, which may be variable depending on the yarn and pattern used.
This first swatch was knit using progressively thinner yarns, wool, wool rayon, and a 2/24 acrylic in the FI segment. FI is a slip stitch that narrows the knit. The dark acrylic color stitch definition here gets lost. The band is seen pulling in the short-row segments on both sides. The shaping in both the top and bottom segments is by 2 stitches at a time.  The result in different yarns of equal thickness, with the FI band knit at a tension one full number looser than the stocking stitch areas, with the top and bottom solid color segments now shaped 3 stitches at a time. There is a trick when making A-line skirts to change the triangles that would poke out normally at the bottom if shaping were to begin immediately used as a design feature in many runway knits recently. If between an inch or 2 are actually knit up straight before shaping starts, the problem is eliminated. Depending on the design this may be a solution or it may read as a patterning error.
There are some conventions and “rules” for short-row techniques, but they do not always apply.
Keeping good notes helps to make successful experiments reproducible.
Two more tries began to experiment with working on the first and last groups in the holding techniques on a different number of stitches than the remaining shapes, noting differences. In the first an all-knit row is made across the short-row eyelets, reducing the planned FI band from 6 rows to 5. A rough spot in maintaining even stitches on one side is noticeable.  Progress: holding happened at the start of the bottom wedge, the FI was knit at 2 tension numbers looser than the stocking stitch, for 6 rows.  The goal in the short row shaping for the triangles is to maintain vertical edges that appear as straight as possible to the eye. One need not work on large swatches, small ones can provide clues as to differences resulting from variations in the starting side of the short-row shapings.  Studying the results can lead to many variations. There are student theses and careers based on exploring limited techniques to the max.
Building a theoretical true square or other predictable shapes is subject to the yarn and tension used. Beginning with a small sample, this shows the order of knitting 2 triangular shapes with the carriage beginning to knit each shape from alternate sides. In this case, 2 stitches are to be brought in and out of holding at a time. Because each color knits for 2 rows, small slits happen in the fabric resulting in eyelets. They may be used as design features, or attempts can be made to reduce their size. One way to do so is to have plain knit rows between holding selections to keep the small slits from intersecting and becoming double height. On the left swatch, one yellow row was knit to the left before reverse shaping in the same color. In the swatch on the right, in addition, 2 rows were knit in the blue prior to reverse shaping.  Reviewing the concept and developing a chart for larger swatches: the cyan color cells represent stitches in the hold position and the white cells stitches that will be knit.
At the top of the first wedge, most needles will be in the hold position, return them all to the B position manually before knitting the next row.
With the carriage on either side, set it for KCI with the cam buttons to slip for a free pass to the opposite side, the first FI pattern row will pre-select. Holding need not be canceled, since no needles are brought far enough out for the technique.
Cancel the slip setting, change the cam setting for FI knitting, place the pairs of colors in their corresponding feeders, and knit 6-8 rows of pattern.
Bring all needles out to hold except for the first desired group, if the holding lever has been canceled, reset it and commence reverse shaping.  Merrily knitting along and you forget to loosen the tension for the fair isle stripe: And what if the FI were to actually follow diagonal colored stripes? The approach is the same. I am right-handed, my default is often to begin on the right. Left-handed knitters can mirror charts as needed to make them easier to follow.
The first triangle is shaped from right toward left, subsequent ones begin on the left, then to wrap or not wrap becomes the question. Review of wrapping, which does not disturb the stitch on or the position of the wrapped needle:   bothI obstinately use random yarns at hand, sometimes too thin for the task at hand, true here. Any type of intarsia, of which holding is one, will be accompanied by lots of yarn ends that will require weaving in. Some of the stitches were wrapped here, some not, and maybe the eyelets could be considered a pleasing design feature. The 8 rows of FI, knit at 2 full tension numbers higher than that used for stocking stitch, minimizes the size of the eyelets all on their own on both sides of its stripe. Errors in bringing an added group or not into work may not always be immediately visible, frogging this type of knitting can be painful.
I would not use the last 6 stitch modification in any future swatches. Elizabeth Zimmermann published many patterns for hand knitting utilizing garter stitch and striped diagonal wedges for garment shaping.
Multiple colors per row patterning may be maintained by beginning planning with diagonal straight lines, seen here in a 32X32 repeat.  Opened in img2track The design will be elongated, and 256 passes are required to finish a single repeat Each color may be edited to suit. Quick visualizations of a few of the possible repeat arrangements using the file as is Avoiding lots of extra knit rows by eliminating one of the colors.  The larger designs may need to be knit in sections depending on the available memory in the knitting machine model being used.

Machine-knit stitches do not form as close to square ones found in garter stitches. Rendering the full-scale garment on a knit leader would make knitting to gauge while avoiding tons of math calculations possible.
DIY is a bit like assembling paper cut-outs that are required to fit together, first attempts at planning do not always succeed. One may begin at different parts of the piece and seam two halves together if necessary in order to keep matching stitch formations in both directions. Stripes may be added to form secondary intersecting shapes. On the left is a simple one-piece vest concept with no miters in the back panel, which may be knit from the bottom up or as two pieces with a center seam.
The bolero style is repeated in 2 separate pieces with mirror shaping in the second and would be joined at the center back.
The knit gauge is easier to maintain in short or small wearables.   Many garments may be made following the concepts for creating “pies”.
Decades ago batwing sweaters based on a sideways circular knit concept were standard presentations at knit seminars. Short-row diagonal graduated wedges were followed by varying amounts of all knit rows.
This idea for a short sleeve garment is from a Japanese magazine. In creating such illustrations because of the scale of the publication, the aspect ratio is distorted. In the final garment, the bottom circumference can in fact be far narrower than it might appear to the eye in the sketch and may be gathered or left released depending on design goals. The neckline diameter at the end of the project, after joining one shoulder, is gathered with evenly distributed decreases to the desired measurement prior to knitting the collar.  A way to form a long sleeve item, using binding off and casting on stitches in addition to shaped wedges followed by all knit rows. Knitting a garment on the bias at 45 degrees will produce a knit fabric that drapes differently.
Horizontal patterning can turn into diagonals and chevrons, and fancy decreases may be used in the center shaping of the garment.
Pre-computer programs and knitleaders, an easy way to sort out shaping for garments, was to begin by drawing on large sheets of graph paper. An all-square grid is fine.
Calculate a 10 cm/4 inch knitting gauge to the second decimal point before any rounding off. For example, if the gauge works out to be 5.728, and the measurement needed is 19.5 inches, the multiplied value result is 111.696, which can be rounded off to a 112-row line on the graph paper.
Working in cm can actually lead to easier calculations and is required when using a charting device.
Each cell in the graph paper grid equals one stitch and one row.
For knitting on the straight grain, based on gauge, draw series dots placing them on the beginning and the ending pots for each measurement, and connect them with straight lines.
Curves such as those necessary for necklines may be composed of short straight-line segments.
When knitting from the bottom up, continue with a colored pencil, filling in squares as they jog in or out, maintaining the new outline as close to the first as possible.
For the bias knit, whether on graph paper, the computer, or a charting device, begin by drawing a 45-degree line.
Rotate and trace the unmodified original straight-line image in place, follow the lines, and mark in and out jogs once more in color for contrast.
This is a very small chart so outline jogs in far larger pieces cannot be reflected. They would produce edges not as straight as in standard knitting, which will need to be considered when joining finished pieces.
As the piece is rotated, a wider grid base is required. Consider that the motif images as they are worked on the purl side will be mirrored horizontally on the knit side, a particular consideration if any text is introduced. Comparing theoretical purl as opposed to knit views on the left, two purl views on the right.   Fonts in various stitch and row counts are useful when planning knit text.
The point at which the text or pattern is introduced needs to have enough stitches in work on the machine to contain the intended words, ie for the above, a minimum ground, independent of shaping, would need to contain more than 9 rows if solid color stripes are to be added above and below it, and 26 stitches in width in this case.
A proof of concept swatch with arbitrary shaping on every other row illustrates the need for shaping based on a calculated gauge if a square is indeed the aim.
I knit on a 930 where mirroring is automated for programmed designs, so the text was programmed as drawn.
Sometimes less information is more. It became evident very soon that the placement of the text on the left was wrong if the aim was to have it centered in the final shape, and that more rows were needed at the top of the design.
On the right, the purl side as it faces the knitter is shown, with black pixels used to represent increases and decreases. The center red line separates the needle placements on either side of 0, and the text is shown in the default mirroring. The respective swatches after their rotation preview one of the potential results A true diagonal repeat may be planned for motif patterning knit from the bottom up. The drawback is that for executing a fair isle using more than 2 colors or with multiple color changes, partially illustrated on the far right, the 32X32 repeat would need to be rotated and knit as above.  

From the Brother machine knitting techniques book, a suggestion for dividing a sweater front into diagonal halves created by using the holding technique  

The idea of chaining the eyelet areas to reduce the size of the slits is an interesting one that up to now I have not tested.

Diagonal pleats

ArahPaint and Gimp in knit design 3

Previously published:
ArahPaint and Gimp in knit design 2
ArahPaint meets Gimp in knit design 1

Subsequent posts on using Gimp Layers to process images:
Using Layers in Gimp for color separations
Layer/Transparency/Color to Alpha Gimp Update for Mac 3_more on color separations

Gimp allows one to work on multiple images with only a single window open, left mouse clicking on any one of the images will bring it into view for editing. In the dark theme, it is hard to see the difference, but a lighter border actually surrounds the active image distinguishing it from the others, outlined here in yellow In Arah, multiple windows may be opened at any one time, and left-clicking on any one of them will bring it to the front for editing.   When working using the same file in more than one window, the degree of magnification needs to match in each.
Spreadsheets and paint programs may be used to achieve color separations for designs intended for specialty fabrics, many worked on the double bed.
Two places to begin exploring them here are for knitting single-bed mosaics and double-bed jacquard in its form where each color in each design row knits twice.
It is unlikely to happen often in knitting that more than 6 colors are used in any one fabric except perhaps in an elaborate color-changing fair isle.
The palette that appears in Arah when opening a new file is random, as seen here when two new files of the same size are loaded  If one’s preference is to reduce the number of colors, the specific number may be set by choosing from the colors menu, editing the number identified as that for the working palette, changing it to the new value, in this case, 6, and the palette reduction occurs as seen in A. For most knit repeats a black color is handy, any one of the 6 colors or more may be adjusted as described in the previous post, seen in B, where black has been added, replacing the color in position 1. More Gimp information: https://docs.gimp.org/2.10/en/gimp-palette-dialog.html
Some of the related content in brief: the former versions of GIMP had a “Save palette” command. Palettes were stored in a specific folder via the preferences pane. Easy to do and manage. It no longer exists.
To save the palette of an image, indexed or not, you must now import it from the image.
The “Palettes” dialog is dockable: from the Image menu, select Window, Dockable Dialogues, Palettes.
A few dozen more or less randomly chosen palettes are supplied with GIMP.“Import Palette” allows you to create a new palette from the colors in a gradient, image, or palette file.
Right-click in the space to the right of the illustrated palettes to call up the import option, or for palette editing. It is not necessary to index the image, this image was used in RGB mode. A palette name can be assigned, and if previously used, a number will be appended by the program.
The number of colors: the default is 256, you can set the number to any you choose. Gimp will try to create a palette by spacing the number of colors evenly across the range of the gradient or image. Each screengrab in the top row shows the initial selections for gradient or image, and the second row of screengrabs notes other changes made when choices were available and the results. White dots mark selections as seen while using the program.   Using the same image, indexed to 5 colors, the custom palette is rendered in a one-step process. The gradient seen in the first position on the top left was randomly assigned by the program and does not influence the results. The Columns selection number settings only influence the way the palette is displayed and have no effect on the way the palette is used. The lower the number, the larger the display size of each color unit.
Double-clicking on any palette color will magnify the palette view on the theme color background. Left-clicking on any color makes it available for drawing, the selection will have a dotted bounding line and the selected color will be assigned to the foreground position,  Right-clicking on a color results in these options.  The imported palette will be added to the Palettes dialog and is automatically saved in your personal palettes folder when you quit GIMP so that it will be available in future sessions.
In Arah, the color palette will always display the colors of the active layer. The working image contains colors intended for use in my designs.  In addition, please see the note from the developer in the comment at the end of the post.  The palette tools: A: if you press this icon the program will underline the colors actually used in the image, since all colors are used in this case, each color is underlined in either white or black in this instance  D: adds color(s) to the palette  B: removes unused colors in the above palette, it would restore the original colors
C: removes duplicate colors, not applicable in this instance
E: removes the last unused color, will not work if all colors are used.
Changing color positions in the palette: to switch the position of two colors in the palette, click the chosen color in the palette, move the cursor to the color you want to switch the position with, and press the left mouse button while holding the Ctrl key on the keyboard. In this instance, the color was duplicated in the new position.  Knitters designing for dbj are likely to work with a limited range of colors, often 3 or 4 max, in specific palette ranges to ready images for download.
If color separations for 3 or more colors are done in shades of grey in terms of technical details, you need a pattern image that is 8-bit greyscale, with each color in a range of 8-bit values. So for 4 colors, it would be 0-63 color 1; 64-127 color 2; 128-195 color 3; 196-255 color 4.
Binary images have only 2 possible intensity values, normally displayed as black and white with values of either 1 or 255 for white, and often 0 for black.
That convention may have led to the selection of white as color 1 in automatic separations such as the KRC Japanese one, where white is selected first. In a greyscale or color image, a pixel can take on any value between 0 and 255. Designing for fair isle, or when attempting to visualize and illustrate slip and tuck fabrics with frequent color changes, more colors may be required even though the final download will be in black and white. There is a quick way to add random colors assigned by the program and based on the initial palette: The magic wand tool allows you to work on consistently colored areas without having to select and outline each.
To alter a single color using the bucket tool, click on the wand, then on the color single color area you wish to change, it will become outlined by bounding lines.
Click on one of the colors in the expanded palette, and it will automatically appear in the foreground color position, and it may then be used to bucket fill the chosen area. Flatten the image using the merge-down tool.
If the foreground color, in this case, white/0, needs to be changed, in order 
to choose all pixels in the foreground color, click on the wand, and use Tools > Select by color or Shift+W. This function works only on 8-bit pixel images. Click on the color you wish to use to replace the ground, and bucket fill with the newly selected color. Flatten the image using the merge-down tool.
Changing multiple color blocks in the same color could be selected by the tool, but filling each of them one at a time was required.  In Gimp a similar tool is the fuzzy select, which also allows for changing the color in a selected area or for selecting and changing all pixels in that color. Selected areas will also be outlined in dashed bounding lines. Bucket fill may then be used to replace color(s). The option is offered to choose either foreground or background for the fill.  2023 in Gimp 2.10.34 use and hold the shift key prior to selecting and using the bucket fill tool to change all the areas outlined by dashed lines. The bucket-fill tool itself now works again on any area with a defined boundary, no other, following action is necessary.

Click on the rectangle select tool and then on any spot in the work area or on the image to set the image. The dashed lines will disappear.
In terms of saving the palette in Arah for future use, I saw no specific directions in the manual.
The color palette displayed is always the one used in the active layer. As a workaround: open the image, and the associated palette will be displayed. The repeat begins drawn 24 pixels in width, by 24 in height.
Select clear from the edit menu, or bucket fill area with white
If the size of your intended drawing area is different, choose the option Resize Image from the Image menu. With the chain link intact, the new canvases are created keeping the aspect ratio. Enter a new value for width/height, hit return, or move the cursor to the alternate value, and its number will automatically change to a matching one. Click OK to use the new canvas, or reset if you wish to return to the original 24 by 24 pixel one for a different edit.
With a broken chain link as one of the two values is altered, a preview is available. If both values are to be changed, break the chain link, enter the two values in turn, and a preview appears for each step. Ok is used again prior to saving, or choose reset to return to the previously used setting. Color separations can make specialty fabrics possible to knit which are outside the possibility of doing so simply by changing cam settings. Two instances are mosaics and DBJ where each color in each design row knits twice. Separating each may be done in two ways. The first method, convenient for longer repeats, requires that the result be elongated X 2, whether in the repeat design software or after download to the machine or using the elongation X2 function in the punchcard models. For illustration purposes here I will be working to create files that do not require elongation.
Mosaics and Mazes are constructed in similar ways and are sometimes referred to as floatless fair-isle even though technically speaking usually 2 stitch floats do appear on the purl side in the alternate color used with each color change.
Many such repeats may be knit using both the slip and tuck settings, the latter is the more interesting of the two on the purl side.
When learning structures it may be worth beginning with a published design.
Kathleen Kinder decades ago published two books, one with 24 stitch repeats, the other with 40 stitch repeats, with the separations included as well This, by Barbra Walker and intended for hand knitting, offers a huge library of designs for inspiration and conversion Following specific rules it is also possible to develop DIY repeats from scratch. That said, the repeat used in this blog post happens to have a known value of 12 pixels by 12Magnification in Gimp is achieved by selecting or typing in new percentages at the bottom of the window.
Entering and exiting the full screen may be controlled via the view menu To exit, it right-click at the very top of the window to expose menu options and select deselect full screen.  In Arah, if you press any number from 0-9 on the keyboard, you will change the zoom directly to that level (1 means 100%, 6 means 600%, 0 means 1000%). The plus + and minus keys- as well as the magnifying lens icons, will zoom in and out To use the entire space available in the window, choose Fit to Window from the view menu or select Ctrl+zero.
If working in more than one window this option makes repeats the most visible, scaling back can be done by counting the number of selections, helping to match the new picture magnification to the first.
Press the escape key on the keyboard to return to the original 100% view.
To work using the full screen, select the option from the view menu. To exit, right-click at the very top of the window to expose menu options, and select exit full screen Separating the design: ultimately the planned final graphic repeat would be a BW png used for electronic download, programmed as a fair isle one, but knit using tuck or slip settings, it may be drawn initially using only in those 2 colors. Black may need to be added to the palette selections.
One may always draw on a large canvas and then crop as needed, but as a starting point, it may be easier to simply match canvas size to the published repeat being used.
It is handy to have an extra column to help track image processing during the separation, the repeat above is identified as being composed of 12X12 pixels, one could begin with a 13X12 canvas.
A second way to provide the 13th column is to work using 2 windows, matching magnification,  and the second with a different, larger pixel measurement than the first. Copy the contents of the original work area and paste them into the larger canvas in the other window. Crop to new size if necessary.
To illustrate the two-window process, here the original BW repeat has already been drawn and elongated X2
A. Use the rectangle-select tool to capture the whole image in the first window, bounding lines in the colors of the palette in use will outline the selected area
B. Use the edit menu or command C to copy the selection, edit paste, or command V in the new window to place it.
When pasting on a different size ground, the bounding lines will also appear in the new image, the contents remain moveable,
C. Place the selection where desired on the new canvas,  when satisfied use the X, merge down tool to flatten it.
The quicker method begins with a canvas one pixel wider than the repeat, 13X12.
Adjust magnification, for comfortable viewing in the editing process.
View: show grid 2
Colors: set the number of colors to 6, and adjust the #1 color to black, white is in position 0 in the palette by default
Activate the pencil tool, and draw a vertical line on the far right in an easy-to-see color choice other than white or black
Using black, fill in pixels for your first draft of the pattern repeat
Image multiply YX2, resulting in 13X24
Using the pencil tool fill in the first 2 design rows followed by every other pair with white. Magnify image A to a comfortable work viewing size.
B and C: using the rectangle select tool, with the left mouse button, place the pointer on the purple pixel, drag the mouse across each pair of marked rows, release the mouse, and use Command I to color invert, and merge down to eliminate the bounding box.
The purple pixels will change color as well, making it easier to track what rows have been altered already.
D: crop the image, removing the row with colored cells for the final repeat
If for some reason you are processing an image that is color reversed, the steps are identical, but tuck or slip stitch fabrics, black pixels or punched holes knit, white pixels or unpunched squares tuck or slip. For this reason, the cropped final result would need to be color inverted prior to knitting or punching holes. This separation for 2-color DBJ results in its potential use in many fabrics other than DBJ and may be performed by some programs used to download multiple color patterns to the machines prior to knitting the fabric. One such fabric is drop-stitch lace.
Punchcard machine users would need to separate the colors manually, or if Dak is available, the separation may be done using the program and a corresponding template may be printed as a guide to punching holes.
This method is the automatic default one for any 2-color DBJ knit on the Passap.
Each color in each design row will be knit with each pair of consecutive color passes. Completing one design row containing 3 colors will require 6 carriage passes, 4 colors 8, and so on.
The built-in color separation in electronic machines wherein each of only 2 colors in each design row knits only once does not apply when using more than two colors,  though it is possible using Dak or by downloading a special card reader technique to program separately from the design when using the Passap E6000 in addition to the pattern repeat.
This separation of a 2 color pattern results in an elongated version of the design regardless of any dbj backing used.
Begin with a 2 color image,  an extra column of pixels is added here as well:
A: multiply YX4 to 13X48
B: mark alternating pairs of rows in the extra column with a contrasting color
C: following the color cues on the far right column, on rows with no added color use the pencil tool to replace black pixels with white, leaving only the orange cells
D: on rows marked with the third color replace the orange pixels with white, leaving only the black pixels
E: crop the image eliminating the extra column
adjust the remaining orange color to black
index the result to B/W, and the image is ready to save and use The difference between single repeats for each type of fabric, no further elongation is required. A: mosaic, B: DBJUsing layers in Gimp opens up the possibility of several color separations for fabrics using only 2 colors.

Both img2track and Ayab are capable of opening 2 color images.
In img2track this is what would appear, after the download the KRC function needs to be activated in the knitting machine.  Ayab: the repeat should be programmed in width equal to the number of needles planned to be in use. The color change happens as the file is loaded into the program, the ribber classic option is used to render results that would match the KRC knitting machine selection after an img2track download. Here the repeat is also tiled in height.  My personal preference is to work with images designed in black and white. With the 910 presently stored, my blog swatches are knit on a 930 using img2track.

A note for Mac users like myself using desktops with the M1 chip and Mac OS Monterey. Img2 track requires an FTDI driver for its download cable, on June 6 finally released a beta version of a more recent driver, I do not plan to install it at this moment, function in the upcoming Ventura OS would be unknown.   Ayab does not launch automatically. These are the steps necessary to run the program, following suggestions by Adrienne Hunter via the Ayab FB group:
open a Terminal window (Applications/Utilities/Terminal) and type these two lines:
cd /Applications/AYAB.app
./Contents/MacOS/AYAB
The app may also be found and then opened via using Spotlight search if you prefer  Once the program is quit unless you choose to keep the terminal icon
in your dock, it will disappear and the above process will need to be repeated. Once the text has been entered, and Ayab has been launched, a message similar to this will appear, showing your last log in. To launch Ayab again, simply use the up arrow key and hit return to repeat the command  Creating an AYAB desktop shortcut for Mac that will work without opening the terminal each time
Using Finder, open Applications and find AYAB. Right-click on AYAB and select “Show Package Contents”.

Locate “AYAB” under MacOS. While holding down the command and option buttons, click and drag that icon to the desktop. This will create an ayab shortcut that does the terminal stuff for you you can change the icon by copying and pasting the icon image in “get info” but it works fine without it. These icons will appear in your dock after double clicking on the icon   The ayab window opens with only the load image option highlighted Click on the load image file to open an image, and the remaining features of the program will now be available If you quit ayab, the terminal window remains active Quitting terminal called up this window for me only the first time I did so.

ArahPaint and Gimp in knit design 2

My previous post, ArahPaint meets Gimp in knit design 1, provided some information based on the assumption the reader had previous experience with a paint program, more specifically, Gimp, and an understanding of the development of knit repeats for various stitch types and techniques. At the time I had planned on expanding it. The information included some points on the following topics:
Magnification
Grids

Drawing in repeat
Image duplicate X
Drawing lines
Color exchange
Image scaling
Fill with custom brush repeat
Designing a tuck and a lace mesh repeat
Dividing large images
Returning to the topic now, I am including more information on designing repeats for knits that are by necessity limited in size and resolution, and am exploring some of the new features.
The updated program may be downloaded from https://www.arahne.si
The company provides a thorough manual that has been amended with the addition of 14 pages to include recently added features/ changes  https://www.arahne.eu/pdf/apaint4-EN.pdf
The present menu options in Arah:    Examining the toolboxWhen positioning the mouse pointer over any tool and a brief period of hovering over it, the information on the tool becomes visible as a brightly colored rectangle. The name of the tool appears below its pointer, its keyboard shortcut is also displayed to its right.  Selecting the tool changes the color of the box containing it to a darker grey as seen here for the draw circle tool on the left The “empty” shapes may also be used to highlight specific spots in pre-drawn charts or images while controlling the size of the line, seen here over the square tool.   Double-clicking on the shape drawing tools will fill shapes with color, enabling drawing each of them with color or fill The foreground color in both programs determines the color used to draw. In Arah, the foreground color (black) is drawn with the left mouse button, and the background color is drawn with the right mouse button (white), making it possible to work with any chosen pair of colors without the need to constantly change the drawing color positions. There are other operations in the manual where the use of middle mouse clicks is suggested. In the magic mouse, Apple has eliminated it. There are some third-party downloads available for anyone wishing to restore it. 
Options for tool
s appear below the toolbox once a specific tool is chosen, they may apply to only one tool or to several.
Rectangle select in Arah will have a moving dashed colored lines bounding box formed around the selected area.   Placing the pointer inside the area will move the selection. Moving the pointer to a corner using the left mouse button on the dotted lines of the dashed rectangle will resize it.
Clicking on the merge down/drop selection tool will remove the dashed outline. In the drawing mode, the default for standard drawing is indicated by a pencil. Clicking on it with the size set to one pixel brings up options shown in A. If you set the width of a line to be more than 1 pixel, then you can choose the shape of the pen, which influences the look of the starting and ending points of the line and the shape of a single-click drawn object.
Line width sets the width of lines, rectangles/squares, ellipses/circles, arcs, polygons, and brushes, B.
The options appear when a number greater than one is entered. If you break the chain’s link by clicking on the chain icon, you can set the width in the x and y direction independently, C.

Gimp still fails to create square pencil brushes accurately in consistent increments in size, leaving the only option for using the desired shapes to be saved in preference folders for repeated use or to work temporarily from the clipboard.
The built-in circle brush may be used, with the following results for values entered from one to eight Other small shapes can be drawn by filling in individual pixels. Using the rectangle tool, and a variety of other means, patterns are saved for future use or from the clipboard (until one quits the program), or in the preferences pattern folder, becoming a handy feature for filling in backgrounds or pattern segments for specialty fabrics.
Both programs share chain links that may be kept closed to preserve aspect ratio in the designs, or broken to allow for disparate pixel settings.
In Arah, a personal brush library of pngs may be saved in a personal folder for repeated use.
Drawing in repeat makes for easy creation of a filled canvas including pattern shifts, for example, the punchcard repeats are a fixed 24 stitches wide and a minimum of 32 rows for the card to rotate continuously. An even number of repeats in height will produce a correct brick punchcard configuration.  For any DIY pattern design, it is helpful to understand some of the rules for the specific knit fabric and how smaller repeats need to align in width and height.  
Users of electronic knitting machines can isolate the smallest repeat, use that, or tile it for use on a specific number of needles in work.
Line drawing may be set to preferred widths. The options associated with the chain link next to the line field allow for changing horizontal and vertical directions independently by breaking the chain link and typing in desired X and Y values.
Each drawing tool can use the additional modes displayed for the pencil icon. The brush menu uses gradients in the direction of the gradient effect, which may be used to produce pixelated lines or borders, or set to apply to the whole image, here the polygon tool is used. It creates a series of straight lines that are connected. If solid-color pencils are used, coloring the shape will not leak out into the ground.  To start and end lines, click the left mouse button, to end them release the mouse button, and press the right mouse button to stop drawing connected lines. The width is set at 5   
At any point pattern fill may also be added in variable patterns, here using the stitch tool set at variable lengths Easy and fast dithering effects to part of an image or all of it, here an 80X80 pixel canvas is used along with gradient fill on what begins as a square filled with a solid colored ground
Freehand drawing is achieved by activating the pencil tool.
Rectangles, squares, and ellipses may be drawn from outlined to filled.
Double-clicking on the icon will activate the fill function, doing so again will return it to empty shapes, and one may easily toggle between them in the same design. Wider lines or filled shapes may be set to be solid or gradient fill. The process is easy and quick.
Keep in mind while having fun drawing that especially when you enter the territory of multiple colors per row in machine knitting the color separations for programming them in any machine become more complex, and are far easier in electronic machines if software such as Ayab, img2track (my preferred), or DAK with their respective cable connections for download are available. Dak allows for a print template of the separations which may be saved and in turn be pixel-redrawn or punched for use outside its universe.
This is an 80-stitch design, committing to it for knitting a scarf, 80 stitches are likely if knit on a 4.5 mm machine to yield somewhere between 7 and 10 inches in width. Tiling in Gimp, or drawing in repeat in Arah helps visualize the full piece and estimate the minimal number of rows to be knit based on the gauge while remembering that 6 carriage passes will be used to complete each design row unless using the heart of Pluto separation in Ayab or separation B in Dak are used. Here 800 design rows are represented. Changing colors in the image further helps one decide whether it is worth committing to knitting it.
The new color test image, also 80 pixels by 80: The paint bucket tool Gimp in the latest update no longer works on specific areas of the design, but rather, fills the whole canvas. The fuzzy select tool is now used to fill in isolated areas or switched to select by color to fill all areas drawn in that specific color. Selections will be outlined with a bounding line A, bucket fill is used to alter the selection B. Click on the rectangle tool and then in the working window outside the image to remove them and set the results prior to exporting them. Selections are filled with the foreground color.
Selecting and replacing all the red will also fill in individual, unconnected pixels in that color, which in the past may have required manual “cleanup” In Arah simply click on each area to be filled in with the new color sequentially. There are, in addition, other fill options in Arah: 
Fill to border fills in all pixels in each area selected no matter which color they are until the background color is reached, in this case, white
The whole image option works on foreground color selection including in those pixelated areas where pixels are not connected here as well. For 2 color knitting and downloading to knitting machines, depending on the software, the best files may be those created in BW indexed mode. Here a square is filled with a gradient to start with, and then the fill option is used again, taking the dither to the border of the image resulting in different densities. Note that threshold and fill % can be individually set to vary the results.  

Changing single colors globally is easily done by adjusting the palette for the specific color. Double-clicking on either foreground or in this illustration the background color will load a palette window including it. There are 2 ways to alter the shade, one is by moving the cross-hair, outlined by a circle, and the second by using the slider, pointed to by an arrow. The new color is then changed after clicking OK, in this case altering the foreground color, no need for using the paint bucket.  The spray tool, on the left, may appear similar in appearance to the color picker in Gimp, shown on the right, but functions very differently, creating a spray in the foreground color. The shapes of the pixels and their size may be set in varied values, but the function is of limited use in small repeats.  The way to activate the color picker in Arah is to press the Shift key, the mouse pointer will change to the familiar dropper and then click on the pixel in the desired color to select it.

The stitch-tool is an interesting new addition, is useful in drawing points to break up long floats, ie in fair isle knitting, where floats longer than 5 stitches are not recommended. The provided repeat, intended for plain weave, is fixed in size, 2 stitches wide, and familiar to machine knitters as the one found in basic punchcards provided by manufacturers, with the card often numbered one in the packet. The repeat filled the card, with no breaks in the pattern. There was a whole publication on using CARD 1 in 100 fabric variations by Kate Armitage.
Using the tool:  changing the pencil size or leaving it at 1 does not have any effect on the results, the pattern is a fixed alternating 1X1.
The arrows determine in which direction the stitch line will follow the shape. The length is set to the distance between the two points in any direction.
To enable the tool, click on the box to the left of its icon. The resulting effect depends on the base image size and may be used on more than one color. Here the effect was used on filled circles Using the options on full square canvases yields results that can easily be translated into knitting patterns. Note that the effect, however, does not extend to borders in all directions. The saved “stitched” image can in turn be cropped to meet knitting repeat needs.
Some effects: without enabling the plain weave repeat Engaging the repeat: the intermittent stripes may also be easily rotated If no direction is highlighted, the bands form horizontally by default. After spaced bands are drawn, clicking in the horizontal spaces between them will form secondary motifs.  Square grids can appear to be suitable for tuck or slip stitch patterns,  but the individual repeat would need to be isolated, and those horizontal lines would need to be converted to solid color as well, representing all-knit rows.
A workable reduced repeat:  Testing its alignment may be achieved by tiling in Gimp and drawing in repeat in Arah. There is another quick preview for doing so, the drawback is only that any repeat appears to be multiplied by a fixed X10 in height and width. Here the 4X5 original is repeated to 40X50 pixels an 8X5 design repeats to 80X50 pixels If you prefer to work with colored shapes rather than black and white ones, whether intending to print punchcard repeats in black and white or to use the file for download to electronic machines as a BW png, the easiest way to create the repeat is to begin to do so using a single color on a white ground or the reverse, and then to use the select by color tool in Gimp to bucket fill the color with black, or adjusting the color palette in Arah.
Large image color reductions or steps for color separations for more advanced fabrics aside from the size of the repeat require their own post.
A beginning idea for future discussions on methods for performing them and the question as to whether the presence of white or specific hues in pattern palettes matter in downloads

Geometric shapes in drop stitch lace 4, stitch release, added racking

Though written in 2017, the post on revisiting drop/release stitch lace 1 has had new swatches and updated design ideas added. It includes information on how to use punchcards intended for other fabrics as possible design ideas and a cumulative list of previous posts on drop stitch lace.
The Brother publications have offered this idea for end release drop stitch in one of their volumes of punchcard patterns.  Many published designs recommend beginning the knitting with the racking handle in the center position, 5 of 1-10 positions in Brother, and 0 of 6, 3-3 in Passap. Often the starting position is relative and when a lot of racking is involved, they may be varied, though not the sequences in terms of the number of movements, to different starting points if that seems to offer an easier way to track position numbers. It is one of the many things that once the method is sorted may be adjusted to personal preference. Some of my swatches below were started with the racking position on 10, some with it on 5.
Many knitters in forums appear to have success with end release drop stitch. My experience has been that episodic release of the stitches even as often as after 2 rows knit yields far more predictable results. It is how I worked my shawls produced in the technique, including these two, knit in days when I did not always photograph all my pieces Giving end release another go, this was my initial needle set up. With the majority of the needles in work on the main bed, the larger stitches in the final fabric will dominate. The stitches after the cast on have been transferred down to the ribber. The work on the machine, with stitches on the main bed released at the end of the swatch. There is a long stitch DBJ single color pattern happening which may prove to be an interesting fabric if no stitches are dropped, to preserve it, all stitches would be transferred to the top bed, and bound off.
Here the racking took place in single positions after every knit row. Dropping stitches on completion of the swatch, particularly along the edges was so fiddly and such a nuisance I simply gave up in spots, some indicated by red dots.  This watch had stitches released at the end of each shape, racking in the top portion occurred after every 2 rows knit Here the same design was knit using different yarns. The first is knit using the same blue wool, the second a tightly spun rayon. So many fabrics can be automated, sometimes the fabric is a vague look-alike cousin of the original, close enough to be a reasonable compromise. Slip stitch patterning across the top bed can offer a quick solution to bypassing a lot of hand manipulation. Assuming that was possible for this fabric, my starting repeat, 10X30 pixels: and the plan would be to knit it in a 40 stitch swatch, placed in a way so that the “mock racking” would move equally from side to side. Working on a larger than needed canvas, the design can be placed on a magnified work area with a visible grid, at the chosen starting point. If the background is left as white in BW images, moving repeat spacing may erase black pixels as copy and paste in place are used. The solution is to make the background transparent using the Layer menu, as explained in other posts on using Gimp. To save the repeat as a BW bmp or png, remove the alpha channel The final repeat is 40 stitches wide, 34 high, with blank rows added to its top to serve as a place to drop stitches and have knitting happening on the ribber only.
Depending on the download program or the knitting machine model number, repeats are automatically mirrored, so if direction matters, mirroring of the repeat may need to be performed once more.
Why the repeat will not work for drop stitch: if the KC is set to slip in both directions, the function will happen on all needles in work on the top bed. On any given row, only black pixels (or punched holes) will knit. The slipped/ skipped stitches keep elongating until a black pixel replaces the white one in that needle location. The degree of elongation is illustrated in the chart in color for part of the repeat, the yellow marks the widest gap between knit stitches. If knit as is the repeat will soon cause serious knitting problems and carriage jams.  Though designing for one type of fabric may fail, this repeat or similar could be used successfully double bed in other ways, using hand transfers on the top bed or down to the ribber. In this case, I chose to transfer down to the ribber, which avoids concerns about restoring correct needle selection, and the repeat was not mirrored for use on my 930, so the resulting knit appears as drawn on the purl side, but is mirrored on the knit side.
The fabric is far removed from the drop stitch idea, but as for drop stitch lace, stitches after the cast on are transferred to the bottom bed.
Newly selected empty needles will create eyelets with the next 2 carriage passes, and texture will appear on both sides at the transfer down locations.
The shapes created do not travel on the knitting bed any longer.
End needle selection needs to be canceled at any time that slip stitch patterning is used and does not occur on every needle on the top bed.
If the pattern is to be interrupted by all knit rows here seen as rows with no preselection in the programmed repeat, then any needles with stitches on them need to be transferred down to the bottom bed before continuing to knit.
As preselection begins again, those needles should be filled by picking up from the stitches below them on the ribber, and then the process may be repeated.

DBJ: more than 2 colors per row 3

Previously published related posts:
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 
Revisiting Ayab_multiple colors per row DBJ 2 1/20
Revisiting Ayab_multiple colors per row DBJ 1 1/20

Reducing the number of rows on the front of DBJ fabrics and the associated elongation of the planned design matters so some designers far more than others, at times only in specific projects.
It may remain something in one’s wheelhouse that is not worth doing because one can.
When I was knitting garments and art-to-wear pieces I found I preferred to work in 2 color dbj, plying thin, sometimes space-dyed yarns and dropping threads, replacing them with the next shade in the chosen color wheel spaces to add more colors per row.
Long before computer interfaces that made downloads or even color separations easy, most knit artists used punchcard machines, often the Passap Duomatic, lining up long individual panels to create large, non-repetitive images, Nicki Hitz Edson among them. That said, the topic has remained   interesting to me.
In the post written on 12/19, an option was presented for having each color in each design row knit only once rather than twice. Tables in a Numbers spreadsheet were used to produce the necessary color separation.
The present goal is to repeat the separation process using other possible DIY methods.
To review: the dbj automated separations for more than 2 colors per row with the exception of the Heart of Pluto one when using the Ayab interface generally result in each color, in each design row knitting twice. This is also true of default console separations in the E6000.
The yarn for this fabric needs to be thinner, colors easily become muddied if not chosen with care, there are 6 carriage passes for each design row of knitting, and charts and downloadable repeats including all knit rows become considerably longer.
When experimenting with colors keep careful notes about your own color placement in each yarn changer location, they may not match those assigned by the download program or in the original chart.
DAK offers the option of printing templates for its DBJ separation methods.  They may be used as guides for using the designs outside the program, whether for download to electronic knitting machines or to be followed in punching cards.
Files may be opened in the DAK Graphic Studio Module with the intent to convert them to stps for use in its universe or to adapt the design for other uses outside it.
My experience with several trials of small images in 3 colors is that the resulting design conversion is faulty.  The file size morphed into a 40X40 repeat as opposed to the original 12X14, leaving no option but to draw the design from scratch in the stitch design module.  
My third attempt finally got my 3 colors represented properly, but still in the 40X40 pixel size, not worth troubleshooting, redrawing the motif is far easier and more straightforward.
Img2 track will perform the separation but does not offer a charted view or template for it. It has the added interesting function of immediately reducing the file by half because upon download the image will be lengthened automatically by a default setting to double length on the Brother machine. The issue may be addressed by doubling the file in length prior to selecting it with img2track or the stretch factor in the program may be changed to 2, also before selecting the file for separation.
I prefer to manipulate files as needed prior to opening them in any program for download, believe it makes patterning errors easier to correct, and avoids forgetting to change settings when returning to knitting the particular repeat again. In the January 2021 post, I suggested manually pushing back to B position all needles in work prior to the carriages returning to the left on every other row as one way to reduce the resulting elongation in the designs. Here the plan is to achieve it by amending the color separation and its needle selections.
One of the advantages of DIY is that the color order in the separation may easily be matched by that in the color changer.
Repeats should contain an even number of rows and may also contain rows where not all colors are in use. The first starting repeat:  The often published convention in performing dbj color separations is to begin ordering the colors based on the number of cells they occupy in the first row, here the yellow would be followed by black and then red. Other programs start with the first pixel color on the left by default.
After drawing the repeat in Stitch Designer, working with Dak choosing color separation C, and exploring print options, one may obtain a template. Its screengrab serves as a guide to tracing pixels, the results match the Gimp separation which follows.
DAK automatically mirrors the motifs horizontally prior to working with them in any way. The mirrored DAK template compared to the in-progress Gimp separation: My goal is to produce the fabric with each color in each design row knitting only once by changing the separation, the function performed automatically by Ayab’s HOP code.
This technique applies to double bed work only, is not suitable for single bed 3 colors per row slip stitch.
The backing used is bird’s eye on the ribber, with slip stitch set in both directions and using both lili buttons. The result is that every other stitch knits on the pass to the right in any color used, the alternate needles knit on the return to the left completing one full row of knitting in that single color on the purl side.
The main bed needles are preselected on the way to the left, create stitches on the way to the right, as they flatline. Since there is no needle selection, as the carriages return to the left, no main bed needles will knit, resulting in only one row in the color being carried knitting on the top bed as well. Needle preselection continues to be made for the next row to be knit after the color change.
This makes for a more balanced fabric unless colors begin being skipped for multiple rows, in which case the ribber stitches may even form small ridges and the main bed stitches will become more elongated until the skipped color is repeated.
Working using Gimp alone
It is possible to color separate using only Gimp. One of the tricks is to use significant magnification, along with the view grid and snap-to-grid options when working with developing or editing designs.
In the latest version of Gimp for Mac, using the fuzzy select tool, selecting pixel color segments allows for color substitutions when converting charts to BW prior to the final png save.
It may be achieved by clicking on a single color, followed by holding the shift key, clicking on more colored pixels for multiple selections regardless of color, and then selecting bucket fill with the replacement color. Using select by color, followed by using the bucket fill tool, changes that particular color globally throughout the repeat.
As selections are made, dotted lines outline selections until after the color change and the image has been fixed.  Colors are fixed by choosing the rectangle tool and clicking in the work window outside the image, those dotted lines will then disappear.
This separation begins with black, the first color pixel on the left.
The original image is scaled X3 in height to 11X30, the file resulting from the separation will be scaled again X2 prior to knitting the repeat after it has been completed.
Copy and paste the scaled X3 results on a larger new file so that color markers for each row may be added, horizontal guides every three rows help define each expanded, now 3-row color sequence.
Following the color rotation markings for each row, erase colors unlike it and not represented in each design row to its right, so where the black marker pixel is on the left yellow and red are erased, where the yellow marker pixel is black and red are, and where the red marker is black and yellow are. That single row with no color red is left blank.
Those extra columns on the left are cropped prior to converting the file to BW. The results on the far right would need to be used double length, whether scaled before the final file save or after download, prior to knitting. Depending on the machine and the program used for download, if the direction of the design matters, the result may need to be mirrored as well.  Developing the test png on the elongated repeat My test png, mirrored for download to the 930.
I had color changer issues with yarns being picked up 2 at a time fairly frequently, which were likely static related and improved following a rare use of yarn spray and a humidifier.
Having end needle selection, KCI on the main bed helped avoid issues with edge stitches not forming properly.
I tend to grab yarns randomly when swatching. The resulting colorways are not planned for use in finished items, they are explorations that help illuminate subsequent choices.
The yarns used in the swatch are of three different weights, so tension needed to be adjusted to accommodate the thickest yarn, resulting in more elongation of some of the stitches on the front of the fabric. The latter might be far less noticeable when knitting with thin, equal weight yarn selections. The design can be easily identified and it is also seen that colors are indeed knitting a single time for each design row. There is an exception on a single row toward the bottom of the swatch, where blue and white have knit together during tension adjustments on both beds.
One drawback to this method is that since it is downloaded as a fair isle, the capacity of the machine to offer prompts and reminders as to which color is in use and which selection should follow in knitting 3 color dbj is lost.
Testing the concept on a design where more rows have less than 3 colors represented. The repeat is slightly modified, from the one used in the second 12/19 post Here it is shown modified, with rows containing fewer than 3 colors marked. Separating the repeat using only Gimp:
the file on the right rendered double length
and in turn with the second of every pair of black pixel rows erased the comparison between the two I left the color changer set up in the same sequence and yarns used in the previous swatch, so colors do not match their placement in the charted design. I stopped knitting when the color changer carried 2 colors across a whole row, and I did not notice the error until I had reached the other side. A repair can be made easily, but I chose to stop since the repeat was previously untested. There is a dropped stitch also missed on the purl side, an easy repair when a piece is finished.
The fabric is narrow as a result of the slip settings, the cast on and beginning and ending rows of knitting need to be adjusted or they will stretch out quite a bit compared to the remaining knit.
The proof of concept with each color in each design row knitting only once: The 12/19  post also compares its repeat knit using the initial double-length file to the one resulting from the amended repeat with each row knitting only once for each color in each design row

Multiple color drop stitch lace using img2track and more

WORK IN PROGRESS

There are many fabrics where samples may be knit using the proper color separation and released just prior to binding off. Samples and designs may be found in several of my previous posts.
End release is a possibility depending on how the repeat is programmed but does not always produce good results. As can happen in any fabric, what works in swatch size may not when knitting far larger pieces. Fuzzy yarn is problematic in many knitting techniques, it is best avoided in these fabrics. No matter the yarn, after knitting longer pieces, I have found sections that simply refuse to unravel. In addition, if long stitch shapes are distributed on knit striped grounds, the release needs to happen at a minimum when the top of each shape is reached. A sample with drop-stitch interrupted by all knit rows with only one color released. 500_986The repeats for designs may be self-separated to suit.
For more than 2 colors per row the built-in separation in img2track may be used, where any number of colors are selected for each design row and repeated twice. Passap separates for 2 colors with each pixel knitting twice on every row by default, but in Japanese machines, the pattern needs to be separated and programmed using other means.
The knitting method suggested here should work with more than 2 colors per row are separated by the software.
The post on Using Layers in Gimp for color separations illustrated a method for obtaining the necessary file to match those built-in variations when working in only two colors. The repeat is one that was separated and used in a previous post Here the file is separated quickly using Layer menus in Gimp alone Three variations of the final png files are shared The last appeared the most interesting visually to me when tiled This is the appearance when a different design was entered in img2track. The separated file 3 color file in BW is not shared. The method for knitting the pattern: the long stitches are formed by loops that are created on the top bed and dropped on the following row.
This is the method I used in my early dropped stitch samples: to begin with, cast on for every other needle rib, knit 2 circular rows followed by one-row all knit rib, transfer all main bed stitches to the ribber. For an open stitch cast on directions and photos see the post.
The pitch for every other needle Set up needles on both beds for every needle rib with an extra needle in work at each end on the main bed, cancel end needle selection (KC II). With the main bed needles in the B position, set the knit carriage to slip in both directions so as not to pick up loops across the whole row on its way to the left. Change the pitch for when working on every needle on both beds.  Make the first pass toward the color changer, needles will be preselected for the first pattern row
COL: the ribber remains set to knit every needle, the main bed to slip in both directions. A piece of tape in front of needle butts of needles in A position aside the edge of needles with stitches on them on each side helps keep from accidentally moving extra needles into work when dropping whole rows of stitches
COL: change color, as carriage moves to the right, selected needles will pick up loops on the main bed that will form the long stitches when dropped, while the next row of pattern is preselected, so by the time the carriage has reached the right side of the machine, the repeated needles selection is still present
COR: using any convenient tool (I use the edge of a piece of garter bar or ribber cast on comb), bring all needles in work out to E, and use the same tool to return all stitches back to B position. The loops formed on the main bed will be released forming the long stitches: check that all needles are indeed empty and that loops are free and between the beds
As the carriage moves to the left again toward the color changer, the ribber only will knit all stitches, needles on the main bed will be preselected for the next row of long stitches, selected needles do not knit until the next carriage pass from left to right.
COR: colors are changed every 2 rows
Ayab users have a different alternative for knitting this fabric as described in the post, using the circular ribber option. Instructions are given for dropping a single color or both. I cannot imagine manually dropping stitches after every row of loop formation on the top bed for any large piece in this manner. As time passed, I developed a hack for using a second knit carriage with a modified sinker plate.  Anyone with a compatible second knit carriage may use it with the resulting modification to knit a variety of fabrics much more easily, including any that would require the ribber settings changed in both directions, more convenient if the action is required every even number of rows.
Back to drop stitch in 2 colors (or more) using img2track, changing the base design to a small geometric shape. The 8 stitch repeat scaled X 4 in length as separated in the previous post to 8 stitches by 32 rows is used in the following samples.  Rather than relying on manipulating it in width or height and programming each repeat the changes in my swatches were made using variation key selections on my 930.
This type of fabric is best knit using a yarn with no memory, that will allow for retaining the blocked shape. The elongated stitches can have a peek-through quality that will allow for solid knit in a different color, an undergarment, or even bare skin to show through.
Working with a small geometric design to start with helps to develop a sense of the change in its aspect ratio as the original is scaled and knit in different widths and lengths.
Use any separation that allows for knitting each color pixel in each design row twice.
Begin with carriages on the right / COR
After EON cast on and knitting the first full row from left to right, transfer the top bed stitches to the ribber. Place needles in work on the top bed in the B position with first and last outside those in work on the opposite bed. This will allow for edge stitches to be dropped in pattern as well. With the transition planned to every needle rib, the pitch needs to be adjusted accordingly The second carriage, C2 is set to KCII as well. It will be advancing the design with each pass as well and will drop loops on the first pass, preselect for the subsequent pattern row on the next
COR: using the paired carriages set the knit carriage to slip in both directions so as to avoid picking up loops on every needle in work on the top bed, the first row is knit on the ribber only toward the color changer.
Download the repeat.
Program it for the width of the needle bed.
Cancel end needle selection on the top bed, KCII
The separation is technically entered as a fair isle design, variation keys for altering the repeat in the individual machine brand ie double width or double height may still be used.
While moving to the left the first pattern row is preselected.
COL: When the left is reached, change color, the top bed remains set to slip in both directions, the ribber to knit in both throughout.
Before moving to the right for a single time push selected needles back to B so as not to pick up loops on the way back to the opposite side. The second pattern row is preselected during the move to the right, the ribber knits every stitch
COR: knit to left on creating loops, concurrently the next pattern row is preselected, I prefer to change color at this point leaving the carriages to the far left
C2OR: use the second knit carriage with the hacked sinker plate set for plain knitting, make 2 passes with no yarn in its yarn feeder. The first pass drops the stitches. The second pass returns it to the right leaving all needles in the B position. Because no cam buttons are selected in this version, the carriage does not engage the belt as it would if it was also used for advancing patterning.
COL: with the new color no loops are picked up on the way to the right, needles preselect for the next loop row created when moving from left to right
COR: knit back to left creating loops
C2OR: use the second carriage set for plain knitting to drop loops on as it moves to the left, needles are flatlined in B on its return to the right
It is easy to identify the last color used by looking at the ribber. At the completion of each stitch drop, with COL, ribber stitches will clearly be in the last color used.
COL: with the new color no loops are picked on the way to the right, they will be formed on the second pass returning carriages back to the left.
C2OR: use the second carriage for 2 passes
Repeat the last 2 steps until the desired length is reached
Transfer all stitches to the top bed, create a loose bind off tested on the test swatch.
The sampled repeats altered using variation keys in the 930
8X32

16X32

16X64 The transition in aspect ratio as the original repeat used on the right is changed to double its width Here the comparison is made to the double-wide repeat also doubled in length
The elongated stitches allow objects behind them to peek through Another 2 color variation  Previous posts include samples isolated on striped grounds, using 2 colors.
Adding a third color can make the overall appearance muddy and small designs can appear lost. One sample in the post Here the goal is to use the img2 track separation, maintaining the same color change rotation in each piece.
Reviewing points to consider: in more than 2 colors dbj separations, the double-length variation key is set automatically except in the 950i, where it needs to be set manually.
In knitting drop stitch, the repeat chosen must have each color present in each design row unless the shapes are deliberately altered with solid color stripes in each color. The software is smart enough to recognize any design rows in which a color is not represented.
In conventional dbj, this keeps the design continuous, but in drop stitch, those extra rows will produce an all knit stripe interrupting the overall design.
The software scales the height of the motif to half the original, due to the fact that the double-length variation key is automatically turned on, restoring the original aspect ratio, the png loaded needs to be the original repeat scaled to double its height.
In DIY a small design will likely be less recognizable than larger ones, but working with one can help one understand how stitches can be formed.
The initial design is 6 stitches by 7 rows. It was stretched in width since the fabric elongates the design, and in height because to software will, in turn, reduce that by half to 14X12. The tiled potential appearance as a dbj fabric:In the first sample three carriages are used:
after the basic cast on, transfer and set up needles as described for all variations.
To use the second knit carriage to drop stitches, the first preselection row is made from left to right with the color 1. As the pass is made to the right, no needles on the top bed pick up loops, the ribber knits in that color, preselection for the next row of knitting is made.
As the carriage returns to the left the first row of loops for the long stitches is formed, the ribber knits the second row in that same color.
With both carriages to the far left push the button selection for the next color selection. The number prompts for color changes by the machine will be off by a row during this process.
With the second knit carriage and its altered sinker plate on the right set only to knit make two passes, returning it to the far right. The first pass drops the loops, the second pass returns empty needles to the B position, creating the long stitches.
The paired carriages will knit only on the ribber as they move from the left to the right again, preselecting for the next row of loops. They will place loops in the pattern on the top bed needles as they return to the left, and knit a second row on the ribber.
With carriages to the far left push the button selection for the next color selection.
Use the knit carriage for two passes from right to left, repeating the two steps for the length of the piece.
When the top of the piece is reached, drop any loops on the top bed before knitting a row on the ribber and preparing for transferring stitches to the top bed and binding off.
Only one set of loops is created in each color.
What of end release? because all 3 colors are present in every row, the design is suitable. The first preselection row is from right to left.
I found the combined carriages harder to push, and the knitting wanting to ride up toward the ribber bed needles.
The bottom of the swatch has loops released before a transition to plain knit simply exchanging colors every 2 rows until the end of the test was reached. The top duplicates the effect achieved above by pushing preselected needles back to B position with a tool prior to moving with the new color from left to right. Side by side comparisons: If the end release fabric is preferred but the stitches riding up are a nuisance, the carriages are hard to push, not all stitches release on a larger swatch, or a slightly fuzzy yarn is used the same result is it possible once again using the modified knit carriage to drop stitches making passes from the right?
The problem with that concept: if the knit carriage or any other tool is used
periodically to drop stitches in a long piece when it moves across the row, it drops on the first pass, leaves needles in B position on the second pass when
returning to the right. As knitting resumes with both carriages, no loops are picked up on the first pass to the right, so the pattern with colors dropping for 2 consecutive rows is interrupted, resulting in a patterning error. Selectively dropping stitches while maintaining proper needle preselection is impractical.
Also, if the intent is to use the knit carriage also to select and drop stitches for 2 rows out of every 4, the motif would need to be lengthened several times. I found when programming the far longer repeat the software refused to make the proper needle selection, switching every 2 rows rather than repeating the same multiple times. That aside, the number of passes required becomes daunting.
Changing color selection and order may make the individual shapes more noticeable: Any published or self-drawn separation for 3 colors per row patterning including every color in every row of the original design may be used, programmed as a single bed design, and knit for end release.
This swatch is only 24 stitches wide, it was a start in an attempt to place a better-defined geometric shape on a striped ground, with spaces where not every color is represented in every row between repeats. Its dbj version has some interesting surface texture on the reverse It is only part of the finished piece. The same yarns and tensions as in the previous samples. Two of the problems with end release reared their heads: the color changer side formed too short floats producing a side edge a different length than the other, and several stitches were difficult to drop from the top to the bottom of the knit, with the yarn even breaking in some spots. 

Working with only 2 colors makes the process for me far more predictable and manageable.

Previously published related posts:
Revisiting drop/release stitch lace 1  11/17
Drop stitch lace using Ayab software 2/ HOP 2/20
Drop stitch lace using Ayab software 1/18
Geometric shapes in drop stitch lace 3, end release  6/15
Geometric shapes in drop stitch lace 2, Brother KM  6/15
Geometric shapes in drop stitch lace 1, Brother KM  6/15
Drop stitch lace, 2 colors per row, Passap KM 10/13
Drop stitch lace, 2 colors per row, Japanese machines  10/13
Revisiting knit “bubbles” brother KM 10/17
A bubbles cousin 9/13
More knit bubbles  9/13
Knit bubbles and “stitch ditchers/dumpers”  9/12
Working out the kinks in my drop stitch lace saga  9/12