DAK DBJ color separations, templates, other software

Over the years I have written on an assortment of methods for color separation in knits including DBJ, a summary post with links to previous shares: dbj-and-color-separations-some-previous-posts-links/
and in the-start-of-a-blog-index/

A variety of textures and patterns may be used to achieve fabrics that are very different in appearance, using a very simple pattern along with cam button or lock setting changes. The first chart was generated at that time using Intwined Pattern Studio, a program that for a time appeared to be very promising and then moved on to lack of updates for Mac making it useless in 2013, followed by none for Windows as well, with no successful use of it reported in forums in years, but one may still purchase it The manual color separation method for punchcard machines.
The elongated X2 repeat version of the triangle drawn in Gimp As for more than 2 colors per row, performing the color separations may be achieved manually, various software is now available for performing the work in instants.
Ayab offers an elegant color separation solution, heart-of-Pluto, that will knit single passes for each color per row on the front of the knit, resulting in 3 color patterns with limited design stretch, and no worries about the placement of one color over any stitches preceding it in the same color on the previous pass.
The difference in the same design being knit with the standard, elongated version, allowing for two passes with the same color before each color change and the Pluto version.   knit using img2track, the vertical stretch is manually set to X2, A “hack” 2021/01/24/img2track_multiple-colors-per-row-dbj-each-color-knitting-only-once/

For more information on the various DAK separation charts and related swatches including limitations encountered, see post: DBJ, more than 2 colors per row 4

There is a Russian punchcard site that will allow entering personal repeats or selecting one from their extensive library, where it is possible to obtain related 2-color dbj separations as well. The punchcard color separation may be created manually, a slow process, while the punchcard templates in Dak are achieved with a few, quick clicks of a mouse. The repeat may be created as a graphic file, in my case a png created with Gimp, the elongation in Arah because Gimp fails to scale small repeats cleanly. The image may then be opened as a graphic file,

stitch and row counts should match, and save the stp 

if experimenting with changing selections and this window appears it is OK to click on No The separation methods in DAK:
Method C separates each color row into separate rows of knitting, rows do not have to be repeated in pairs, and the double-length switch will need to be used in Japanese knitting machines The elongated triangles repeat template is different from what would be produced with the above set at double length, may be used as is to produce a variety of fabrics including quiltingYarn choice and design make a big difference. Here the yarn is far too thin, and the repeat too narrow in width, but the possible result is illustrated. The main bed is set to slip in both directions throughout. The ribber setting needs to slip in both directions for every other pair of rows. When the ribber slips, the main bed will knit the color that will create the pockets, where there are many single stitches selected here, the KC was set to KC1. When the color is changed and the ribber is set to knit again, stitches in that color will knit on both beds, sealing the fabric in those areas and forming a solid color background on the reverse side. Here the white forms the pockets, and the floats after a pair of passes are seen in this photo. Because the yarn is so thin there is a considerable grin through on both sides, the areas marked with arrows indicate where the white pockets were lightly stuffed with yarn ends     For a review of quilting on machines including Passap see 2018/02/15/revisiting-machine-knit-quilting/, and using a second knit carriage with a modified sinker plate for knitting stitches on main bed only, making ribber settings fixed throughout, and allowing for tension adjustments for each color yarn.
Methods A and B are both used in Japanese machines when each color is intended to be knit for 2 rows with color changes on the left.
Method A
works on pairs of rows. If the pattern does not consist of identical pairs of rows there are likely to be yarn error messages that resolve when the design is lengthened in height X2.
The original triangle elongated to 8X16 If pngs are created outside the program, they may be doubled in length unless the repeat is designed that way. The associated menu options in Dak when the plan is to work in double jacquard How the different jacquard setups process the specific repeats:
Method B creates the same separation as the default built-in KRC one in Japanese electronics. If knitting DBJ it may be used with DAK if the pattern is downloaded as fair isle but the machine will then need to be set for dbj. If additional colors are used, pairs of rows will follow a single pass for color1. The print preview templates, if generated within the stitch count restriction for use on punchcards, may be used as guides for punching the required holes, this would be the card for that 8X8 triangle repeat, a tad shy of the recommended 36 rows, Passap card reader techniques saved from long ago experiments.  Other separation methods in the Passap are handled by the console with the entry of specific knitting technique numbers.
That said, the DAK color separation is applicable for printing reader templates if still using Passap E6 reader cards or punching for the Duo with Deco.
Method C see the top of the post
Method D separates each color into a separate reader card and is used to download to the Silver Reed PEI or the Passap E6, appears to use superimposing of layers, and matches method 4 in my post.
Method E is suitable for machines with a color changer on each side, like the Brother CK 35. It works on pairs of rows and separates each row into a pass with each color. A 3-color jacquard would have six passes with colors separated as follows: Method F is a Half-Milano separation. Each pattern row is separated into a pair of passes for each color, but the second row for each color has no patterning, so the ribber stitches only knit as the carriage returns to the left side, a possible way of creating repeats for drop stitch lace on Brother machines. The elongated triangle template was split into 2 pages for viewing, they are combined in this image This may be the associated Passap Reader technique, but I have no way to test it Processing the template using numbers: a table is created twice the length of the 8X16 triangle repeat, followed by hiding the 32 odd-numbered rows, positioned in front of the scaled punchcard template, stitch markings are traced the rows are then unhidden, the repeat is checked, matched here to the F jacquard separation in DakThe numbers table is processed in Gimp to obtain the png for knitting the now 24X64 pattern  Proof of concept swatches: the long stitch in 2 colors,  and the pattern executed as a tubular FI knit: I had yarn issues, hence the dropped stitches. Both swatches were knit to approximately the same point in the pattern repeats, there are obvious quality differences in width and length. In tubular knits, there are differences in the width and height of the knit on each side. The front is a slip stitch with floats, drawing the fabric in, while the ribber knits every stitch every other row. With a good choice of yarn and pattern, loosening the tension on the top bed may ease this problem. As often happens, casting on and binding off need special considerations ie to allow for any fabric stretch when off the machine or to leave a tubular knit open at either or both ends if that is the goal. More info on tubular knits including on PassapDAK has been a purchase made out of curiosity, and my use of it has been very limited since my designing needs are met by using other programs that are free to users and generate and accept files in multiple formats, while the Brother Knitleader or even simple use of the magic formula solves knitting any desired shape in any gauge.
That said, if one can generate the templates produced in DAK, the screengrab of the result may be used to generate a PNG with ArahPaint using the weave-from-grid feature that is then knit-ready on any electronic machine able to accept downloads. The method is far quicker than using Numbers and Gimp.  

Geometric shapes on ribber fabrics with tuck stitches 3

Previous related posts:
2 color ribbed brioche stitch on Brother knitting machine 1
Geometric shapes on ribber fabrics with tuck stitches 1
Geometric shapes on ribber fabrics with tuck stitches 2; knitting with 4 carriages
The last post on using Gimp:  2021/07/18/gimp-update-for-mac-2/
The method for color separation used for mosaics

