This is the method I used to achieve the “color separations” in the previous post:
File new: create in canvas size for a knit repeat: deleting the default 0 gives a working surface that is 64X40/ OK for small motifs
Change magnification to 1,000, hit return
GIMP Windows_Dockable items_ navigation will provide an easy slider to adjust sizing as needed
View: show grid, snap to grid
RGB mode
Draw test motif repeat, using the one-pixel pencil tool in B to draw, W to erase
The program allows for combining all items in one window, I prefer not to
test motif
Save the file in native format .xcf for backup and future changes
Use color markings to outline repeat
Adjust magnification with navigation slider if needed for easier editing
With crop tool, crop area within colored markings; menu_image_crop to selection
Use filter, map tile to view repeat in multiples- adding a 0 to both x and y pixel number values is an easy way to achieve that. The tiled image is in turn easily gridded if such a graph is required- simply go to view, highlight show grid, grab the resulting image, and save
If the repeat is satisfactory: back to image cropped screen, click within the window, go to file export menu, choose the file format, and save as png, BMP, etc for download, or simply screen grab the image in an easy to see size if punching a card or requiring a single repeat chart. I do not own Dak; GIMP does have a .pat read and save, but I have no way of testing whether files are in any way compatible between the 2 programs.
Most electronics are able to take the motif repeat and separate it automatically for a 2 color DBJ knit. If a separation for 2 colors DBJ is required for use with a punchcard, or for any of the fabrics already discussed one needs to return to the .xcf magnified document.
For the simplest DBJ separation, each row will break down into 2 colors, which in turn need to be knit with 2 passes for each color. This method is the one that is most likely to increase the lengthening of the knit image, but one that “always” works.
To lengthen the repeat X2, cropped repeat area needs to be converted to 2 colors or go to image, mode, click on convert
Gimp 2.8.22: Image, mode, select Indexed

Open Image Scale window; use image scale tool, clicking once again on selected repeat area
GIMP 2.8.22: highlight number you wish to keep constant
To break the aspect ratio and control one of the 2 values, click on the chain like symbol on right, it will appear “broken”
Click on scale image. If the intent is to continue editing by using the pencil tool, the image mode needs to be returned to RGB before proceeding with editing.
Adjust numbers to the desired scaling, height doubled for the original repeat would be 18 pixels in length, here is the result
To separate the rows revert to RGB mode, unselect repeat area by clicking outside its parameters.
row 1/color 1 in DBJ needs to knit in the largest number of “squares”, so my color inversion will begin on design row 2, for color 2; because these are individual pixels, numbering is not possible; I use color guides for the row that need to be inverted and repeat outline, and use the navigation bar to enlarge for easy selection individual rows with the crop tool
After selecting the desired row with the rectangle select tool go to colors_invert, seen here for the first row of color 2, repeat for the length of motif. The result is suitable for use with double length KM built-in features and using the color changer. The black squares represent programmed pixels in download, or what is drawn on mylar/ punched in the card. 
If the double length of the separation is required: image _mode _indexed removes red and yellow squares, repeat process described above: select motif, use scale tool over the same area, scale image to 8X36. The caveat here is that one needs to be in the original canvas area: with a beginning canvas that was 64 X40, there is enough room for doubling length once more. Undo scale, use scale tool again, dragging upper and lower corners, keeping an eye on changing numbers in the window for scale tool, type correction to numbers if needed, click on scale, autocrop to selection for export in the desired format or screen grab and print to the desired size
working with more colors, toward similar goals
adding colors: 3 colors per row motif, drawn in RGB mode
to make it the required triple length
resulting image when scaled to triple pixel height
the still manual color separation: whiting out unwanted colors in each row
double the length again
colored squares represent pixels in download, square in mylar, punched holes in the card





change the second value



















