DBJ: more than 2 colors per row 2

My first attempt to use a 3 color automatic separation was with img2track.
The default selector setting is for a single motif, perhaps on the assumption that the main use would primarily be for large-scale, nonrepetitive images.
In standard dbj the built-in separation, when KRC is activated, the first preselection row is made from left to right, and the first color knits for only one row on moving from the right side to the left, but if 2 colors with the same selection are required at the start, one row of the 2 rows is technically eliminated as a result, resulting in patterning errors.
The first preselection row in these knits is made from right to left, each color in each row will be knit twice.
As soon as a row begins to be knit, the numbers change in the memo window, indicating that the machine is using this pass to select the needles for the next row. As the carriage passes the midpoint of the bed, the row number will begin flashing indicating that this is the row you will be knitting next. The process is repeated as the carriage reverses direction.
I had expected to use 3 shades of grey, a pleasant surprise: the program can import  3 colors other than grays. The test was using the 11-stitch repeat Using Gimp, images worked in RGB can be reduced to indexed 3 colors for this purpose. If there are rows where no color is represented, then as explained later in the post, the indexing should be to 4 colors, not 3 for the planned import to work properly. The design is automatically flipped vertically, so it will appear as intended on the knit side of the fabric.
Yarn colors may be placed in the color changer matching the order in the assigned color numbers to match the placements in the original image.
The program automatically adjusts for the vertical stretch, which changes the aspect ratio of the shapes.
The double height variation button is activated automatically.
On my 930 I received prompts on which color to change to before doing so, eliminating any confusion.
With no such prompts generally one can tell which color was knit last because it will appear on top of the previously used one on the left of the knit. With a stretch factor of 1 selected in img2track, the image height was reduced by half. To achieve a look closer to the intended shape,  the repeat needs to be rendered twice as long, or the stretch factor can be adjusted in the program itself to 2.0

In the past, I have preferred to elongate the design prior to importing with plans for download rather than to rely on memory for changing settings either in the download program or in the machine itself in future uses of the same design. The same yarns, tension, the total number of carriage passes, and settings were used showing the difference in aspect ratio between single color per row knitting and the img2track built-in color separation. The width of both swatches is essentially identical.
Images may be loaded into the program without the cable being connected to the machine. Error messages do appear with download attempts if the cable is not properly in place. The machine also needs to be powered on before the program is launched if a download is planned. I am working in Mac OS Mojave 10.14.6, have no present desire to upgrade to Catalina.
Executing fabrics that will knit each color in each row only once for every 2 passes on the main bed: back to that original repeat Here it is used as drawn, note vertical stretch set at 2, will be cut in half by the software, getting the image back to the original height l0 X 3 = 30 rows required for all colors to knit in turn; there will be 60 carriage passes to complete one single repeat. The 930 will provide prompts for the next color to be selected by pushing the matching number button on the color changer, avoiding any confusion in terms of what should be picked up next. img2track will also flip the design horizontally automatically so the image will appear as originally drawn on the knit side. Images are loaded as single motifs, so the change in the selector needs to be made manually for an all-over pattern.

To have each color in each row knit only once: cast on with preferred method and color. Set up the machine so that the yarn colors are placed in the color shown in the image presented by the program to match your design. End with the machine on the left-hand side for the first preselection row.
COL: set both carriages to slip in both directions and all its needles in the B position, set lili buttons if not already in use, and pick up color 1
knit one row to the right
COR: knit to the left, color 1 will knit for a single row
**COL: change color, STOP! Push back any needles on the top bed back to B position, as you knit to the right the ribber only will be knitting, knit one row to the right
COR: preselected needles will be knit in the color last picked up on the way back to the color changer, knitting only one row in that color on the main bed as you return to the left**
repeat the last ** 2 steps throughout. One can get into a rhythm. A cast-on comb, part of a garter bar, or any tool of adequate width can make it a quick process of pushing needles back to B when needed to
trust the software, not the selection expected by your eyes.
My swatch seemed to be growing in length at a faster rate than I remembered in the last exercise, here the results are shown side by side with the fabric executed previously   Obviously a success in terms of the single row for each color reducing elongation of the design shape.  While knitting occurs using the same yarns, at the same tensions, there is a clear difference in the length of each stitch on the main bed and their appearance. The reverse. Checking the ribber carriage I noticed on the left side it was set to knit only, not to slip: OOPS! N is king, so the ribber set as shown is knitting every other needle when moving to the right, but even with lili buttons in use, it knits on every needle when moving back to the left. Every other needle on the ribber will then be knitting for 2 rows as a result. The more knitting on the ribber for each pair of rows, the longer the stitches on the opposite bed. The backing is an interesting variation (half) birdseye. The elongated stitches on the main bed show more of the backing in between their shapes, it is referred to as bleedthrough. In some instances, the result can make the knit surface resemble weaving and its appearance far less familiar in a surprising, pleasant way. Beauty is in the eye of the beholder.
Remember always to double-check all settings at the start of any process in case something was missed or magically moved, and keep notes.