The sources of inspiration from hand knitting or industrial knitting machine designs are endless. There are many features that simply cannot be duplicated, sometimes compromises can be reached that can achieve only imitations of the original. To my mind when knitting garments or long pieces the greater the degree of automation, the less likely one is to have patterning errors occur, in ribber fabrics, they are also more complicated to correct than single bed knitting.
I recently came across a pin of a Ravelry hand knit pattern which led to my return to this topic once more, including perhaps the addition of more colors. The plan is to create a repeat which may be knit using color changes every 2 rows. Each design row knits each color twice, so the standard built-in KRC separation is not a consideration, though the same cam settings may be used in those fabrics as well.
The required color separation has been discussed in several posts on the various forms of DBJ, a review:
The initial test repeat is 18 stitches by 44 rows, designed using 2 X 2 blocks, to begin with. How it might appear knit in fair isle:  Transitions in charting visualizations:
A: FI repeat with pattern progression in two-row increments
B: every even-numbered row beginning with row 2 is color reversed
C: B repeat is doubled in length to 18X88 for initial samples
D: repeat adjustment for a first try at introducing 2 additional colors End needle selection is canceled, the first and last needles are in work on each side on the ribber knitting every row, the first preselection row is from right to left, cam buttons are set after the left side is reached. Knitting in these samples began with the blue yarn in the number 2 position in the color changer. The ribber remains set for knitting in both directions throughout, the images on the right do not reflect the amount of surface 3D textures.
with the main bed set to tuck in both directionsLock settings are easier to achieve on the Passap than switching out cam buttons in Brother machines. This was knit using 4 carriages. Color one knits with the main bed set to tuck both ways, color two knits with the main bed set to slip both ways. The slip stitch reduces the width of the fabric considerably Here each color alternately tucks and slips. The choice of cam buttons matters, tucking first from left to right, slipping from right to left, with cam buttons set COL after the first preselection row This last cam setting appears to my eye to produce a texture “close enough” to the inspiration fabric. Attempting to add more colors: the repeat, D, is still 18 X 88 but is now shifted slightly.  Somehow the slip cam button was not set, so the knit carriage tucked in one direction while knitting in the other. I am vaguely reminded of illusion knits. Considering altering both the color choices and placements again. A way to imagine exact color change placements beginning with solid colors repeats once more, which can be followed by new color separations. The existing repeat may be reduced further to 18 X 64, eliminating some of those extra rows in the center of the chevron shape  The new BW image, tiled: Whether or not the design is intended to retain chevron shapes in alternating textures, actions may be plotted pre knitting in any way that visually makes sense to the person designing the pattern and tools available to them. Reversing the png so that the more textured stitches will begin with the color in yarn position 1Using either repeat, color changes now occur after every 32 rows knit. Another color change location clue is in the needle selection change above and immediately following the red border in the chart on the left.  Adding colors can be planned cautiously or allowed to happen randomly depending on the preferences of the designer and end-use. Ribber fabric designs are not visible until several inches have been knit, too late to catch color sequence errors. Some machines allow for memo placements or sounds to help track color changes, but only within the initially programmed repeats. A quick spreadsheet can provide customizable checkboxes or added information. For an attempt to retain chevron shapes in different textures: When using 3 colors, rather than 4, the texture of the zigzags on any specific color, will vary in placement. It is easy to change colors in any chart to approximate those that will actually be used in the knitting.  Proof of concept: each of my yarns is slightly different in both thickness or fiber content from the others, which can be a drawback in resulting textures. As in any 2 color dbj, if 4 consequent rows are knit in one of two colors the positive and negative portions of the image reverse, as seen at the top of the swatch. The green was not intended to be used originally, the white yarn simply ran out. Such accidents at times may provide pleasant improvements. There is bleed-through of each color behind the other in the tighter knit areas as well which contributes to visual color blending, noticeable even in the areas with fewer tucked stitches. Splitting zig-zags into triangles, working color 1 with color 2, followed by color 3 with color 4 pairings A PDF including row numbers and space for notations zig zag
An editable Excel spreadsheet created as an export from numbers zig zag
For Mac owners a Numbers doc. zig zag
A simpler repeat suitable punchcard owners as well using only 2 colors The test swatch and observations: patterning was begun with color 2, yellow.
The yellow yarn is 12/16, the maroon is 2/15 in thickness.
The triangle, because slip and tuck stitch settings are used, is compressed in height, while there is enough tuck happening to still make the knit wider.
The pattern is 24 stitches wide, the swatch was knit on 40 needles. Smaller swatches are fine for testing tension and colors. If committing to larger pieces, tests on at least 100 stitches by 100 rows are needed for gauge calculations in any double bed work or very textured patterns on the single bed.  On some occasions when a far larger number of needles are in use, problems may turn up that require going back to the drawing board in terms of items ie tension settings, weight used, etc.
A: patterning was begun with thicker yarn, the yellow, in color changer position 2, both yarns are 100% wool
B: KCI, end needle selection on, a 2 color “beaded” edge is created
C: KCII, end needle selection canceled, patterning occurs on end needles
D: transferring to the top bed and using the standard latch tool bind off for these fabrics is far too tight  The tiled repeat, 24X48, does keep the stitch quality constant for both colors, Assumptions based on optics of tiling are not always accurate clues to potential patterning errors, here those darker lines are part of the actual design Continuing on a 24 stitch repeat, the original design may be rendered at double height and separated once more, doubling the separation height to 96 rows There are days when either or both machine and knitter need a break. At the start of the first swatch, the cam buttons were not set, resulting in plain knit stripes. At its top, the purple did not get picked up properly from the color changer, and the knitting of course fell off the machine. On a second try, the same issue happened again with the purple yarn. Multiple incidences of such events were fondly nicknamed “dropitis” by my students. The test is on 24 stitches, the width of a single repeat, the triangles are much more balanced in size, this knitter is putting this pattern to rest.  Another try at the diamond shapes that began this topic. The first .png when tiled appeared to not have enough space between the shapes, was amended to this the differences when tiled the color separation can happen completely within Gimp using color invert the white yarn is an acrylic, slightly thicker than the purple toned one. Sometimes simply exchanging yarn positions can change the qualities of the overall fabric. The repeat begins with 2 blank rows. To achieve the tighter white shape as opposed to the honeycomb purple one, at the start of the repeat that color needs to be in use on rows where knit stitches happen as the KC, set on slip to the right, knits needles brought forward to D position. Red in this chart segment marks pertinent rowsBoth with hand knits and commercial knits because of the hand actions possible on both sides in the first, and as many as 4 beds selecting and knitting on the other may be in use at the same time with more complex needles as well, there are fabrics that are difficult or even impossible to duplicate. There often are obvious differences in the results, but the journey may still yield results that are pleasing and worth pursuing. Another even more complex inspiration from a sweater attributed to Falke, Spring 20 collection, using similar stitch structures, but in addition, also transferring stitches between beds exposing a purl striped ground.

Numbers and GIMP: online punchcard patterns to electronics 2

11/23 Outside the topic of this post, ArahPaint 6 and its tool Guess Weave from Grid has become my preferred method for converting published design repeats including those intended for punchcard machines for use on electronic models.
Two samples: A black-and-white published card repeat isolated using ArahPaint, 
the 24X48 PNG  

and, from the Russian site, #4559, 24X1349/23
The latest Gimp update download: 2.10.34
Recently some Pinterest stitch pattern finds turned up in Ravelry along with questions with regard to using them in electronic models.
To review some of the editing required, in this case, for a tuck design The pattern is the typical 24-cell width. Row numbers are confusing and not specific to a brand. The repeat was likely punched using a roll rather than a single factory-numbered card. The magnified, manual count totals 62 rows.
The stitch type is not specified in the pin, it appears to be a tuck pattern breaking the rule of no side-by-side unpunched squares at regular intervals.
Assuming the shared card is correct and missing only the standard initial 2 all-punched rows, using software can help assess design accuracy. The latter proves useful if one is planning to punch cards as well.
The first 24X62 cropped design is shown to have faulty alignment when drawn in repeat.   With a few rows removed,  the final 24X48 repeat aligns properly  When two needles are tucked side by side, and those same needles are brought forward prior to being knit on the next pass, there will be wider loops across them. Tension and weights may need to be adjusted more than once to avoid problems.  The swatch was knit using an unknown fiber that was scorched in part when steamed/ pressed, as seen in the image on the left.  Another look at the inspiration swatch shows the knit was actually turned clockwise, a reminder that rotating knits can vary the appearance of the results.   Reviewed and edited, 12/2022
There is a Russian online site offering a huge range of punch card designs. The question of how to convert the site files for use in electronic machines surfaces periodically and did so again recently in FB groups.
My posts with information related to this topic:
Brother KMs: punchcards and their use 
Numbers and GIMP: online punchcard patterns to electronics 1
color exchange Gimp update for Mac 2

A Russian language tutorial on converting punchcard images using DAK
A recent video offering on navigating the site in English, begin viewing on minute 5
The site link
Small previews link for FI
The translated site link  offers larger previews
The options in English for working with published cards The help menu is available after the card is chosen Designs are presented on pages that list them from longest to shortest row counts for the complete repeats. Punchcard users can reproduce holes as given. There is also an option for entering a new design and it appears, in turn, one may be able to generate a separation for its use in DBJ.
Beginning with a smaller design intended for machines with 12-stitch repeat restrictions simplifies the view and processing of it for newbies. The published patterns are offered Silver Reed ready. The option for converting the cards for use on Brother 260 renumbers it with the appropriate location for the number 1 row marks required by the operation of the different brand’s card reader. Toyota versions are also available. Making the holes larger is a boon to reproducing the drawing correctly regardless of end-use. Splitting the card into segments is helpful when using factory blanks with a 60-row maximum repeat, and often also when processing the image for use on electronic machines, which is affected by screen size views available to the software user. For some reason, I found the commands erratic when working on the translated version of the site, and fared much better in the original language publication.
In the 2022 adaptation, the small previews were chosen for conversion to pngs rather than the full card templates used below.
The chosen card image may be dragged onto one’s desktop. I use Numbers to create my tables. The 2 all-punched rows, marked with blue arrows, and any standard vertical rows of holes on each side of the provided designs need to be isolated and eliminated. This is a 12-stitch repeat required for use on some machine models or useful when using a thicker yarn on every other needle to achieve the same design, every other vertical row is blank.
A: the table with cells 20X20 sized to match the number of rows and stitches in the original. The card image is arranged in the back of the table with the constrain properties option unchecked in its image-arrange menu.
B: cells corresponding to marked holes are filled in with black since the final goal is to create an indexed BMP or PNG. Not all programs for downloading to electronic machines read BMPs. Gimp does, and once opened they can be exported in the PNG format.
Using and holding down the command key during cell selection helps perform the coloring cells in action on groups, clicking on any cell again while still holding the key down will deselect the fill. Release the key, choose the fill-in color, repeat, and continue until the holes in the full design are filled in.
C: click and hold the command key, select every other blank vertical column marked with letters at the top of the table, the blank vertical rows are selected, release the command key, right-click on any of the same letter selections again, and choose to delete selected columns from the pull-down menu or after marking the rows directly from the table menu at the top of the screen. Eliminate all cell borders. The result shows how the pattern will appear when used to program fair isle.  Screengrab the final image surrounded by extra white cells, and open it in GIMP.
Change the mode to indexed BW, crop the file to content thus excluding any extra white cells, and scale to the original design’s 24 by 74 dimensions. Punched holes are now pixels; export the knit-ready PNG.
Using the filter, map, and tile options allows one to check on horizontal and vertical repeat alignments for any errors and begin to imagine how the repeat might appear on a finished piece. Color exchange may be used on the BW files converted to RGB mode to visualize the knit using specific colors. On the far left below the final PNG is shown magnified X 800 with a superimposed grid, then filter-map-tiled to 48X148 size. It is followed by a BW color-reversed version of the same, as well as color-exchanged ones. Getting a preview of how a finished garment might appear, here the tiled version is 192 pixels in width and one may glean some idea as to whether that repeat should ever really be used in a sweater or even a blanket. Further image scaling or cropping can happen based on the knit gauge. A very quick rendering imagining pattern and color placements using a simple sweater outline Collections of every other needle repeats for processing with a similar approach may be found in these volumes, available for free download
Chunky punchcard patterns  12 stitch Patterns of Knitting With Creative Punch Cards Juki 12 StitchBoth volumes include accompanying swatch illustrations.