On odd-numbered rows beginning with row 1, mark all empty squares in the even-numbered light-colored row immediately above it with purl symbols.
All unmarked stitches throughout the design are knit, whether, on the “wrong/right” sides, all dashes are purled, patterning occurs on the second row of each color. To visualize the full pattern one may use the add row below feature to expand the graph (the chart below is missing the very first row).
Now add the second row of each color and grounding stripe (s) at bottom of the repeat. Most patterns will start the illusion immediately after casting on with dark color, row 1 above. I was interested in my sample having a border of sorts on its top and bottom.
The resulting knit swatch 

the actual repeat
color inversion begins on row 1 and follows every other row (if numbered these would be odd rows)
testing the repeat through filter/ map/ tile
a working chart that can be printed to suit with dark/light row markings and blank squares for tracking knitting rows in the execution of the pattern
A larger version with stitch and row counts marked. The chart represents half the rows in the actual knit. The cast on row counts as knit row 1, color 1, and following the chart beginning with row 2 knit the black squares and purl the white squares. *Change color, knit one row (odd#), on the next row follow the chart, knitting the black squares and purling the white (even#).** Repeat from * to **.
the knit swatch: “shadow side” 

Follow up: 




a 24X24 repeat 






rear view


When all main bed needles are preselected, the ribber is set to slip for 2 rows, only the main bed will knit. When there is no preselection on the main bed, the ribber is set to knit, no stitches will be formed on the main bed, so each surface remains separate. The knit carriage is set to KC1 to ensure the sides of the tube will be sealed. If two knit carriages are used to select needles, then it is possible to easily adjust tension for the alternate color if that is deemed needed. 
Not to be forgotten is appliqué, where separate shapes may be knit and joined onto the ground (knit in any desired stitch) technique by a seam as you knit method.
Automating the function brings us to another color separation of sorts. In single color quilting using simple tubular setting: Knitmaster machines work a bit differently than Brother, so cards/ mylars would have to be designed accordingly, Passap has some built-in techs that can help with this. The settings below are for brother, and the card, for narrow vertical tubes. The width between punched holes could be adjusted to any factor of and up to every 24. Every row or every other row can be marked. Cast on for every needle rib. In this repeat when rows with no needle selection occur at its top, set both carriages to knit 2 rows (or bring all needles manually out to hold) to seal pockets. MB is set to slip in one direction, will knit on even rows, to slip on odd rows as punched. The ribber is set to slip from right to left and knit from left to right. With carriages at KM’s left insert the card, lock on row 1. KC –> knit 1 row in rib from left to right, release card, and continue knitting. In Brother machines, the tucking lever must be in the down, N position as well. When possible, the tension on the main bed should be as loose as it will allow, if stuffing the pockets is planned. Without wadding, the face can have a crumpled look with a smooth back.
A small test with a 15 stitch wide pocket
Going further in automating the repeat: this card portion includes the sealing rows (1 and 2): extend repetitions of rows 3 and 4 until the length of the desired pocket is reached for your DIY repeat. The ribber is set to slip from right to left and knit from left to right, the main carriage to knit from left to right, and to slip from right to left (opposite part buttons). With carriages at right insert the card, lock on row 1. KC <–, knit 1 row in rib from right to left, release card (or mylar), and continue knitting to the desired length. Make certain there is an even number of rows between each pair of sealing rows in your own design. It takes pairs of carriage passes to complete each circular round. To use the repeat below as a continuing pattern, one row in its height would need to be removed or added. A test of the repeat
…













A sort of tune: 





















marking the knit stitches in odd rows
marking the knit stitches in even rows
markings for all knit stitches
Shared in an earlier post: using point grids,
the pattern may be drawn over them;
staggered units may require some cleanup and “erasing”, as represented by pink squares 


The resulting fabric using slip setting, rows 4 and 5 make motif problematic for tuck setting 
The 2 fabrics side by side, showing in this instance a slight difference in the overall repeat in the last swatch; in the left sample green is color one, in the right one white is color l
the same motif knit in the tuck setting is wider, both sides are shown below
If the yarn used is capable of being blocked fairly flat, because of the short floats, finished items in these fabrics may not need to be folded over or lined as traditional FI items often do.