I was asked on Facebook whether the technique shown here is the same as the 3 color slip (skip) stitch patterns in the Stitchworld pattern book, my response: some of the StitchWorld patterns for 3 color slip are designed for or may be used on the double bed (often single bed as well). For instance, patterns 392 and 394. The original designs are rendered color-separated. The numbers on the left suggest the order for color changes to achieve a look similar to that in the swatch photos. Assuming the pattern is not easily accessible because of its being built-in your machine’s memory, it would have to be entered into a paint program manually to make it available for import and in turn for download. Note that the color-changing sequence may change throughout knitting the image, so prompts or notes of some sort would be needed to keep it correct. Each color in each row knits twice after each color change. My goals in my blog posts so far have been to keep a constant color-changing sequence with each color in each row of any personal design knitting only once. I did it first with my color separation, then, in turn, used the 3 color separation feature in img2track to achieve my desired result. Here are 2 images from the Stitchworld section in question The images could be replicated as given in a paint program, using only one color for the squares, but “should be reduced to black and white”. Attempting to import an indexed 2-color image drawn in a color other than BW may result in strange results. That said, if glitched knits are the goal, the above could work just fine. Curiously, here is the same process, using a different color, and a successful import. Checking again, I had forgotten to save the image after indexing it from RGB mode to 2 colors. and a test with another color 
Drop stitch lace periodically comes up, I have written several posts on the technique, now considered the possibility of producing it in 3 colors. The resulting fabric tends to be long, thin, and in need of blocking. There is no way to avoid the striped ground. Passap knitters often refer to this type of knitting as “summer fair isle”. I adjusted the repeat widthNote to self: if you are determined to use a punchcard carriage on your electronic machine remember there is no KCII to cancel end needle selection!
To knit this fabric, stitches must be cast on in whatever method you prefer, but before any patterning, all stitches must be transferred down to the ribber, and the main bed needles are placed in the work position but are empty. Because of the single-row knit for the first 2 design rows of color one, the start is a bit finicky. Alternative start follows lower in post
COL: KC II, main bed set to slip <– –>, ribber stays on N throughout, no lili buttons. Knit one row with color 1 (ribber only)
COR: as you knit to return to the left, the color 1 preselected needles will knit, while the ones corresponding to color 2 will preselect
COL: carefully drop any stitches on needles with color 1 on them without disturbing the new needle selection for color 2
**COL: change color, knit to right
COR: drop the stitches knit in the new color, make certain all needles are empty and in B position, knit back to left, and needles will be pre-selected for the next color**
Repeat the ** to**
Again, the resulting fabric is narrow and long, so it may take a bit of squinting to recognize the design.
If each color is not represented in each design row, the ribber only will knit with no selection on the top bed corresponding to those no-pixel rows.  A single repeat results in about 3.5 by 9 inches of knitting, a far cry from what might have resulted in a single row per color design row dbj virtually shown here in a tiled format

The question then comes up about dropping only one of the 3 colors. Using the manual selection described above, the knitting on the top bed would need to be canceled on every color, every row except for the single row in the chosen drop stitch color. To my mind, that is too much to keep track of for any length of time. It would be easier achieved with specific self-drawn color separations.
There is a lot of testing that can go into developing any fabric in unfamiliar techniques that may or may not meet our expectations or our “like”, it all contributes to learning regardless of whether the tests evolve into projects.

My last post on drop stitch lace from single color to two: revisiting the techniques on brother machines

2022: returning to the topic, exploring drop stitch lace in multiple colors 

Reviewing what happens within the program one more time, highlighting significant items to verify before beginning to knit Getting that first row to knit twice instead of a single time if that matters in your technique or is your preference:
advance design row to last one in the sequence, in this case, 30
in the 930 when the pattern is loaded, using the down arrow key gets to the last row in the downloaded pattern more quickly

COL: set machine to preselect pattern, the next 2 passes would need to not knit, so both carriages are set to slip in both directions
knit one row to the right
COR: number 30 design row flashes
knit one more free pass to the left, row 1 of color 1 will preselect as you knit
COL: number 1
design row flashes
check all settings,
main bed set to slip <– –>, ribber set to slip <– –> with lili buttons, and with an even number of needles in work for standard dbj pick up color 1 in yarn changer
the resulting knit design will be elongated
COL
: knit one row to the right.
As you knit the first row of color 1 design row 1 will knit, row 2 of color one design row 1 will preselect
COR: knit back to the left
as you knit back to left row 2 of color 1 design row 1 will knit, row 1 of color 2 design row 1 will preselect
COL: pick up color 2,
continue in pattern changing colors every 2 rows