In machine knitting, the word lace is used in categorizing a large variety of knit fabrics. The terms include:
simple lace, executed with carriages that transfer and knit in a single pass
multiple transfer/ fashion/ fancy/ lace: executed with carriages that transfer only
lace and fine lace combinations
fine lace
tuck stitch combined with transfer lace
tuck/ pull up lace
transfer lace combined with weaving
punch/thread lace
ladder lace
punch tuck rib
drive/drop stitch lace
If one explores the second selection for 24 stitch cards looking for openwork patterns for 24 stitch cards, the resulting  20 pages of repeats do not differentiate between the lace categories, so the onus is on the visitor to determine proper repeat use.
In addition, the option for switching machine brands does not readjust for changes required for the pattern to read correctly in the alternate machine brand card reader. As an example, transfer lace cards are shown with blank starting rows, ending with punched holes, a Studio brand feature, and in some cases with a punched row ending with blank rows, a Brother feature.
If changes are made in machine brand selection, the only adjustments in the new image appear to be made to the numbering sequence, but not to the punched or unpunched starting and ending rows.

For punchcard users or enlarged views: printing the PDF breaks the repeat into segments required if one is using individual 60-row maximum length factory cards and not a punchcard roll. On the far right, the a difference in relative size between a factory punchcard and the PDF image printed without any adjustments.  Filling in the dots with a black marker renders the to-be-punched holes more visible through the card, making marking prior to punching easier and faster.  For a better, printed match size, after capturing the image from the PDF for a single page outside image edges, opening it in Gimp, and cropping it to content, it is then possible to scale the results to measurements of a factory punchcard equal in width and adjusted for the number of rows in the image. My card required print measurements were 14.1cm by 26.1. Scaling executed with an aspect ratio that is too long.  breaking the chain-link, removing size constraints The result with printing to match the card stock measurements was extremely close to the desired size, useful, but hard to photograph  Entering patterns: the translation Working with the Russian menu:

The saved pattern will be assigned a number, in this case, 9831In the 24-stitch repeat FI area of the site, enter the assigned number into the search field on the upper right changing the view to larger holes if preferred, the option also becomes available to separate for 2 colors DBJ  translated to “recalculating for 2 fountains”.
Screengrab or save pdf, depending on needs.

2022: This process appears complicated, but with some familiarity with both Numbers and Gimp, can be fairly quick. Revisiting the site, I made the accidental discovery that working with images as shown below, by superimposing a Numbers grid to these point measurements, developing the designs became quicker and easier to manage  Two instances: from any black and white chart and a seasonal 24X120 repeat from this website.  Beginning with a published and gridded punchcard model: I am used to converting patterns for testing and using them on electronic machines. If the goal is only to have a printable template for marking holes to be punched, see the very bottom of this post for the quickest method.
The technique steps reviewed as applied to pattern # 403 as seen in this scan  Open the image in Gimp, and crop to the outer edges of the selected punchcard. Eliminate unnecessary information by using the select tool and bucket filling each area including non-repeat information with white. Adding a visible pixel line along one of the edges of this image will help locate handles for adjusting its size on the white spreadsheet ground. Save the result.  In Numbers, at 100% magnification, create a new table, 24 cells in width by 48 rows in height. Using a thicker cell border in a contrasting color is useful, here the border style is set to 3 points. Drag the image onto the spreadsheet, place the mouse pointer on and hold it in place on any one of its handles, appearing as white squares along its edges to a larger size than the table, then use Image Arrange and uncheck constrain proportions. Select the whole table, and drag and position it in front of the image.  Using the image handles adjust its size and place it for easy tracing.
Size and position in the Arrange menu will help with fine-tuning. Fill in the cells above the white squares visible beneath with any color that will facilitate keeping track of the marks.  Move the table away from the image at the end of the process. Visually check for any obvious errors in the overall repeat.
Scaling while retaining the odd number value resulted in patterning errors.
The problem was solved by resizing the table cells to even numbers, 14X14 points.  Remove all cell borders, and set the zoom at 50%. Screengrab the result with a white border around it.
Open the grab in Gimp.
Use the Image and Crop to content option.  Set Fuzzy select to select by color click on the contrast color, and pixels will be surrounded by broken lines select bucket fill to black, click on rectangle select, and then anywhere in the window to fix the result, the dotted lines will disappear  Follow with these steps
Image Mode menu, convert from RGB to BW Indexed Colors Menu, and choose Invert. Image Scale to 24X48 Magnify X800, Show Grid, and check for any errors.
Save the file.
Filter, Map Tile for the repeat alignment check.  The resulting, proofed repeat, 24X48 The top row of images summarizes the steps using Numbers, and the bottom row the results using Gimp  See punchcard templates for more information on associated settings, including downloadable spreadsheets.

Using the setting for centimeter ruler units, a partial segment of the above table’s repeat was printed. The result is shown ready for tracing over an improvised light box The squares on the card with black cells beneath them may be marked with any tool. For the result to be knit in the tuck stitch setting, users would need to punch all unmarked squares. If only the marked squares are punched, the pattern card could instead be used for thread lace in machine models with that capability.
A slightly different approach for pattern 8095 from the Russian site. Prior to committing to the process, check the row numbers in the PDF, and make certain the repeat is correct. This one happens to have a missing, blank row Using the small preview from  http://perfo.12rus.ru/index.php, download it Open it in Gimp
Crop the image to eliminate the border
Fuzzy select by color the background which only appears white.  Bucket-fill the ground with white from the Gimp palette, and only the repeat will remain Do not convert it to indexed
Create a Numbers table containing 24 cells in width, and 58 in height using the centimeters ruler setting, with cell size set at 0.5cm wide by 4.5cm high. The full table size will measure 10.8cm by 29cm.
Drag and drop the design image onto the sheet, resize it to table measurements, position it underneath the table, and begin filling in cells.
A: in some instances, it is possible to work all in black. As I progressed up the repeat I had to readjust the image placement slightly
B: the image size was tweaked to measurements of 11.2X29.1, and a separate color cell border is used
C: the full repeat is separated into sections to fit on standard letter sheets when printed. The result: The electronic repeat: Before committing to a knit, using Gimp, Filter, Map, Tile, check alignments. In addition, the result helps visualize whether or not the result is what was expected If the only thing needed is a traceable template for punching holes using the 11.2X29.1 measurements in resizing the cropped preview in Numbers, open it in its own sheet, watching its placement and you are good to go! Working in Gimp alone, the alternatives to working in pixels: Using a screengrab of a DAK DBJ color separation: the repeat itself is cropped to its edges with the rectangle select tool. The size is calculated using the formula for the width and height of cells in the unit measurement of your choice, ie cm or mm. Even though scaling is done with the chain link broken, the program will round off the values to very slightly different numbers. The printed repeat underneath a blank punchcard is ready for marking.  When using Numbers, the program will separate the repeat into segments for you if needed. My charts and results have been produced using default document borders.
If using only a paint program ie in the above case Gimp, the user is in charge of dividing the template into segments that will fit on the printed pages. Using legal-size paper can in many cases avoid printing on multiple sheets.
Some math is inevitable, the considerations involved:
in terms of mm and cm, 1 mm= .1 cm, ie. 216 mm+ 21.6 cm, a shift to the left with the addition of a decimal point
Working in cm: using punchcard 8095 once more
Each square on a blank punchcard is 4.5 cm wide and 0.5cm high
Full punchcard: 24 stitches, the fixed width for punchcards = 10.8cm
58 rows, the variable, in this instance = 29cm.
In printing, using default borders:
US Letter: 45 X 0.5 = 22.5 cm = maximum # design rows
Full repeat = 58 rows X.5= 29cm.
First sheet: 45 rows X.5=22.5cm
Second sheet: 13rows X.5= 6.5 cm 22.5+6.5=29cm
On Legal61 X 0.5 = 30.5cm = maximum # design rows