In designing your own, small repeats can easily be rendered even in a simple paint program. Larger, more complex ones, may best be worked using layers and masking in a variety of programs ie. Photoshop or Gimp. It is possible to combine 2 color dbj and 3 color dbj in the same piece simply by using different color separations for each segment, but the look of the fabric in terms of the length of each stitch on the knit side may be quite different when moving from one segment to the next. Of course, the backing will change as well. Though the aspect ratio of the design changes in terms of height when one knits 2 rows for each color in each design row, it remains the easiest separation method. Adding the hand selection as described above so that the main bed knits in one direction only helps reduce some of the extra height, making the original image more recognizable. There is no option within img2track to perform the action automatically in terms of adding the necessary blank rows to replace some of the colored ones in the separation.

Passap knitters are not left out of this idea. Passap preselects pushers. On the E 6000 Tech 179 emulates the built-in KRC option in Japanese model machines. My guess was that technique 180 for 2 colors, perhaps 197 with both arrow keys on the back may work for 3 colors. TBD in my next spurt of knitting activity on it. That said, the console’s built-in designs may be used cross-brand. It is possible in Passap to layer repeats in order to add the third color to the mix. Here is one sample reworked for use on Brother and downloaded into img2track. If black and white repeats are already in your library, one may easily recycle them adding a third color. Here I did so with a repeat intended for a very different topic in future posts. The image was altered and tiled in Gimp for a repeat alignment test and is also shown imported into img2track for possible knitting. What about using images published in punchcard machine references? It is probably best to start with smaller repeats. That said, this is from a Deco pattern book.  Deco punchcards were 40 stitches wide, and could be joined together in length as can those for the Japanese models The image of the separation on the above right has not been proofed for accuracy. If it were, the next step would be to elongate it X 2 for color changes every 2 rows. One method is to elongate the original in a paint or photo processing program. The width is fixed (40), the height is scaled X 2. The resulting BW indexed image may be imported, using a 1.0 stretch factor, it remains unchanged. When I tried to elongate the unstretched image in img2track by 2.0 my first try failed. It turned out the reason was I had saved the import without first indexing it to 2 colors. With that corrected, the result matched the one from scaling X 2 in height in the paint program
For years now I have been doing color separations which at first could be extremely slow, one pixel at a time. With increasing familiarity with Gimp and Mac Numbers over time, I have been able to decrease the speed to achieve them immensely. So here, with img2track I now have a program that can work with and separate multiple colors at a time (up to 6 in its pull-down menu option). Here I returned to my first separation in 3 colors for the now-familiar repeat A, elongated it in the paint program B and imported A into img2track choosing 2.0 stretch and 3 colors C. I can totally live with the fact the colors are not the same. The color changer can be set up with my chosen colors in any order I choose

In my first tests with charting a repeat missing any color in some rows, I had scaled the original image taken from a spreadsheet to the wrong size in Gimp, so operator error resulted in crazy results in img2track. Here the image is scaled properly for each color represented for a single row in height and also scaled again for double height for possible knitting in Gimp. The Gimp scaling failed to be accurate for me (second image from left) until I indexed the original to 4 colors as well instead of 3. The no-color rows as we view them serve as a fourth color in the separations. Importing the proper size PNG into img2track for the separation of 4 colors per row now gives results that make sense: note the daunting estimate for the total number of carriage passes for a single repeat height
If the ribber has knit on every needle by its return to the color changer and the machine is set to slip both ways with no needle selection on the main bed, the “no color” can be executed as an empty yarn holder in the color changer combined with no yarn in the feeder.  The rows involved should simply not knit on the top bed, with no dropping of any of its stitches since no needles will have been selected thus coming forward with the yarn in the hooks and traveling behind the latches and in turn, slipping off the needles as a carriage with no yarn pushes the needles with now empty hooks back to B position.

In testing concepts, I prefer to work initially with small repeats. Punchcard books can be an excellent source, but the Stitchworld books have the advantage of actually showing a single repeat for each design, so an 8 stitch repeat, for example, would be shown as such and it would not be up to the person using it shown in a 24 stitch card one to isolate it. I randomly chose pattern 394. I realize that if used from a built-in library of patterns in any machine model the prompts may be provided by the machine, but here I am looking at simply duplicating the pattern for import into img2track.