It is possible to download a PDF of each card from the website. When downloaded and printed as given, my result can be seen as obviously off-scale

 

To mesh or not to mesh 8: more Numbers meet Gimp

A recent FB post led the discussion to this repeat from a 910 mylar, which does not have the immediately recognizable format of the Brother lace patterns if viewed in a small screengrab such as this. The repeat is included in Ayab test patterns. The full mylar collection and user manual may be found here http://machineknittingetc.com/brother-kh910-pattern-guide.html.
The segment including the lace pattern Brother was the first to allow programming from multiple areas on a single mylar sheet. Starting and ending stitches and rows needed to be entered, I got used to drawing boxes for each pattern as seen on the upper right, reducing errors in future knitting. The red lines on the copy highlight the repeat’s border. Mylars were read 13 rows down, punchcard machines7. The equivalent of arrow markings on lace punchcards are provided in the column on the left, which extends over the top of the drawing space by the same number of rows, allowing it to remain visible above the card reader even as the top of the mylar patterning area is reached.
The design is actually created from isolated areas of a mesh repeat discussed in a previous post. The lace carriage is used for 2 passes and then for 4 alternately, as indicated on the left side of the punchcard. The 2 passes will result in transfers to the left, the 4 make in transfers to the right. This repeat, usable in nonelectronic models, appears in my pre-punched factory basic packs as both #17 and #20. Depending on the electronic model or the software used to download patterns designed for lace, the final image may need to be flipped horizontally. This is true for use on my 930. Creating a template for mesh using numbers: begin with a table with square cells in numbers larger than you might need, ie 24 by 54. The method for doing so has been explained in previous posts. I happen to prefer cell units that measure 20 points by 20. The smallest repeat unit for use on any machine is isolated, shown bordered in red, is 4 stitches wide by 6 rows high, and drawn onto the template. The group of cells in the repeat are selected. If one hovers over any side or top and bottom borders of it, a yellow dot appears. Clicking and dragging on the yellow dot will repeat the full selection to the right, left, up, or down. Here the move is to the right The whole group is selected, and dragging on the yellow dot once more, the whole template can be filled Beginning at the top or bottom of the table, hide all blank rows. Using the command key during the selection process will allow this to be done on the whole table at once or in groups of rows at one time; 36 of the 54 rows are hidden.   At this point, there are a couple of choices. One is superimposing a solid shape. Using a contrasting color makes it easier to sort out its placement the color may be replaced with white in the spreadsheet,
unhide all rows, and the lace pattern is ready for the final steps before using Gimp The other option is to unhide rows on the colored table, screengrab as usual after removing cell borders. Open in Gimp, crop to content, eliminate the cyan row by filling it with white. It was intended as a placeholder for the last row in the pattern, is not part of the final repeat.
In this instance, I used mode, indexed, to the maximum of 3 colors.
Choose the color to alpha option from the colors menu.
Using the dropper tool select the color you wish to be made clear, and click OK. Create a new image of the same size.
Copy and paste the color-reduced image onto the new one.  Dotted lines will appear in areas that had the color removed previously. Clicking anywhere in the window outside the image anchors the paste and makes those dotted lines disappear. If that does not work, select the rectangle tool before doing so. The file is then ready for final scaling. The last image is in RGB mode once more, converted to BW indexed, scaled to 24 by 54, and exported as BMP or choose any other format ie png, etc. to suit your needs.
Responses to alpha selection can vary depending on the original color palette used when filling cells.
Creating a template for drawing simple shapes using transfer lace, it is easier to start with the transfer grid in a color, rows are hidden as above, and eyelet shapes are drawn in black. The rows are unhidden.    In this instance, the red was selected for converting to alpha with the image still in RGB mode, copied and pasted. The pasted image may be anchored in several ways. Using the image menu: select merge visible layers, or flatten image; layer menu: select anchor layer, or simply click on rectangle select tool and click again anywhere in the window. Changing the mode to black and white indexed will yield the repeat for final scaling. Each transfer design segment of the repeat is 6 rows in height and completed with 10 combined carriage passes. The lace carriage, LC, operates first, in a series of two passes at first, then followed by four, repeating the double sequence throughout. The mylar, card, or computer image, does not reflect the passes made by the knit carriage KC. The latter is set to knit, does not engage the belt, and does not advance the pattern. It helps to look at an expanded repeat to understand that indeed, transfers are made in 2 directions.
Referring to design row numbers, not necessarily those on a row counter:
1.  LC preselects for transfers to the left as it travels to the right
2.  LC makes transfers as it moves to the left, no preselection occurs, remains on the left side
3.  KC, moves to the left, completing the first knit row, creating loops on needles emptied by transfers, the pattern does not advance and remains on the same row
4.  KC, moves to the right, completing the eyelet stitches, the pattern remains on the same row, KC then stays on the right
5.  LC moves to the right, no preselection
6.  LC moves to the left and preselects for transfers to the right
7.  LC moves to the right, transfers to the right, no preselection
8.  LC returns to the left, no transfers or preselection, stays there
9.  KC moves to the left, and the pattern remains on the same row
10. KC moves to the right, and the pattern remains on the same row, KC then stays on the right Those familiar with eyelet formation in the more traditional transfer lace will notice the differences here, where the geometric shapes are technically superimposed on a mesh whose structure is revealed depending on where the transfers creating them take place. The fabric is easy and very quick to execute since most of it is in stocking stitch. The proof of concept swatch: The design was not planned as continuous, but is easily amended to be so. Here an alternate version is shown, with 2 linear repeats on the left, and a single expanded repeat to its right As for that mylar repeat, this is an image of the shapes with the chart collapsed, eliminating blank rows between black pixels. The resulting partial test used as drawn In fabrics designed this way, using the image as drawn (left), or mirroring it horizontally, does not visually change the result. This does not hold true in more complex transfer lace.
Several large-scale designs based on this method are found in Brother-electro-knit-lace-patterns-3 This random chart from the publication shows a pattern where the number of transfer rows between knit ones has more variation. Again, knit rows are marked in the column on the far left. Those marks on a mylar would remain visible on the outside of the machine, above the card reader as one progresses through knitting. Memo windows or handwritten charts may be the only option for accurate tracking, depending on the machine model and the row count variations. The repeat may also require it to be flipped horizontally. Simply reaching a row with no needle selection does not always mean the location for the 2 knit rows has also been reached. 2024:
The above is listed as a fine lace pattern. Most such patterns can be executed as  standard transfer lace as well.
The addition of the ArahPaint guess weave from grid tool makes the process of converting charts such as the above easier and quicker.
The final BW chart and the associated 60X74 png. Depending on the machine model, the file may need to be mirrored horizontally before any knitting.  in repeat The original image had markings for mylar that inform the frequency of knit carriage passes, which extend above the start and end of mylar markings to allow for the fact that the first design row is scanned below the row visible to the knitter on the exterior of the machine. When the png repeat is loaded into machine memory, reading begins on row 1. The knit row single pixel markings on the original can still serve as guides as to how many passes of the LC are followed by 2 knit carriage passes The column on the left indicates the number of LC passes before two knit carriage ones, the column on the right reflects the corresponding design rows. The image from the publication, with the color modified for clarity My sample was knit on a 930, hence mirrored horizontally, on 60 just stitches.
The yarn is a softly spun rayon with a tendency to split, and at the end of the second full repeat several stitches dropped, accounting for the length of the swatch;-)  The second volume is also available as a free download, and in addition, mylars are as well.
The latter makes for clearer stitch and row counts and easier file conversions.

Visualizing maze or mosaic potential from tuck or slip stitch repeats

I have written extensively on mosaics and mazes, color separations required for drawing their motifs, and visualizing the resulting patterns while planning slip stitch or tuck repeats. A recent exchange with a knitting friend, Tanya Cunningham, brought up her idea of using Gimp to investigate the potential of self-drawn tuck patterns becoming pleasing mazes or mosaic designs in color. Tanya has worked extensively with img2track, can be found in the FB group and Ravelry. It had not occurred to me to reverse engineer designs for this purpose. Tanya uses Gimp in a different way than I do, I am hoping she will share her process for this purpose when documented.
I have grown comfortable and fast with the combined use of Numbers and Gimp to achieve what I desire in terms of color separations. At the moment, on the assumption that estimating the overall shape is the goal, a black and white processed rendering may be a sufficient representation of the result.