After duplicating the repeat and associated numbering using Numbers, these were some of my results. A pleasing surprise was that colors in the 2 color import need not be only black and white. That said, the pale green failed, the red did not, and the results from importing both the red/white and the black/white were identical. Another future time saver for me to keep in mind. 

If colors were assigned to each pair rows representing each color used, the white squares were read as an added color on import, and the only way to have those few blocks for the 4th color to show up in the visual representation in an imported repeat was to assign a 5 color separation, resulting in a scrambled pattern. Removing the few squares in color 4 will produce inaccurate separations for actual knitting of the given pattern whether imported to be rendered for 3 colors or 4. The black and white on the right is the “correct” match, leaving any prompts for use of shifting color changers to be tracked somehow by the knitter. Punchcard knitters may have the easiest knitting variable color sequences since cards may be visually marked up with colored pencils matching needed change locations and taking into account your eyes are several rows above the row being read by the card reader. This number depends on the machine’s brand and model.

Some spreadsheets that may help with tracking row color changes or other regular actions on paper: 2018/04/tracking-rows-1.pdf

I have been asked about the position of the slide lever being fixed in my dbj illustrations. I have found the alternate positions can be wild cards, would rather make adjustments in carriage settings if needed rather than let the factory settings do some of the work for me. If the settings are accidentally in the wrong place as multiple pieces are knit, or in knitting ribber bands for garment pieces, the gauge is changed if the alternate setting is not adjusted and kept constant, and that may not be noticed until the piece of knitting in question is completed, needing a restart. With 15-20 machines active in each studio class and lab session, I tried to reduce as many variables as possible.

A video resource on using img2knit for 3 colors per row knitting with blank color rows in the design by Tanya Cunningham, and a Ravelry thread on the topic

 

GIMP update for Mac

July 2021:  Gimp update for Mac 2 includes information on
Brushes and patterns 
Colors exchange
Colors threshold
Grid options
Symmetry Painting

My last post, written prior to these updates, revisiting-gimp-in-knit-design

I lean toward experimentation as a way of learning and finding what steps work for me. These notes are not intended as full tutorials, they simply share some of my explorations. There now are excellent videos online, but the amount of information can be overwhelming and tends to work with many more colors and significantly higher resolution images than those usually suitable for knitting, where images are often binary and small scale. I add to these work-in-progress notes as I have time, so the information in them will evolve over time with editing and at times rethinking the process used.
June 2021 I have been making a more concerted effort to use the latest version, though if one chooses to, files may still be opened with the earlier There may be some differences in the program’s appearance depending on which version of Gimp, Mac computer, or OS is being used. Tools appear in new placements as well as the single-pixel brush/ pencil now that brushes fall into 4 types. The symmetry tool is greatly improved and more user-friendly, allowing the distribution of patterns in varied repeats across canvases ie garment pieces.
January 2021 update GIMP 2.10.22: there seem to be very few changes. This could change slightly depending on the version of GIMP and Mac used.
Things to consider: the tools are now stacked in folders, shown on the right, so they are not immediately visible Right-click on the tool icon to reveal other choices As they appear when viewed in their preferences folder  For changing the tool options to the more familiar format go to preferences, scroll down to and click on toolbox,  uncheck use tool groups.  That said, note that the placement of icons is different from the familiar older version format, ie. paint bucket and rectangle select. An option for selecting specific tools that include keyboard shortcuts to do so or right-click on the chosen tool I had issues with the pencil tool not creating continuous lines, these are the settings that made that work for me, and they are saved when one quits the program The jury is out as to whether changing the snapping preference value solves the problem long termA FB friend with a lot of experience with the program offered this as a possible cause “sometimes I accidentally activate commands with key combinations. It happens if you use the keyboard a lot (I have not used the mouse, for years). I work on a large Mac desktop and prefer the mouse to any keyboard commands.
The crop to selection tool when used on small files ie 20 pixels wide, crops to one extra pixel on the right, so to get a 15-pixel image, cropping to 14 wide appears to get the wanted result, checked with image/scale. The problem persists with slightly wider, and even tiled images up to 60 stitches wide and here with a portrait size image If brushes, colormaps, or palettes were saved in the “older” version, they will be lost. They can be recreated and saved using the brush import feature in the palette editor. Go to windows, dockable dialogue, palettes, and right-click on the palette window to call up the necessary menu choice A new manual and program update for Mac OS are available (2.10.14 in 2020). The program launches in an all-in-one dark window with grey tool icons. As I become aware of any other changes I will attempt to share them. My use of the program is limited to working with imagery for knits and for my blog, my progress doing so up to now can be viewed via a category search. A lengthy tutorial on using 2.1 in Windows computers for beginners by Michael Davies was posted a year ago but new to me may be found on youtube.
Mac users are included in the latest version update, but will need to get around security settings for installing software from non-Apple approved developers. Long-time users will face a very different appearance upon launching the program version 2.10, in a single window display It is possible to switch to a lighter theme color by going to system preferences/ resources I actually found I have been working long enough in the dark theme to prefer it and restored it.  These notes were taken when I first downloaded the program: images being processed appeared as shown below Previously clicking on the red X dot would ask if the image was to be discarded, and on the acknowledgment of the fact, the program would continue to stay open, now that same action will quit the program completely. Clicking on the X beside the image will bring up the discard option, quitting the image and working on it as opposed to quitting the program.  It is possible to work on multiple images at the same time. Drag and drop superimpose the new image fixed onto the center of first. Choose file open, and processing multiple images is now available, with the ability to toggle between them. Working on 2 images again, copy the smaller image on its own screen, return to the screen with the larger image intended to be in the background, paste the smaller image for a floating selection that can be anchored anywhere on the ground, edit/ undo may be used repeatedly if need be, and done

Discard each image individually to keep the program running, use the hide command if the larger update window is in your way or distracting, click on the gimp icon again to restore the view.

There is now an integrated search function

2 sample entries:

Document history can also be found on the right, a right mouse click on any of the thumbnails will show possible document actions

Experimenting with more changes to defaults: adjusted image size to start with. The default width and height are in full HD resolution. Setting @300 PPI is best for printing, and can be brought down for simple pixel work. The problem with doing that is that if a high-resolution image is then loaded into gimp, the result is not workable. I take photos of my swatches in high res, and scale them in GIMP prior to publishing them on my blog, the greyscale result at the bottom represents one such load for processing. 

Color settings may also be changed. Since Ayab and img2track do better with 8-bit integer color processing the new test defaults for me are shown below, which will mean only indexed images will have a colormap. Gamma changes automatically with bit adjustments,  ie. a 32-bit color floating point will adjust to linear light gamma, which is the highest resolution possible.
A word of caution: after choosing the 8-bit option and not liking the quality of my imported images, I tried restoring the original 32-bit floating one without success even after saving, quitting the program, and restarting it several times. I then chose to reinstall the program and continue working in the default settings for now. The download turned out to be for version 2.10.14, this is the new default appearance after launch on my computer

A new way to navigate menu options: a right mouse click in the workspace, once an image is loaded, will now make menu choices available within it

I use both Ayab and img2track, depending on the desired fabric outcome. There are active FB groups discussing the use of Gimp and both download programs as well as activity on Ravelry, where questions on tips and techniques become threads and have the great benefit of contributions by both Adrienne Hunter and Tanya Cunningham. Knowledge shared by both has rescued me from many sticky or problem spots in my own knitting.

In reference to Ayab, in one such thread on multiple colors per row knits, it was mentioned that color separations for 3 or more colors are done in shades of grey, and in terms of technical details “You need a pattern image which is 8-bit greyscale, each color is coded in a range of the 8bit values. So for 4 colors, it would be 0-63 color a; 64-127 color b; 128-195 color c; 196-255 color d. It seems to be OK to give the image some color, so long as the gray component of the colors divides up as given.”
As a matter of personal preference, I like to work with color in my repeats. The specific placement of each of the 3 (or more colors) can be planned in the color changer so that the yarn matches the corresponding color in the chart. That led to thinking about color numbers, shades of grey, and saving palettes.
Binary images have only 2 possible intensity values, normally displayed as black and white with values of either 1 or 255 for white, and often 0 for black. Thresholding a greyscale or colored image can be used to separate the image from the ground, the color object is often considered white, and the rest (black) is the ground. That convention may have led to the selection of white as color one in automatic separations such as the KRC Japanese one, where white is selected first. In a greyscale or color image, a pixel can take on any value between 0 and 255. Searching for numbers to match greyscale shades:
Of note, the assigned numerical values are different depending on the source.   The indexing options remain unchanged. These are results of reducing the number of colors used in each of the above. The results could be saved as .pngs, each of those opened, and the dropper tool used to select colors and use them in turn in new canvases where the motif is being designed. What about saving the color information as easy access palettes? Doing so in this release is fairly intuitive. The palette options include a Generate optimum palette for the best possible palette with a default maximum number of 256 colors (classic GIF format). You can reduce this Maximum Number of Colors, although this may create unwanted effects (color banding) on smooth transitions. You may be able to lessen the unwanted effects by using dithering, in image processing, however, in most knitting patterns the color may be limited to 4 or under when working in multiple colors per row. Use custom palette: this button lets you select a custom palette from a list. The number of colors is indicated for each palette.
Useful information on the indexed palette and palette editor.
When attempting to create and export new palettes in order to make them available in the future, an error message may be received. A folder needs to be activated for the saves to occur. 
Both options below the writable folder heading should be checked, the red dot will then turn to green. To make the necessary change: folders may be found in system preferences at the bottom of the default list Click on the + to the left of the icon to expand the view of the available choices