Punchcard books are a great source of “safe” tuck designs. The best are those that have columns one stitch wide by 2 rows high. They are also more interesting if there are areas of solid black. Patterns from publications intended for use on electronics are often color reversed to start with in order to minimize drawing pixels or to make the design easier to read and will have lots of blank areas. Punchcard users would need to punch the ground as opposed to the design, electronic users can achieve the goal by the flick of a switch or a quick software command. For my first series of steps and methods, I am using the repeat that appeared as a knit using different settings in the post on mazes and mosaics from universal patterns.
Presented on the left, the repeat would be suitable only for thread lace or FI with very long floats. Color reverse allows one to use it for tuck and slip stitch, whether in one color or with color changes every 2 rows. The color separation to approximate the result with color changes begins with the same process as that used for designing mosaics. Once the image is rendered as a correct B/W png with no apparent errors, it is copied and pasted on a larger canvas, the mode converted back to RGB. The red cells make it easier to keep track of rows that need to be color inverted. Using the shift key and rectangle tool, multiple pairs of rows can be selected sequentially and color inverted. Beginning the selection with the very edge of the black squares on the left does not interfere with changing the color of the extra columns on the left side of the design. If pixels are added accidentally drawn in any of the 4 extra columns on the left, they can easily be removed when the completed conversion is cropped to selection for the final repeat. The completed color separation can then be bucket filled to match imagined colorsTiling the repeats to imagine the final knit presents the problem that results from working on a square grid and comparing the results to a knit, which usually produces a rectangular one. The representation for the linear patterns produced on the knit side of the piece cannot factor in some of the added distortions created by the stitch type used. I process my images in Pages or Numbers, depending on which document contains my most recent work and happens to be open. It is also possible to perform the final rescale in Gimp. Most knits approach a 4:3 ratio, with gauge variants in highly textured fabrics.  To preserve a clean design, tile and save the original, screengrab the resulting image, load it in Gimp, and rescale.   Repeat the motif for the same number in both height and width when tiling it. The colored versions before and after scaling, compared with the slip stitch swatch. It is possible to produce a rectangular grid to start with on which to draw in Gimp, but the larger canvas size occupies a significantly larger space on the screen, complicating the process. For small designs, however, that may be an option to give one the sense of aspect ratio for the design in the final knit ie in representational FI. To resize the grid in uneven proportions, the chain-link below the spacing values needs to be broken This repeat is designed for an electronic, requires color-reverse. Since it is 24 stitches wide and it may also be modified and used on a card. In this instance, the original marks for rows and stitches are single height. The image is processed, matching the original, rendered double-height, color reversed, and then alternate pairs of rows were color inverted to render the repeat used in the test swatch Once again, the possible change in scale is estimated. The repeat though only 24 stitches wide, is 92 rows high. On the left the repeat is shown as it appears on a square grid, to its right is the scaled 4:3 version, in a pixel count approximating the size of the swatch. It takes a bit of squinting to see the pattern more recognizable in the longer repeat in the larger tile The swatch was pressed, becoming wider than when first off the machine. It was knit using the slip stitch setting, could also be executed in tuck stitch, which would both widen and shorten the fabric and make the purl side more interesting.  The software can provide a preview of the result far more quickly than knitting samples, but again, the previews are only approximations of the scale, and cannot show distortions to lines as one adds more texture.
Repeating the process starting with a diamond shape that as given is only suitable for thread lace or FI with problematic floats,  and with a check tuck pattern that may change in aspect ratio considerably when knitted The proof of concept swatch, knit in tuck stitch, begins to show the distortion by the stitch formations, textures vs plain knit, easily seen at the top edge. The bind-off is around 2 gate pegs in order to allow enough stretch.  Anyone familiar with either or both programs may find this a very quick way to visualize the scaling and moving of motifs within DIY designs and their possible outcomes prior to test knitting

Brother shadow lace, rib transfer carriage

I have probably owned this accessory since the early 90s. After making a faint-hearted attempt at using it at the time and failing, it has been stored in the original box in the interim and just came out of retirement. The multiple languages operating manual for its use may be downloaded from http://machineknittingetc.com/brother-ka7100-ka8300-transfer-carriage-user-guide.html. There are several video tutorials available on Youtube. As a group, they generally illustrate simple transfers across an entire row in structures such as ribs used for bands and cuffs. This one is offered by Knitology 1×1, Elena Berenghean, a young knitter publishing very good machine knitting video instruction on a huge range of techniques.
The tool is designed for the standard gauge and transfers only from the ribber up to the main bed. It is best to use yarn that has some stretch. The recommendation in the manual and in youtube videos is to perform the transfers with the pitch set to H. My own ribber is balanced, I found I had problems with transfers in that position, several carriage jams, and to get things to work properly in half-pitch I had to use the racking handle to move the ribber needles slightly more to the left for the transfers. The needles containing stitches to be moved, need to be slightly to the right of the needles with which they will share yarn, that spot may turn out to also be just wide enough to allow for the pattern to be worked without changing the ribber pitch.  The yarn used is a 2/18 Merino, knit at tensions 3/5. In terms of positioning the carriage, a wire that is akin to that found on Passap strippers is on its underneath. In positioning the carriage on the beds, check visually that it is indeed lying between the gate pegs of both beds prior to attempting to travel with it to the opposite side If any carriage jam occurs, it takes cautious wriggling to release the wire and carriage. Upon completion of the transfers, simply lift up to remove it from the beds.
Generally, the ribber tension used needs to be set on 4 at the minimum. The last row just prior to transfers will likely need to be knit at a looser tension than the remaining rib. If the stitches are too small they will not be picked up for the transfer. Folks familiar with lace knitting are aware that just the right amount of weight can make a difference in forming proper transfers. With these fabrics, too little weight may result in loops forming on gate pegs, too much weight, and stitches may remain over closed latches on the ribber needles and not share their yarn for transfers.  Again, the transfer carriage operates only from right to left.
Studio instructions for their version of the accessory actually offer some different and more specific recommendations. When knitting full needle rib all the needles or pattern segments the machine generally will be in Half Pitch. Though there are needles in work on both beds, the ribber should be set to full pitch, aka P position, “point to point” prior to transfers, bringing them in close alignment in order to facilitate the process. Passap machines accomplish the same by changing the angle of the racking handle to other than the full, up placement in order to achieve the necessary alignment.
The Brother accessory and its parts, have clear imprinted illustrations for use

The change lever has only 2 positions, up and down respectively Its position is determined by the number of needles on the ribber one wishes to transfer.
The carriage manual recommends its use after knitting a last ribbed row to the left, but it is possible to use it with both knitting carriages on either side, as long as there is generous space to clear all stitches when the accessory is placed on the bed, moved to the opposite side, and removed. An extension rail may be needed to achieve that amount of clearance.
Operating slowly, one can watch the process of transfers while moving from right to left. Though skeptical, I found the transfers happened easily, with occasional skips. I worked with hand-selection of needles on the ribber to create a pattern, first with hand-selection, then with racking the ribber position to change the relationship of needles on one bed to the other, initially transferred after every 2 rows knit. The knit carriage was set to knit both ways, the ribber to knit in one direction, creating loops on the selected needles, and securing them in the other, allowing for the loops on the ribber needles to be transferred up to the main bed, before working 2 more rows. The “errors” in patterning were operator errors in needle selection as stitches were dropped, and not all the required needles were then returned to work position. Not a technique I would use for all-over fabric, but good practice. When the transfer occurs properly, the ribber needles will have yarn placed over closed latches, ready to be dropped, the yarn is shared and looped over stitches on the main bed, akin to tuck loops, outlined in the photo with the black oval. The first image is from the manual for the accessory, while in the photo, one improperly transferred stitch is outlined in red. To prevent dropped stitches from happening, any such locations will require a hand transfer to the opposite bed before dropping the remaining ribber bed shared stitches For my test I used EON needles on the ribber, planned alternating selection for each new transfer. This could be done by selecting dashes and blank spots on needle tape ie. dash in the above photo, blank spaces below  It was faster to achieve the effect by changing the ribber relationship to the main bed using racking by one position ie 10, 9, 10, 9, etc. prior to picking up the subsequent set of loops. The errors in the test swatch were from failing to bring all the needles back up to work after dropping their stitches. Using a tool ie. a ribber comb placed over the out-of-work needles prior to dropping stitches made the racking process far less error-prone,  will keep the appropriate needles from being accidentally taken out of work. My first attempt at creating shapes includes a band at the bottom where the EON transfers as above were made, but every row. Simply bringing needles into work on the opposite bed creates an eyelet. They can be eliminated by sharing stitch “bumps” on the opposite bed, but for the moment they are a design feature. The texture created appears in the areas involved on both sides of the knit It is possible to transfer single needles at sides of shapes ie or whole rows, but the change lever needs to be set to position accordingly.