To import a new palette, select windows/dockable items/ palettes in the top menu or select the option after right mouse click in the work area To obtain a 6-color palette in the grey range, I reduced a greyscale image to 6 indexed colors and then used the settings below for the import after right-clicking in the palette dialog and choosing import palette from the resulting menu. The opportunity is there for editing the palette, it is the first item in the palette’s dialogue. To use the palette double click on your chosen one, a new palette editor dialogue opens up Selecting any one of the colors will automatically change the foreground color for working on the image ie choosing color 3 of the 6Switch the foreground and background-position and select an added color to make both of those 2 colors available while working Using this feature with palettes containing multiple colors makes far quicker work when designing in RGB. Set pencil to desired pixel size, click on the desired color in any sequence to choose it, and then click again to place it on the working canvas Right-click on any of the palette icons, for this dialogue menu While experimenting I reached a point at which my pencil refused to draw in anything but gradient shades without my having changed any settings. The problem went away when I “found” the fade length and set it to 0. So much that is new, that it’s hard to know what is operator error and what may be a “bug” Another tool dialogue option to explore for ease in coloring pixels in specific palette colors The Windows version of the software has had several small updates not available on the Mac yet. The latest was for 2.10.18 announced on 2-24-2020. As a result, searching for tutorials may provide instructions, views, and options not yet available to us, for example, transform dialogue in Windows A sample in Mac, with the rotate dialogue which now appears as a separate window copied and pasted on the upper right of the image below and another view from the image menu selection in the top dialogueSymmetry is now an option for drawing in repeat in a variety of ways, making mirroring, tiling, and more possible while creating the design. The tool is considerably improved in version 2.10.22, see the post. My first experiments were on 40X40 files, magnified X800, with the grid in view. Some of the available choices: Some quick doodles using a single-pixel brush note the lags in some of the mirroring
Other than drawing freehand I have had no luck working predictably with larger designs, even if saved as brushes or patterns. One problem is that the pivot point is 2 pixels in each direction, not one, so repeats with single stitches/rows along their center axis would still need editing. In a previous attempt to explain mirroring in a forum post, I used Passap 1273 as my sample pattern. Copying and pasting the image on a larger canvas leaves one unable to change the direction of the newly pasted image alone, the whole potential repeat is affected by the command. The image in question here was 16 pixels wide by 16 high, the goal to mirror it to a 32 by 32 repeat.

There was no problem with transforming the original and pasting each in place, here it is also scaled twice as high and wide
tiling is compared for both the original repeat and the same scaled X2, with both the final tiled images 128 pixels in width and height The best I could achieve with symmetry was a relative with 3 out of 4 motifs placed mirrored in the desired direction, but also off-center and in need of editing  Freehand drawing the full repeat as given using symmetry is doable, but I found it a bit dizzying.  Copy and paste around the central axis is not a solution.  A compromise could be reached by freehand drawing for a different, final image that can be easy and immediate to produce. Some of the transitions: The mandala option reminds me of spirograph drawings, the number of points can easily be changed Tiling may be useful in brick or offset repeats, but my limited experiments did not produce anything worth saving or sharing.

Text:  any font installed on your computer can be made available by going to preferences once more, clicking on both options in the font folder, and green light on= you are set to goI have no idea yet whether symbols can be laid out on a custom grid so as to create a whole chart using them, but can imagine that large versions of symbols, web dings, and wingdings could potentially become pattern repeats. A very quick repeat from a webding 40 stitches wide

and a 24 stitch one

On 10/18 I ran into issues when using the pencil tool with the fore and background colors swapping positions during long strokes along with switching formats from 8-bit to 32 with pencil drawing seizures. Restarting the program did not help. What appears to have provided a solution up to now, was to use preferences to reset and save the defaults for tools and the 8-bit precision option  I have previously written on using Numbers (similarly done in Excel) to create charts, then importing them into Gimp to create .bmps for download. This is a review of a method that seems to work well with smaller repeats: the working chart. Make certain the table is formatted so that all cells are the same size, with equal height and width Use the border option to eliminate the interior cell borders, selecting no border,  

then add a border at the outer edges of the chart in a thin line, screengrab the image with an additional white area surrounding it. The black outline below is from Gimp dark background Use the bucket fill tool to make each color segment black, change the mode to indexed, remove the excess border,   scale the image to the desired size, magnify to at least 800X, show grid, check that no clean up is needed,  the image needs to be color reversed in order to be used for slip-stitch knitting, saved as an indexed .bmpIf dragging and dropping or copying .bmps from FB or other sources, check that the download is still in indexed format and has not been altered to RGB mode during the process.
A blog post illustrating using the repeat /2020/10/18/single-bed-tuck-mostly-slip-stitch-fabrics-3/