Many knitters have one of these tools in their stash,  they are sometimes referred to as “jaws”,  intended to facilitate transferring between both beds, and patterning was intended for Studio punchcard machines. The enclosed punchcards: Shadow lace tools are marked side 1 and side 2. Some are blue on one side, cream or white on the other, the blue side is side 1. The process always begins with side 1, or blue. When the stitches have been removed, the jaws are closed, allowing the stitches to slide over to side 2. The jaws are once again opened, and the stitches are transferred to the opposite bed. Studio machines select and knit in single pass rows. Brother preselects for the next row of knitting while knitting any one row in pattern as well, so transferring in pattern from the top bed down with such a tool would be problematic to maintain proper pattern needle selection.
To transfer from the ribber up on any machine, place the teeth of the jaws on the needles on the ribber, holding it with both hands. Pull needles up until all stitches are behind the latches, then push down with another tool or one of your hands until all stitches are on the jaws.
Release the tool from the ribber needles, and rotate it away from you, toward the main bed. Close its teeth so the stitches are transferred onto side 2.
Open teeth, place eyelets over the main bed needles, and stitches are transferred onto the main bed by rotating the tool away from you just a little and tugging down a bit.
On Brother, the possibility of having patterning on the top bed to help track patterning on the ribber in some way comes to mind. This was my start, with the first draft of electronic repeats. I stopped when I began to have some tension issues, loops on gate pegs, and a distracted brain.
Transfers of stitch groups, whether by hand or using the accessories are made on rows where no needle preselection occurs on the main bed This series is a proof of concept for my approach to developing electronic cuesThe original repeats were modified to include 2 blank rows between segments that allow for transfers between beds not hampered by needle preselection on the top bed. The motifs are color reversed, but not the blank rows between themThe knit carriage is set to select needles KC I or II, end needle selection does not matter. All needles on the top bed knit every stitch, every row, whether or not those design rows contain black pixels. No cam buttons are pushed in. Blank areas between black ones indicate the number of needles that actually need to pick up loops on the ribber to create shapes, filling in spaces between selected needles until an all-blank row is reached for making transfers. The chart on the far right illustrates a shape where the easiest method becomes one where stitches on the ribber are manually transferred to the top bed in order to reverse the shape and maintain every row preselection. The selected needle corresponding to the black square marked with the top of the red arrows is pushed back, the ribber stitch below is transferred onto it, the needle with the couples stitches is brought to E position, moving across the bed in proper locations prior to knitting the next row.  In this repeat, the side vertical panels of ribbed stitches are added. The knit stitches on each side of them roll nicely to the purl side, creating what in some fabrics can actually be planned as an edging. My takeaway is to test the accessory with some patience, sort out the sweet spot for the ribber needles in relation to main bed ones in terms of handling transfers and yarn thickness, use colors that allow for easy recognition of proper stitch formation, keep good notes, and “go for it”.

One way to add color to the mix is to use the plating feeder.

In the first sample, equal thickness yarns were used, the colored yarn was a rayon slub with no stretch and slippery nature. The bottom of this test used a wool yarn of equal weight to the light color, which proved hard to knit. The red is a 2/48 cash-wooll A very narrow test for a possible pleated pattern  

It is possible to construct the same type of fabric on a striped background. It can be achieved low tech with graph paper and pencils if needed, using a simple paint program, Gimp alone, this is my process using Numbers and Gimp:
1. determine the desired shape, width, and height, checking that it also tiles properly
2. create a table with square cells the same width as the number of stitches in your design, twice its height; use an even cell size ie 20X20 pt
3. hide all odd-numbered rows from the top of the table down, the table will shrink from 20 rows to 10
4. draw your repeat
5. unhide all rows
6. copy and paste the table; double the cell pt height only to 40, making the repeat twice as long
7. mark corners or part of the edges with another color to make it easier for Gimp to identify them, select all and remove borders, grab the image with an added surrounding colorless border
8. open the screengrab in Gimp, use crop to content, fill colored squares with white, change the mode to indexed BW, scale the result to the appropriate size, in this case, 18X40, export png Cast on for EN or EON rib. Transfer all the main bed stitches down to the ribber. Extra stitches can be cast on and transferred in addition to the planned width of the repeats to create a border on either side of the designs. During patterning there will be stitches in work on both beds at intervals, so the pitch needs to be set to H while knitting. When the top of the piece is reached, transfer all ribber stitches to the main bed and bind off.
The first preselection row is knit from right to left in the contrast ground color.
With COR bring all the needles to be worked in the pattern color to B position on the top bed.
The knit carriage is set to slip in both directions. End needle selection is canceled. The ribber remains set to N/N for the duration. Knit to the left and begin changing colors every 2 rows.
The shape increases are created automatically, with eyelets at the edges where each stitch is picked up for the first time on the top bed. COL when the first needle is preselected in this case for the start of the next shape, transfer all previously formed design stitches on the main bed down to the ribber, continue knitting If any stitches are pushed all the way back or in mixed alignment during transfers,  be sure to return them all to B position, not disturbing the needles already preselected for the next pattern row,  repeat as needed. Because one color knits with every carriage pass while the other slips behind it not knitting for those 2 rows, the striped background fabric will become distorted depending on yarn and stitch size used, most likely particularly noticeable at the top and bottom edges of the piece.

Mosaics and mazes charting meet Numbers, GIMP 3

If working in Numbers, the solution to doubling the height of the final repeat for mazes or mosaics may be achieved by simply doubling the height of each cell prior to screen grabbing the table and processing the resulting image in Gimp. Here the cells for a single repeat in the table on the left are copied, pasted, and altered from 20X20 pixels to 20X40Working in 1800 magnification, using rectangle select, every other pair of rows is chosen and then color inverted. B: the process continues for the height of the repeat. Until each new pair of rows is selected fully, the last color inverted pair is bordered in a dotted outline C, useful in tracking the last worked location. As the subsequent pair of rows is selected fully, the dotted border will disappear. The processed repeat  Its tiled visual check  Proof of concept: the bottom half is knit using the slip stitch setting, the top half in the tuck setting. The added texture on the tuck stitch purl side makes the fabric a more interesting, reversible one, and wider than its companion.  For a different way of working with two-color initial images using only Gimp, see tips in Gimp update for Mac2.The process used on the beginning repeat, redrawn in 2 colors and then, in turn, elongated X2 or drawn double long to start with, tiled to check alignment. There are 2 options for altering colors in 2-row segments to achieve the separation, the first is color invert, the second is value invert, found in the colors menu. Both require color filling in of cells so as to obtain the final BW image, the value invert option, in this case, would require only filling in the green to white, but in managing larger images I believe having the additional colors make the process easier to track accurately. The color invert option will substitute a third color and white on every other pair of rows. Flood fill the original color 2 on rows containing black pixels with white, then fill color 3 pixels with black on rows containing white pixels: The mazes that are often seen in game-playing, puzzles, historical sources ie in Chinese design references, may not work out for knitting with this method, the result can be quite muddied.  I recently found a new to me online maze generator http://www.ludiculus.com/maker/mazes.html.  Changing the pixel width by default also doubles the image in height, making smaller designs for knitting problematic  This was a quickly drawn maze using it, shown with its cropped repeat on the right, then tiled. Numbers processing to ready the repeat for final gimp editing: The repeat when tiled predicts muddied results which are noticeable in the knit swatch. Because of the side-by-side areas with multiple white cells, the slip setting is used, not tuck. The single slipped lengthened stitches do not produce an easily recognized secondary design on the knit side Getting back to clearer pattern results: when using electronics, it is possible to create far wider and taller repeats for download. The technique to achieve them uses the same process. That said, there are quicker ways to attain the final repeat illustrated in the 2024 posts on using Gimp color to alpha through the Layer> Transparency option or Colors> Color to Alpha.
A new working repeat, 38X34 pixels: its tiled appearance  My starting table in numbers with hidden rows, beginning to isolate a smaller repeat the isolated repeat, double-length the color separation in progress
When knit, that white cell pair of rows break up the overall shapes and shifts the pattern in the top and bottom half When I tiled my next draft, I decided I preferred a cleaner join at the center The final adjusted repeat knit using the tuck stitch setting in both directions, KCI, first row left to right, leading with the dark color and here with the lighter color In progress, on the km  the relaxed, 3D-ish view on the reverse why projects can take longer than planned The finished, relaxed scarf with pressed edges only, retaining the conical striped formsThe repeat knit double length, changing colors every 2 rows, becomes something quite different, with a sharp curl to the purl side

Numbers and GIMP: online punchcard patterns to electronics 1

My blog is a live document.
At times I return to previously published posts and there have been software updates in the interim, and/or my familiarity with using multiple tools has grown.
I preserve the contents of the original post, they reflect where I began and the evolution of my approach to learning software navigation with specific design goals in mind.
At times some small additions are made to the body of the old post, at others,   dated post scrips point to later, perhaps easier or quicker methods to achieve the same goals.
____________________________________________________________________________________There is a Russian website with a treasure trove of machine knitting patterns, some for 12 stitch models, and extensive collections for 24 stitch models including for fair isle, lace, and single motifs.
There are pull-down options to show the full repeats charted for Silver Reed (default), Brother, and Toyota brands. The numbering system on the right of the cards will be shifted to the appropriate starting line, but the images themselves do not seem to adjust the placement of the punched holes when that is necessary for correct knitting when switching to other knitting machine brands.
The collections begin with the longest repeats. One such repeat

I had never had an interest in owning DAK, though never say never, I did purchase the program when my knitting software was switched to a Windows PC. From the promotional material and forums, it would appear their Graphics Studio offers an interesting range of design possibilities in converting such files.
My experiences with the program have been chronicled in related posts.
Those of us who are Mac and Gimp users need not be left out, the conversions are achievable with the investment of a bit of time and patience.
The charts as presented often cannot be successfully converted to the indexed mode and scaled in Gimp to produce readable patterns.
One long solution is to combine the use of a spreadsheet table, in my case created in Mac Numbers, with Gimp design options.
Prior knowledge of the basics of both programs is required.
I assume similar steps could be used with Excel.
A follow-up post on this topic:  Numbers and GIMP: online punchcard patterns to electronics 2.
It is easier to test how-tos beginning with a source diagram that has larger, more readable dots representing the punched holes. This was found on Pinterest, dimensions for both stitches and rows are not always provided. The units in many such illustrations are not square, and the goal is to end up with a PNG where each square unit represents one stitch, one row.
The cell size I prefer in Numbers tables has come to be 20X20 pts.
This particular design is 24 stitches wide, and 60 rows high.
To make it workable in that cell size, the repeat is opened in Gimp, cropped to its margins, scaled to 240 X 600 pixels, and the new image is exported.  In Numbers, drag and drop the image onto a new sheet if working on a previously created Numbers document. Click on the image, and then on format/ arrange to resize it to the desired proportions,  A table is then created, 24 cells wide, 60 high, each measuring 20 pt by 20 pt, with total measurements of 480 by 1200 pts.   Resize the image if needed to match the table size, in this case, to 480X1200. The size may be adjusted by using the up and down marks to the right of the size option or typing in desired values in each window followed by the return key, more accurate control than simply dragging on points at the corners of the imported original. Turning off constrain proportions allows for added tweaking of the size if needed.
On the left is the first table image, including extra rows to check for stitch and row numbering, and to its right, the resized punchcard pattern.  Select the whole table 24 cells by 60, by clicking on the circular symbol at the upper left, and alter the cell borders to a bright, contrasting color. I chose red, 3-point  thickness.  Move the table over the punchcard image or its mirror if needed.
The arrange option may be used to place either in front or back of the other.  Dragging the table using that circle on the upper left corner will place it directly on top of the design.
Select individual cells or cell groups by using the command key and releasing it periodically, to fill the cells with color.   The repeat in progress Copy and paste the completed table. Make certain there is a different color cell in any white squares at the far corners of the image, in this case, upper right and upper left (yellow), remove cell borders 1. screengrab a larger area than the repeat
2. open the screengrabbed image in Gimp
3. choose Image, Crop to Content, to eliminate any extra surrounding cells
4. fill any contrasting  color, in this case, those yellow cells, with white
5. choose image/mode/convert to indexed B/W colors
6. proceed to scale the image. In some instances, this needs to happen in 2 steps, the first scaling to make certain both values are divisible by 20, and the second to scale to the desired repeat size of 24X60
7. prior to saving the PNG for download, magnify the file to at least 800X, and with the grid in view, perform the first visual check. Then, using filter-map-tile, repeat the design in height and width multiple times to check its horizontal and vertical alignments as well as to visualize how it might appear in the intended project. A quicker process using only Gimp version 2.10.34, 2023 One needs to have a basic understanding of punchcard illustration markings, and often the repeat required for the use of the design in electronics may only be a very small portion of the total offered in the publication. The extra rows represent perforations that are not part of the design and may be cropped off in Gimp. The image of the repeat on the left is what began the FB discussion, while the one to its right illustrates the same after making the marks more visible. Making the marks more visible is possible by changing number values as well as by moving the slider immediately below the input levels Proceed as for the first image, being mindful of an unnecessary row at the bottom. The saved image can be tweaked in size by turning off Constrain Proportions and adjusting values for width and height for proper placement under the table grid. It soon becomes evident that the card is composed of smaller repeat segments, which in turn can be copied and pasted making for quicker work in filling in the whole punchcard row requirement. Check the repeat alignment by tiling it. The smallest adjusted electronic repeat, 12X20 pixels.  The far longer repeats might best be managed broken up into sections. An easier, quicker solution is presented in later posts.
This is part of #6717, shown in the process of trimming unwanted info in Gimp and after adjusting color levels to create a sharper image. The converted, partial punchcard repeat 2023: ArahPaint‘s weave from grid tool makes working with the full repeat possible. The final repeat was cropped by 2 rows at the top to 24X206 to avoid a 4-row solid color line produced when the original was tiled vertically.
Returning to the use of Numbers and Gimp: what of the lace punchcard repeats? There seems to be no differentiation between the different types of lace on the Russian website: thread lace, simple lace where stitches are knit and transferred in a single pass (a Silver Reed/Studio special), and lace requiring the use of 2 separate carriages, one to knit, and the other to transfer are all grouped together. In addition, the pull-down menu and changing machine brand selection,

if used, will change the numbering on the side of the card, but not the design content  The conversion process intended for the final use on the Brother machine: the image on the far right shows a review of the proper placement of pairs of empty rows between lace segment sequences, highlighted in grey In the past I have found lace repeats, in particular, to be particularly cranky when scaled down in Gimp due to the paucity of black cells. After the above steps, I decided to try color invert, resize, and color invert again, which in this instance, produced what appears to be an accurate repeat. Of course, the final png is likely to need mirroring for use in some electronic models The process did not work for me in using Gimp alone to edit test repeats from the website directly. The white dots, in that case, disappear with scaling to the desired size.
Using resize X 2 with color invert and back with a Stitchworld #150 pattern image got me closer to an editable lace repeat using Gimp alone, worth considering in the future. 2023: a different approach:
Left: the image from the Stitchworld book measures 26X64 cells
it is slightly tilted, the angle has been rotated for better results, and cropped to the borders of the actual design repeat
Center: the cropped image measures 442X846 pixels, it is scaled with a broken chain link first to a multiple of the original, since the output will be on a square grid, not a rectangular one, in this case, to 260X640.
Use Colors, Threshold, followed by Image, Mode, convert to BW Indexed
Right: Image, scale again with intact chain link to the final 26X64 size, export the PNG   With experience, one learns to trust the process.
A proof of concept for the final PNG matching the original is not in any way necessary but is offered here for this particular file or simply for reference.
Work in RGB mode, select and click on the rectangle tool after any steps to make changes to fix the layers.
Select edit, and undo to revert to any previous step(s).
1. open the initial cropped and rotated image, note the pixel proportions
2. in a new work window, open the final PNG, and scale it to the same pixel dimensions as 1
3. select all black pixels, and bucket fill them with red
4. use layer, transparency, white background to alpha, making it transparent
5. copy 4
6. paste 4 on 1, note that pixel placement for the final repeat matches that for the black squares on the original chart

Mosaics, mazes, and DBJ charting meet Numbers, GIMP 2

Please see the post Gimp Update for Mac 3   written in December 2022 for a simpler and quicker method of color separating maze/mosaic repeats using only Gimp and related swatches. 
I shared some working methods to achieve these color separations in 2019/06/29/mosaics-and-maze…numbers-and-gimp/. Mosaics and Mazes came on my radar once more recently, Numbers and Gimp have both been updated, and a few more ideas have occurred to me for managing the necessary color separations. The process as described here assumes that there already is some comprehension of GIMP and a spreadsheet’s basic functions. These are 2 more samples from Barbara Walker’s book on mosaics, offering the repeats in both 16-stitch wide and 24-stitch versions. It is always a good idea after isolating the repeat to tile it in order to get a sense of how multiples line upI was lazy about doing that with the first version of the colored repeat in Numbers and got the result in this swatch  due to a missing black cellThe second try, see edit below to amend another missing cell  Beginning with the long method to create the design repeat in the color separation suitable for elongated dbj: the built-in color separation in most Japanese machines for DBJ (179 and color reverse in Passap) will knit each color in each design row only once, as happens on the single bed in knitting fair isle, which in turn is far quicker to knit in that setting than by using slip stitch with color changes every 2 rows. The first preselection row is from the left to the right, the first color knits once before colors are changed every 2 rows.
The dbj color separation that knits in each color for each design row twice begins with preselection from the right and continues with color-changing every 2 rows. The produced image will be twice as long as the original design, not desirable for keeping the aspect ratio as close to the original as possible, but a necessity in creating some alternative types of fabrics.
To start, create a table, making certain that cells are square and equal in size, height, and width. I prefer 20 X20 or more when working with small repeats. The zoom factor can be adjusted, increased for more visibility, and reduced prior to screen grabs that are planned to be further processed in Gimp. At less than 75% while creating charts, adding numbers or text, and sometimes changing the qualities of individual cells is harder to achieve. Large-size images may be scrolled through during the formatting process The working design repeat is 16X16. Create a new table that is 16 cells wide, twice its height, 32.  While holding down the command key, select all the odd-numbered rows planned for the final chart repeat, any errors can be corrected by clicking again on the same spot, still holding the key down. The process may be done in steps, releasing the key in between selecting groups  Choose the hide rows option, hiding 16 rows, Fill in cells the chosen 2 colors Add a column to the table. It will be colored, select the column and choose the no color fill option for it, then resize far wider by clicking and dragging the symbol 
at the upper table right to allow for copying and pasting the full repeat more than once.
Select the chosen repeat in 2 colors, copy and paste it to its right. The rows are re-numbered in the new “chart” thus providing a new set of even/odd-numbered rows. On the new odd-numbered rows, select by holding the command key, choose black squares on each now odd-numbered row, and used no color cell fill option to render them white. Release the key at any point to work on gradually selected groups of cells.  If there is an error, while still holding the command key click on the individual cell or cell group again to erase the action, continue the process. Again, holding the command key selectively, on even-numbered rows add colored cells immediately above any empty cells in the row below.  It could be done all in black, but for me, that becomes difficult to keep accurate when separating large repeats. With some familiarity with spreadsheet creation, this can be fairly quick work. Copy and paste the table content once more. In the new table holding down the command key, on even-numbered rows change colored squares to black resulting in the repeat on the far right. The latter in turn will need to be doubled in height once more prior to knitting the final fabric, whether in the software or by the machine in the downloaded design To produce the .bmp file: copy and paste only the BW portion of the above table once more. Using the cell format option, remove all interior borders,  and if you prefer an outside guide, add an exterior border try zooming at 75% zoom, screengrab the table content, with an added blank border surrounding it, and import the result into Gimp. Choose crop to content, which will eliminate the extra white space around the image The final image needs to be double-height, so using the scale option choose image scale to 16 by 64 using the broken chain link prior to entering your numbers. These were my steps in scaling, I always check one more time for image size prior to saving. That is reflected in the last pair of numbers, with the now intact chain link symbol