Subsequent posts:
Gimp to create text for knitting 1/21 
Numbers and GIMP: online punchcard patterns to electronics  12/20

Weaving drafts as inspiration for other textile techniques

April 2025: ArahPaint has become another tool for developing these designs. The results can include large-scale formats, suitable for blankets, planned to keep the size under 200 stitches in width, and/or leaving a frame for added borders.
Sample isolated repeat inspired by a Pinterest weaving draft finds,
38X34
drawn in repeat, 152X17064X64drawn in repeat, 192X19278X78, drawn in repeat to 234X234, trimmed to 168X168July 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 straightforwardhi 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 Working with generated mazes: GIMP charting 2  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, and 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”

GIMP and dithering color reductions for B/W “portraits”

The many faces of Rocco: in my 2013 tests in Gimp, the image is 150 pixels wide by 154 pixels high  The image is used with the kind permission of Rocco’s owner. I have used this image before, when I posted previously on some ways to reduce colored images to B/W for possible knitting using a Mac computer, please see post on 013/03/14/ color-reduction- conversions-mac-os/. Gimp offers some alternatives to the familiar dithers and is available, free, for both PC and Mac platforms. Tutorial links on Gimp edge detection available online as of May 2019 are listed at bottom of the post.

Image_Mode_Indexed_ one bit black: immediate result, too dark

Threshold adjustments may not be made in indexed images to alter the above image, so it’s back to greyscale. Reductions to greyscale may be achieved through Image_ Mode_ Greyscale or choosing Colors_Desaturate_OK options. Desaturation offers additional choices

Image_Mode_GreyscaleColors_Desaturate_OKRocco desaturated, in “knittable portrait size”using edge detection and its algorithmsDifference of Gaussians

what happens if in addition color_ invert is used with Robertsadjusting B/W with Thresholdafter a bit of “tweaking” Image_Mode_Indexed, rendering it “knittable in 2 colors” getting silly with filling the ground with pattern behind the floating head

2021: the latest, December 2020 updated version of Gimp for Mac OS
Gimp dithering controls easily accessible with mode changes to indexed I found I got the best results adjusting the contrast in the original greyscale image prior to changing its mode to indexed and dithering (Floyd_Steinberg, normal)  Dithering options in Gimp 2.10 may be found at the bottom of the colors menu This filter can reduce the number of colors in an image by reducing the levels per channel (colors and alpha). Different dithering methods can be specified to counteract quantization-induced banding.
Presets are common features for many Colors commands.
Red levels, Green levels, Blue levels, and Alpha levels sliders set the number of levels for the respective red, green blue, and alpha channels.
Dithering method: can specify the dithering method to use
None: no dithering will be performed
Floyd Steinberg: the most commonly used method of dithering, and the default for this filter
Bayer: the algorithm is characterized by noticeable cross-hatch patterns in the result
Random, random covariant: use randomization of the pixel values to reduce the number of colors
Arithmetic variants are based on magic numbers and arithmetic
Blue noise variants are sometimes thought to be the least distracting
Random and new seeds are two random dithering methods.
When converting to indexed colors with the image unaltered, and using positioned dithering, the last option Hyperdither: options offered  default Jarvis
default Stucki
online, options https://ditherit.com it is possible to choose from multiple palettes Sierra dither

5/4/2019 Other than GIMP: after straightforward load, convert, and save, with no other adjustments, images shown in approximately 150 pixels/sts in width, no significant change results with conversion to color B/W indexed
http://gazs.github.io/canvas-atkinson-dither/
online, default settings https://29a.ch/2016/08/04/ditherlicious-1-bit-image-dithering
Check dithered results, downloaded images may be in RGB Mode. Prior to any knitting, they will need to be converted to B/W indexed.
Looking for ways to reduce the noise in dithered images I tried this conversion in XnSketch, using the photocopy effect,  beginning with the colored image of Rocco, the results: imported the result into Gimp and saved it in indexed  2 color BW and in turn, 3 color indexed mode, no color adjustments, finding the result pleasantly simple beginning with the greyscale generated image followed by Mode changes in Gimp, indexed 2 color BW, then indexed 3 color, there appear to be very subtle differences with a bit more detail: Another online resource with an extensive array of dithering options https://app.dithermark.com. Here are 2 conversions using the app, the images are 2 color B/W. The presence of a third color is an illusion created by the difference in the distribution of BW color pixels, they loaded fine as viewed for knitting in Ayab, and in img2track, once I remembered to change its setting to 2 color knitting from the last used one at 4 colors It is possible to reduce images to 4 or 3 colors using the program as well: a slider for color count is used to choose the final number of colors in the reduction. Again, these instances have no added manipulation A series of dithers:
To retain the quality and size of the dithered image, download it, rather than using a screen grab. The software used to separate the chosen dither may alter the result somewhat. I am writing my posts using an iMac M1 with OS 12.0.1. At this point Ayab is not operable, img2track does open images, but in this case, with interesting distortions, and it does not download any files at all. Yet another dithering tool, allows one to draw in dithering mode using a variety of patterns and will dither images. In the latter instance, there is no real opportunity to tweak or alter the result shapes drawn using a few of the large variety of offered patterns: 