When I first used Gimp I devised and explained this method for mosaic color separations in prior posts.  The expectation in working with such repeats is that on any rows there will be no more than 2 white squares marked side by side. On odd-numbered rows in the separation, the contrasting color squares slip, while on even-numbered rows the black squares slip. On odd-numbered rows, the main color (black squares) knits, on even-numbered rows the contrast color knits.
I think of row one/ odd rows as needing to knit black squares, row 2, and even rows having to knit white squares rather than marking in the traditional manner for slipped stitches on each row. I now have found a far quicker alternative to color separation for mosaic knitting using only GimpWorking on the black and white indexed repeat, using a magnification of at least 1800X. Using the rectangle select tool choose every other row beginning with the second one in the chart. That row will be highlighted by a white dotted line. Choosing will swap black and white cells in that row. Continue the process on every other row. It is not necessary to select the tool each time, as you advance and select the next row, the one just left remains briefly outlined in white dashes, making it easier to advance correctly in the design.
Import the black and white table, process as described, scaling for my final image to 16X32: This repeat posed by a quandary. The file may be used as-is and doubled in length after download. For doubling the height in Numbers, prior to importing the final screengrab into gimp, please see post:  2021/01/27/mosaics-and-mazes-charting-meet-numbers-gimp-3/
Because of my personal preference for not using elongation when knitting pieces in these techniques, I tested doubling height in Gimp with no success at all. However, I was successful in doing so using 2 paint programs, both available for free download for Mac. The first has an amazing range of features, including the illustrated resizing options https://www.arahne.si/products/arahpaint/

and https://paintbrush.sourceforge.io/downloads/, which allows for scaling by percentages or pixels Comparing the results for the elongated repeat, errors in the first are obvious, there should be no white squares anywhere repeating for more than 2 rows Proof of concept December 2022: knitting the above again intending to share the result in Instagram, I noticed that 3 stitch/ row color block, which did not bother me at the time, but with the float showing behind the wire, I went about inserting that center cell. The red pixel in the image on the left marks the trouble spot. The remaining images illustrate using my latest Gimp separation method to rework the original png: comparing the final result to the one in this post:
The new file prior to lengthening X2,  double lengthReturning to 2020:
A review of a design from 2012/10/15/mosaics-and-mazes-from-design-to-pattern/, separated this new way the repeat charted in Numbers tiling for viewing the repeat alignment revealed errors that will result in missing colored squares in the final fabric, which may not be noticed until after eyeballs have had a rest. The amended repeat was color-separated working in indexed black and white and shown compared with the punchcard  Here the final .bmp  repeat is also compared with the color image in the previous post. It will need to be doubled in length for use with the color changer, the first preselection row is from right to left. End needle selection will ensure that each color knits the first and last needle on each side of the piece. The double-length repeat, 24X56 Another very quickly separated repeat copied from 2015/10/03/working-with-generated-mazes-charting-1/

adapted for maze knitting, eliminating long floats, to be lengthened to double-height drawn double-height via a paint program Because there are no more than 2 white squares on top of each other, and no two side by side, I tested the pattern in tuck stitch, which produced some added texture. I had a major aargh moment with yarn where dropped stitches are seen at the top of the swatch Using the maze generator by Laura Kogler, the larger BMP newly created with the program was imported into Gimp, explored in two renditions, eliminating double lines in the one on the right The proof of concept swatch for the version on the right, knit in tuck stitch the double-length BMP ready for knitting,  14X68

Designing your own motifs in expanded graphs: start with a template for either of the 2 grids shown below,  and fill cells in or remove them. Remember these charts, unless knitted as a machine or software-separated dbj, will require a careful color separation.  Beginning ideas for motifs, borders, and alphabets

A collection of previous posts on this topic in reverse chronological order
2019/06/29/mosaics-and-maze…numbers-and-gimp/
2015/10/21/working-with-gen…-gimp-charting-2/
2015/10/03/working-with-gen…mazes-charting-1/
2012/10/15/mosaics-and-maze…design-to-pattern/
2013/05/06/mosaics-and-mazes-drawing-motifs/
2012/10/15/mosaics-and-maze…design-to-pattern/
2012/09/22/mosaic-and-maze-…-on-the-machines/

Weaving drafts as inspiration for other textile techniques

July 2021: since this post was published I have written on using a combination of Mac Numbers and Gimp to modify repeats from punchcard and electronic published sources including:
Numbers and GIMP: online punchcard patterns to electronics
Numbers and GIMP: online punchcard patterns to electronics 2
Numbers to GIMP to create images for electronic download
I am now adding a shorthand version for those with some familiarity with both programs using an online draft from Luminescence to obtain a knitting repeat. Images saved from the site even if drawn in black and white do not convert easily and cleanly to black or even 2 colors indexed images in Gimp, are workable using this combination software method.     

As previously published:
Weaving drafts can be a source of inspiration for other textile mediums as well. Luminescence is an online weaving program developed by Andrew Glassner. There are ample instructions and help files on site with regards to weaving. My first instinct, however, is often to interpret images of all sorts for knits (I abandoned weaving many a year ago). I am sharing some very quick first experiments with the software with that possible intention. The same charts might be used for other counted stitch unit textiles.
The first draft I chose to load from the app’s pull-down menu was called High Seas. The numbers indicate “Fabric Size”, stitch and row counts in knits

120High Seas120

Quoting from the help files: “Show grids: This is another cosmetic choice. Turning this on draws the internal grid lines for all 6 grids (warp pattern, warp colors, weft pattern, weft colors, tie-up, and fabric). These let you easily count the cells, which can make it easier to match a published draft. As with Show threads, this checkbox and its effect are disabled if the Fabric size is 100 or more.” “

“To save an image of the fabric, just right-click on it. You should get a pop-up menu that offers you a few options. One of these will be Save Image As… (or something close to that). Choose that, and you’ll get a standard dialog box that lets you put the image where you want it. Using Firefox on the Mac allows the image to be saved in the standard PNG format, which offers the highest quality. You can change that to JPG or anything else using almost any image editing program.” Safari is problematic with saves, allowing only for a web archive or screen capture.

99 Hi seas99easier to see and/ or count units, clear tiling: 60hig seas 60enough to easily sort out repeats: 30hi seas30

your preferred paint program may be used to draw lines that isolate single “knit” repeats; threading and tie-up sequence repeats are used as guides, making the process fairly straightforward

hi seas30 repeatimagining possible related borders screenshot_51a more complicated draft kiss me you fool 99isolating the much larger repeat kiss me you fool REPEAT

kiss me REPEAT

always double-check tiling prior to knitting for accuracy, any “surprises”, and the possible pattern placement on the knitting machine’s needle bedtile check

got a draft from an online pub? always good to start with a recognizable,  simple design screenshot_01isolate the repeat (GIMP):  crop tool and size control154crop

in this instance, the result is a 154X 154 pixel square image, with 14 X 14 unit desired subdivision, making my grid preferences setting 11 X 11 pixels

200_11_11gridtiling test: looks like a match!tiled_04

line width, colors, etc. may all be set and changed to suit individual needs and preferences. Please note superimposed grid lines are lost when the image is tiled or exported from GIMP, some version of screen grab or snap must be used to capture and save gridded images

an additional draft, the same process

3ae712f7a512a61537a3983aff9d98b2

second sample

screenshot_07

screenshot_08

A bit on the charting: after launching the program and loading an image, the GIMP windows options will become available. I leave my toolbox always active. Tool Options give the opportunity for controlling crop size, pencil line width, etc. As you click on/ select any tool, the options windows will change and offer selections for managing that particular tool

windowscrop croppencil brushpencil

notes from a  previous post on charting for straight-line drawing on Mac: “first select color and pencil tool. Place a pencil dot where you want the line to start. If you press the shift key, a crosshair will appear, press the command key in turn as well for straight-line mode, click where you want the line to end. Consecutive clicks will continue drawing straight lines that originate from the end of the last line. Pressing both the shift and the command one at once after the initial pencil mark will call up the color picker and require a color selection and an “OK”