2023 working with pattern fills and removing any background 

In this instance, a portrait of a dog wearing a sweater image was generated in Midjourney and scaled to 191X195 pixels.
Dithering online apps were used to reduce the colors in instants to 4, 3, and 2.
The greyscale image was also color reduced and dithered in Gimp.
All results were not adjusted further in any way.
Color reductions could be tweaked a bit further prior to actual knitting.
Magnifying the chosen individual result will help visualize the change in resolution quality of the image in the final knit piece.

 

Illusion /shadow knitting DIY designs_HK

I have played with excel (and Numbers) before to create charts for various fabrics requiring color separations. My latest efforts relating to this knit group have gone in a different direction; I have also attempted to simplify the technique in terms of following the instructions for knitting them. This sample began with the use of Intwined to create the document and graphs. The first chart is set up with alternate row color striping, color 1=dark, color 2 = light. Blank-colored squares are used as knit symbols, and horizontal dash for the symbol for purl stitches. Beginning on light-colored, even-numbered rows, the design is marked in purl stitches. 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 shadow sideIntwinded had the capacity for building row by row written instructions for patterns, but there were discrepancies on some rows for these charts, and I opted not to include them.
Note: the program quickly became buggy, unsupported, and unusable on the Mac during the remainder of 2013.

Another program I have just acquired and begun to use is GIMP; it is free, and now also available for use in Mac OS Mountain Lion. Both Gimp and Photoshop make it possible to design using single-pixel pencil and grids to build motifs from scratch as well as gridding of preexisting images. I have a different method for these fabrics using GIMP, which is easier for more complex, overall shapes. The same series of steps may be used for mosaic knitting (the color inversion sequence is different). Below are images generated for a different illusion pattern, I will share my “how-to” for designing the motifs later, referencing mosaics and mazes. To achieve such motifs one is drawing in magnification of multiple hundreds and more, there is no way to number within a one-pixel space, so these charts as generated are lacking numbers for stitches and rows, one drawback. Another is that this color inversion works only in black and white. One advantage: the proper repeat may be cropped and saved with the grid removed in various formats that may be used to import to various machine knitting download programs, and gridded may be used to establish punchcards or mylar repeats.  Screengrabs of magnified charts were saved, and are shown below. Black squares represent purl stitches in the second row of each color. The first row of each color is always knit, not represented in these charts
The red squares are guidelines for no color inversion rows, the yellow ones isolate the repeat 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” its reverse side for online tutorials, patterns, and inspiration see Woolly Thoughts

Feb 18, 2017, I have recently become curious about creating illusions such as these in crochet, am developing ideas, and returned to this chart. The image below is intended to have symbols and notes superimposed on it. It shows the tiling in a different way, so I thought I would add it to this post as well. Repeats are highlighted with darker borders. The repeat on the right needs to be trimmed if the goal is to achieve matching edges. Row counts on the right would differ in knitting, the plan is to execute this pattern in Tunisian crochet, which handles rows in a very different manner than knitting or standard crochet. Follow up: 2017/03/06/illusion-DIY-patterns-in-crochet/

2/2019 from the first in a series of posts on geometric shapes on ribber fabrics using tuck settings, a mock variation with the ribber set for knitting in both directions throughout, and the main bed set to tuck in both directions:

Multiple downloadable pngs for optical illusion designs may be found in the 2023 post on Developing tiled repeats suitable for multiple stitch types, including tuck

2024 the process described in More separations for various knits using Gimp, color to alpha was used on this file, beginning with the 24X28 PNG The initial separated design, also 24X28,  tiled X6, rendered double length to 24 X56 for knitting with color changes every 2 rows   tiled X6 Developing a circular design using the same approach a 24X24 repeat color separated 24X24 double height 24X48 A single row height brick repeat, developed in ArahPaint, also 24X48 double length, 24X96   its half crop companion, 48X24 double height, 48X48