My DAK explorations 1

WORK IN PROGRESS

Resources for users or those curious about the program are offered below. There are 5 help files and 5 manual files. They don’t interact at all and work completely independently from each other, can be opened from DesignaKnit or from a file browser window, are not available until the program is purchased and installed, each may be downloaded as a PDF. DesignaKnit Professional contains 5 modules:
Standard Garment Styling has built-in sweater patterns that may be adjusted to custom measurements and gauges
Original Pattern Drafting: allows for using a pattern designed in garment styling to custom features such as knitting the design sideways or making pieced such as the front and back different lengths
Stitch designer is a paint program. A grid may be created to match the stitch gauge for a sense of aspect ratio of the design in the finished piece. When the type of knitting for the project is selected, warnings as to possible errors in any rows provided
Interactive Knitting: with the proper cable connected to the computer and the knitting machine the design is followed row by row, voice prompts may be activated so as to receive warnings when to change colors as well as counters for the number of rows between shaping ie increases and decreases while knitting sleeves
Graphics Studio: convert graphics to stitch designs, including color separations for DBJ, color reductions, scaling for large non-repetitive designs
When the program is installed and opened the manuals are found listed after using Help 
in a series of tabs, ending with that for section 5. There are 5 help files and 5 manual files. They don’t interact at all and work completely independently from each other, can be opened from DesignaKnit or from a file browser window.
Online references:
a quick summary of version 9 upgrade features
https://softbyte.co.uk/DK9UpgradeForms/DK9_upgrade_features_F.pdf
videos DesignaKnit9 graphic studio
https://softbyte.co.uk/dk9englishvideotutorials.htm
the DAK Facebook group
https://www.facebook.com/groups/523785160964950
members of the group have access to teaching material shared by Sheila West https://www.facebook.com/groups/523785160964950/user/1164753159
Youtube tutorials for DesignaKnit 8
https://www.youtube.com/c/Knittitude/videos?view=0&sort=dd&shelf_id=0
a search for DesignaKnit9 tutorial yields mixed results, including many for version 8
https://www.youtube.com/results?search_query=designaknit+9+tutorials
Graphic design studio search https://www.youtube.com/results search_query=designaknit+graphic+design+studio
offered courses at knititnow, search https://www.knititnow.com/Courses/#
login required as well as fees

Brother magazines for a while published accompanying pat files for DAK, they can be found http://machineknittingetc.com/catalogsearch/result/?order=date&dir=desc&q=DAK+files+Brother
also for Studio http://machineknittingetc.com/catalogsearch/result/?order=date&dir=desc&q=Dak+files+for+silver+reed
and Passap http://machineknittingetc.com/catalogsearch/result/?order=date&dir=desc&q=Dak+files+for+passap

I am a complete novice at the use of this program, tend to start learning new tools by comparing them with what I am familiar with, which in my case are spreadsheets and other paint programs. I have decades of playing with changing file formats depending on end-use. My questions on aspects of the program’s use are not intended as criticism, they are born of curiosity and the attempt to explore a new tool.
I am using Dak on a PC, at the moment my blog posts are created exclusively on my Mac. There is much that is fluid in addition to learning the software.

These are the formats that can be opened, converted to stitch patterns using Graphics Studio Stitch Designer, or opened as a background image in Original Pattern Drafting and used for tracing a garment piece: BMP, GIF, ICO, JPG, PCX, PNG, TGA, TIF, WMF, P?M. There is no export option for saving the repeat images in stitch design file formats for use in other than the native program. Passap CUT files are completely excluded.
I lean towards looking for workarounds to accomplish what I want if the task is not native to the program I am using.
One way to achieve conversion for DAK file formats for use as a png or bmp download with other cables and software is to isolate and select the repeat unit, copy it to clipboard, paste in a paint program, export as png or other desired formats There is a handy option in Dak when thumbnails is chosen from the image menu, one can browse through saved folders containing compatible file-formats including the images in those Brother magazine downloads. The small preview will identify the specific file size. When you left-click on your choice, it will appear enlarged at the bottom left of the view window, it has been moved from its corner in my screengrab, left-click OK on the enlarged image, it will open in the program window. Minimize the size until no further reduction is allowed by using the magnifying glass or the scroll function in the mouse. This is a different operation from scaling the original to a different size. The save-as option for the image offered at that point are:
For choices emulating export in other paint programs, right-click on the image, choose copy, open a paint program (Arahpaint is my favorite at this moment), and from its image it menu choose paste. Using Arah’s color exchange, the image may then be converted to black and white for 2-color work and is saved in a format usable with other software and in other machines. Here the image has been pasted in Gimp using the same process, but if the image needs to then be reduced to BW, Arah is the easier and predictable tool to use.
Activating the working palette, referred to as yarn colors: from the manual It is possible to achieve color exchange easily in Dak as well. Most operations appear to rely on an understanding of its symbols and what might be considered a language one must learn in order to use the program effectively. By activating the view yarn button palette, the items that may be viewed and changed are:
A: represents left mouse click on that color
B: represents a right mouse click on that color
C: click will swap A color to B color
D: needle hook alone represents non selected needle, pusher, or simply color depending on the machine model
E: color worked on patterning needle ie contrast in fair isle, knit stitches in tuck or slip setting It is useful to establish working history using the same design motif. In the first image, left-click on red, the from color, right-click on white, the to color, click on the double arrow to make and apply the change
The process is repeated with left-click on blue, right-click on black, and on double arrow. White squares appear in the final color choice boxes in the bottom image
The print dialogue allows for saving patterns as bmps. One is walked through the following steps with a series of windows. To save the repeat as bmp
choices may then be made about file name and the location for the save, If there are no “short” needles in the image being processed as in the last screengrab above, there will be an error message onscreen, pointing out problems in the numbers of colors present in rows ie more than 2 for FI.  This is fixed by clicking on either the “needles” of one of the two active colors in the yarn palette to make one color the ground, the other the contrast. The results from this process for printable bmp files are shown below, not for a bmp that may be used to knit the pattern on an electronic machine using a different download method. Here the resulting stitch pattern picture is shown in color reverse as well.  Using other print options: for this repeat, the color change page is blank since the fabric is being knit as a 2-color fair isle, without added color changes  Printing pattern text will do exactly that in longhand form, for each stitch and each row of the repeat 

Dak is the only program I know of for home use that allows for visualization of the knit design with approximations of knit stitches, seen here in both the BW and the original color version of the above FI design, shown as knit stitches on the public side. The image needs to be a minimum size for the appearance of the details as is true in most paint programs for grid views.   At this time I am continuing to knit on my machines with punchcards and using Ayab, or img2track on my electronics, have no immediate plans to change that, hence my interest in using DAK software features while keeping in mind the possibility of using the final repeats on other machine models.

The information on using the stitch designer lace module originally written here has been moved to its own post along with new content, updates, and corrections.

ArahPaint meets Gimp in knit design 1

Questions regularly turn up asking what software we use as individuals to design repeats for our knitting. Up to this point, I have worked exclusively on a Mac unless downloading to my Passap with Wincrea, an ancient laptop, and as old a version of Windows.
I have been a Gimp user for eons, it is my go-to along with Numbers to create the charts in my blog and to graph my designs and ready them for download.
ArahPaint is a free paint program, part of a far larger weaving one. I have used it intermittently for features not achievable in Gimp at all, especially prior to its latest Mac updates. My Gimp working notes may be found in blog posts including the latest 2021/07/18/gimp-update-for-mac-2/.
The scope of AhrahPaint is smaller than that of a full photo editor, but its functions are well worth exploring from simple designs for use in any craft including hand knitting, cross-stitch, etc for scaling images to size, drawing in repeat, configuring those repeats in many arrangements easily, for color reductions, and much more for end-use in machine knitting.
There is a very good downloadable manual, but not generous in providing small details applicable when working in a low-res bitmap such as that found in knit design.
My goal here is to provide some starting ideas on using the program for new users and a few comparisons to Gimp features for those who have worked with that program in the past.
Links for anyone wishing to try Arahpaint on a Mac (or Windows), including video tutorials
Sept 20, 2021: a new version of the software is now available for download, it is larger in file size https://www.arahne.si/learn-support/software-demo/
A “fast pattern” supplement http://www.arahne.eu/pdf/fastpattern-EN.pdf, black and white images are used on pages 20-24,
The user manual appears unchanged
The drawing in the repeat window now offers new Preview, and Browse options. If Paint is part of the complete weaving program, there is a library of patterns for the user to browse through. If it is used as a stand-alone, the choice provides the opportunity for the user to browse through their library of images before continuing.  The information available to me as I began this post:
the download button is at the top left of the webpage
https://www.arahne.si/…/softwar…/arahpaint-for-mac-os-x/
https://www.arahne.si/learn-support/
https://www.arahne.si/…/user…/detailed-users-manuals/
http://www.arahne.eu/pdf/apaint4-shortcuts-EN.pdf
https://www.youtube.com/c/arahpaint4/search?query=arahpaint
https://www.arahne.si/public/news/  with more info and videos on version 6
https://www.youtube.com/watch?v=daOsTulCKbk for anyone inspired by weaving drafts as a source of knitting pattern repeat
Arah menu options provide a quick view of menu differences between it and Gimp Tools as listed in the shortcuts pdf, the order is slightly different than in the program view When exploring design potential in any paint program, it is best, to begin with, to use a small repeat that can be clearly identified when tiled in various configurations, resized, and pixel edited. If drawing is with the goal to produce a BW bitmapped image for download of 2-color patterns, drawings can happen in those colors to start with. If color separations are planned in the development of the design, then 2 color images including black may be preferable.
The Arah default dot size for pixel drawing is 1X1. The 8-bit palette mode both for colors and greyscale uses up to 256 shades, greyscale values may also be measured in percentages of black ink coverage. Images may be converted from one color mode to another as in Gimp.
Begin with a small image size To work on the image, magnification will be required. This may be achieved several on the Mac, one is to click repeatedly on the magnifying lens icon in the toolbox, and the other is to press any number from 0 to 9 on the keyboard, and the zoom will instantly change for 1 at 100%, to 6 for 600%, to 0 for 1000. The latter is minimal for building repeats on a viewable grid, the magnifying lens may be used to reach a comfortable starting view. The zoom level for both increases and decreases may be changed during drawing operations as well.
In addition, the image may also be magnified to fill the window or by entering the full-screen selection on your monitor and the program may be used in full-screen mode on your device by making the very last selection in the View menu. At zoom levels higher than 300%, the program shows a grid between pixels, if the grid view is enabled.
To show or hide the grid, choose View, Show Grid
To change the grid properties, choose View, Grid Properties
The grid color can be black, gray, or white.
The second level grid determines how many thin lines a thicker one will be drawn
Setting the grid: the default grid is subdivided, and grid color and spacing may be custom set through selections in the View menu Altering the thicker line placement to suit personal preferences or to match electronic or punchcard published repeats more easily, simply type in new values and close Punchcard knitters may use this feature to create a template on which draw. Factory-supplied Brother punchcards are by default 24 stitches wide, the maximum repeat width, and 60 rows high with the minimum design height of 36 rows for the card to advance continuously in the card reader.  The grid spacing is 6X6. With values changed to 6, the template is created The default cell shape appears to be square, without the option to create rectangular cells. Changing the grid option to lose subdivisions: deselect show grid 2. In addition to the image grid, like Gimp, ArahPaint 6 also allows for positioning aids: guides. They are horizontal or vertical lines that are temporarily displayed on an image. To create a guide, double-click on the dark blue arrow displayed on one of the rulers in the main window. The guide is then displayed as a dashed line following the pointer. To move a guide after it has been created, hover a mouse pointer over the blue arrow and click and drag it to remove the guide to a new location. To delete a guide, double-click on the arrow. After a guide is created, another triangle in a different shade of blue appears below it. Use that to create the next guide, repeat as often as wanted both horizontally and vertically. To remove all guides choose View, Remove Guides. One use for the lines can be to mark plain knit rows between transfer markings in lace punchcards as illustrated in this Gimp image

To test the program, draw a basic shape whose changes may be easily recognized. Color palette tools are in the palette areas. The foreground (upper square) and background color (lower square) are used in drawing operations. They are numbered 1 and 0, not to be confused with the same numbers assigned to colors in the working palette. The starting palette may be altered to include black. Double-click on the foreground color at the top, the #1, not in the space below the palette icon. A color selection window will appear, choose, and click OK. This change is lost if one quits the program. If satisfied with the drawn repeat, use the selection tool to isolate the final motif.  The new working image after cropping to selection:

Drawing in repeat instructions reproduced from the manual Starting with the single triangle: block alignment Standard brick alignment using offset in pixelsPillar repeat also using offset in pixels Other offset options through the use of fractionsPlaying with mirroring positions, producing a minimum 2 by 2 repeat,  the result looks akin to the pillar repeat drawing above, but tiling again to check for alignment may yield surprises that can be viewed as design features or errors,  Changes to mirroring arrows may be made when drawing in repeat on the top left of the window as well  Once an image is drawn in the repeat of your choice, if only the Random option is used, with new picture left unchecked, the pencil may be used to draw on pixel cells, and changes will be made across all repeat segments. Each step may be undone individually. Many of these functions are paralleled in Gimp symmetry drawing.
The possibilities are endless. As always, good note-taking helps in being able to reproduce your chosen process with new images.
If you begin drawing a repeat using a single color on a white ground, then decide you would rather work in only black and white, simply double click on the foreground color, the palette window will appear, choose the new color, and all pixels in your repeat will then change to the selected one Repeats may be built in a more controlled manner using the image/duplicate X menu, its symbols immediately reminded me of the Passap Alter Direction options: Choose a simple repeat to start with. Here a diagonal line was drawn along the center of a square, the bottom half bucket filled a half drop was added and the repeat was tiled to test alignment The duplicate tool enables the repeat of an image or part of an image in a fast way. All duplicate tools with the exception of Mirror X-1 and Diamond work similarly to the drawing in repeat tool if the new picture option is enabled. The mirror X-1 works the same as the normal mirror, except the last pixel of the image is omitted from the image there is also the option for Y-1, here both mirroring options are in use, note the areas in both that retain double pixels, Eliminating those double pixels can be achieved by cropping. The first mirror is for Y-1, the cropped image is tested for tiling by drawing in repeat Drawing lines: use the straight-line icon button to activate the tool, select the line thickness by selecting a number of pixels to be used then move the mouse pointer to a line starting point on the canvas and press the left side of the mouse, dragging it until the line is of the desired length and angle. When the line is at that desired length release the mouse.

A=1 pixel, B=2, C=4 with line dragged and released randomly, D= the line was moved and the mouse was not released until the steps were all the same size. The thick lines option works only at line width 1, which will keep the single pixels connected If you double-click on the line icon, the Straight-line icon is activated. Now you can draw horizontal, vertical, or diagonal lines. If you move a mouse horizontally—it doesn’t need to be perfectly straight, the drawn line is horizontal. If the angle between a line and the horizontal axis exceeds the angle of 23 degrees, the drawn line will be diagonal at 45 degrees. If you move the mouse toward the vertical axis, the line will be drawn as a vertical line. The straight-line tool may be used to draw clean diagonals. If the paint tool is then used to fill spaces between some of the drawn lines, the line tool reverts back to the original and will have to be reactivated if you wish to continue using it.
The polygon is a series of straight lines whose ends are connected so that the end of one line is the beginning of the next. Move the mouse pointer to the starting point and left-click.
Move (not drag) the mouse to the next point and left-click again, repeat this step until the desired polygon is drawn.
Press the right button to stop the polygon drawing or the middle mouse button if available to erase the last polygon point.

Returning to patterns with repeat constrained
A: a new file is created for drawing a punchcard repeat 6 stitches wide by 60 rows high
B: a freehand-drawn pattern
C: the motif is drawn in repeat, X4 in width to match the 24-stitch repeat, and X2 in height to get a sense of vertical alignment  D: as long as the new picture option is not checked, the image allows for live pencil drawing, E, with additions which may be edited and undone if needed. Work until satisfied, screengrab the enlarged image if the goal is to use it as a guide to punch cards, and scale print it to an easy-to-follow size. Electronic machine knitters use the Tools, Find the repeat option to isolate the minimum programmable final repeat, and exchange colors if needed The same process, using an 8X8 repeat drawn in repeat X3 in width to 24 stitches and X5 to 40 rows in height meeting the punchcard minimum height Again, electronic machine knitters use the Tools, Find repeat option to isolate the minimum programmable final repeat, exchange colors if needed

Many knitters find inspiration for knit designs in weaving drafts. The Arah Youtube video on developing drawings for such repeats shows an option for preview in the draw in repeat window not available in my present version of only ArahPaint. The resulting working repeats are likely to be large. Reset allows for changing repeat mirroring arrangements. Using find the repeat may help develop a sequential series of repeat segments in different sizes, producing different tiling effects, and the option of hand selection of even smaller areas followed by cropping and processing is always possible.
A sample effort producing a tenfold repeat of the original: Finding the repeat first on the complete resulting new image on left and testing its tiling, followed by finding the repeat again, cropping to the selection, and tiling that as well on the right If the goal is to knit a scarf, 72 stitches wide, crop either repeat to a chosen 72 stitches in width, tile in length in either program to visually check alignment. If knitting in DBJ for approximately 1200 rows is the goal, one may obtain a visualization of the results ie for 1296 consecutive rows. A black pixel border could be added to the 72 stitches by copying and pasting the image on a larger canvas that will accommodate that border, or the border may be added by filling in pixels vertically to the edges of the original. Some repeats to play with: the 120 X 96 png  Its shorter, top half  The bottom half, 120 X 48, isolated in Gimp, tiled in length X4 to get a sense of some of the possible differences I cI can see the process becoming addictive once a single personally pleasing starting repeat is developed, and its, in turn, becoming a possible source for collections of designs. October 2021: I have recently purchased both a PC and DAK software. At the moment I am not planning the purchase of any cables, the initial patterns developed using the lace module are adapted for use on Brother electronics for proof of concept swatches. Arah is an easy, accurate, quick way to develop accurate brick repeats for lace patterns, which can be complicated to produce accurately in other ways. One such repeat December 2021: in reviewing my post including lace mesh repeats, using the draw in repeat figure in Arah provides a quick way of filling in punchcard repeats from small electronic repeats for any fabric ie this lace repeat, 4 stitches wide by 8 rows high. Create a new picture in the same dimensions, fill in the proper cells
deselect the pencil tool by randomly clicking on any other tool
draw the repeat as given, 6 times in width, 5 times in height for a card 24 stitches by 40 rows in height, making certain the pencil tool is no longer engaged or cells will be filled with any contact with the new image, adding cells in repeat and changing the original file
grid properties may be changed to match markings on factory-supplied blank cards, for Brother every 6 cells The resulting punchcard image
COLOR EXCHANGE
In the process of reviewing old Passap files in cut format, the conversion for some of them to .pngs using Graphic Converter on the Mac was successful but left me with oddly colored images that would, in turn, need conversion to black and white for 2 color knitting downloads to other machine models. I have had limited continued success with the color exchange in Gimp. Also, pixel-based images drawn in color in spreadsheet programs such as Excel or Numbers might need far less and quicker editing using the Arah option including reducing “clean up” with pencil tools.
Reviewing the palette tool, from the manual Double-clicking on colors in the palette area will lock them, if this is unintentional, simply double-click on the same color again to undo it.  The color exchange was easy and straightforward with self-drawn images in the opening palette when creating new documents in Gimp. It failed when working on a segment of published patterns. The Arah manual helped me find the solution. Converting the images from true color mode to color palette mode: the original image and its palette, this is not a “correct” working repeat, Converting for use with an expanded palette
To change the color of the foreground, double click on it, choose black from the upper left corner of the colors window, the image and its foreground color will change accordingly.  Repeat the process with the background color changing it to white, saving the file yields a quickly created png for use in downloads to programs such as img2track Testing with a repeat segment from another image The successful exchanges Spreadsheets such as Excel and Numbers are familiar to many as design tools for developing knit repeats. If colors are used, one is faced again with the necessary reduction to black and white pixels if the intent is to work in only 2 colors. The maximum of 3 and 4 colors per row in machine knitting are handled differently depending on the program used for download. Color exchange reduction with 2 images drawn in Numbers using more than 2 colors:
This repeat would work fine with a reduction to 3 colors, but the proof of concept uses a reduction to 4 colors for both repeats. The two shades of green will need to be exchanged separately, each shade is processed using the sliders on the far right, also note the crosshair.  A spreadsheet pattern for different end-use.   To exchange the red the cross-hair was moved to the bottom right, and the slider up to the top 2022 Gimp update offers a selective way to exchange colors using the fuzzy-select or select-by-color tool. The bucket fill color works differently in some ways from previous Gimp versions.   Fuzzy-select will change any contained segment of an image in RGB Mode.  Make the selection of the area to be changed, it will become surrounded by a dotted line. Choose bucket fill, change the foreground color to the new one and click on the outlined area, to the new color. Click on the rectangle tool and then anywhere in the work window to set the image and save it.  Multiple color exchanges in the same image.  Edit, and undo can be used to trace steps backward at any point.
Using select by color will select all areas containing that color, making global edits,   the process may be repeated within bordered segments, retaining their outlines. 

When scaling small repeats in Gimp in height only I found the results to have errors, as seen in these images, With added experience, I discovered part of the problem is that after restarts or working on multiple images, the interpolation setting changes randomly to cubic, and issue are resolved if the setting is changed to none again. ArahPaint will multiply the motif cleanly only in height when needed, as seen here with the original multiplied both X 2 and X4The Arah scaling appears to be quicker and far more accurate also when used on some published images that would require a lot of clean-up after resizing in Gimp. That said, when working with very large images Gimp offers the opportunity for controlled scaling to any size, keeping the image aspect ratio or not. This reference is described in translation as a pattern design course for Silver Reed knitting machines.  The publication offers many large-scale repeats that are suitable for punch lace, but also for what translates to “braided patterns” which when studied may be intended for fair-isle with enormous floats or for DBJ. No stitch and row counts are given, the goal is to match the manual 54X56 stitch and row count.
The published swatch photo is obviously not a thread lace pattern The initial scanned page segment on the left is 2160 stitches in width, and 1588 rows in height. The isolated, cropped, repeat is shown to its right In Gimp, reducing colors: A converting to indexed: B Use scale image to desired dimensions, checking first that values are a full multiple of the expected final repeat pixel count. If not, scale first to a full multiple of each value with aspect ratio off (broken chain link), then scale again with aspect ratio on (intact chain link), edit with a superimposed grid, cleaning up the repeat: C.  Save the final image, C, open in Arah, check set the number of colors, there should be only 2 colors in use, Add a third color, white, to the palette, click on the + symbol, use sliders to convert the magenta to white, click OK single click on the yellow above to place it in this selection, double click on it use sliders again to achieve the white, click OKThe final window prior to saving the BW image ArahPaint will also scale larger images in pixel units. Resizing may be achieved through the use of the image menu Resize option, or simply clicking on the appropriate tool, also copied here in the window that will appear. The chain link, circled in the bottom right, left whole retains proportion, broken by clicking on it will allow for scaling differently in height and width as in this instance I found the final Arah scaling to be less accurate and requiring more cleanup than the repeat obtained using both programs The results differed when scaling a large black and white indexed image, neither result has been altered in any way, the Arah one would require less cleanup. When scaling in Gimp it is helpful to check whether the interpolation is automatically set when opening the image ie. here, to Cubic or other change it to None for better results Resetting tool options preference, saving it, then quitting and restarting the program appeared to make no difference in the behavior of the program when attempting to scale new images Explored and used frequently in later posts, beginning with designs in color or BW, the ArahPaint tool Guess Weave from Grid makes very quick work of converting charts to PNGs, such with this random screengrab from the Stitchworld III book My first attempt at developing a pretend repeat to later be used for chevron 24-stitch tuck stitch :
A: using straight lines, draw several after determining the spacing to be left blank between them, here they are not all intended to match. Bucket fill the stripes intended to be knit stitches, reactivating the straight line tool after each fill
B: when satisfied with stripes and shaping, crop the original to 12 stitches in width
C: using drawing in repeat, mirror to create a 24-stitch shape. Save images along the way in case any “wrong” selections are made, draw in repeat (not shown) at least X 2 in both width and height, looking for errors in alignments D: correction is needed a the top of the repeat E: after your best shot, draw in repeat once more, leaving the setting at random, edit any wrong pixels using a white pencil, the edits will happen across the repeat
F: the new repeat
G: drawing F in repeat makes it appear correct
H: make the repeat as small as possible for use on electronic machines; the find repeat tool does not work on every repeat, particularly very small ones, and it works seamlessly at other times or will require only small adjustments. It is worth testing on images and keeping their use in mind. Here it makes a selection, the image is cropped to the selection, saved, and drawn in a larger series of repeats to check the alignment. Planning a repeat suitable for a punchcard, the uncropped repeat F is opened in Gimp, and pattern fill is used in white areas to ready the file for tuck knitting. The image is then map tiled to check alignment once more, and if satisfactory, it can be saved, ready to be knit The process can be so quick that it can be easily repeated to make new adjustments to meet our needs.
Making things work to get a “cleaner repeat”: the pattern fill is 2 rows wide by 2 rows high, so having both black and white areas of the design a multiple of 4 is a place to start. In the above, the shape outlines are in single row steps, so it is inevitable that the 4-row fill is episodically cropped by single pixels. Doubling the height of the initial single step repeat in Arah begins to solve the problem. In keeping the 24 stitch width restraint, the result, a now 56-row repeat,  will now have variations in the width of the black pixel areas which will produce knit stitches on a tuck ground  With experience, one can quickly imagine ways to clear errors and alter images. Electronic machines free us from repeat width constraints. Widening the zag repeat to 48 stitches, working in Arah, check vertical alignments first, edit intersections whether in a tiled image or the original, ultimately the 48-stitch by 80-row repeat is opened in Gimp, filled with the tuck pattern, and saved for knitting Pattern fill may be accomplished in ArahPaint using brushes made from selection and then enabling those brushes with bucket fill. This functionality using multiple brushes to replace colors in the original is shown in this video: https://www.youtube.com/watch?v=3uacuqK5SjA
The technique illustrated here with a screengrab from the video offers a very interesting alternative option for those who enjoy working with dithered color-reduced black and white images. Working on a possible tuck repeat using only Arah Paint: draw and save the image you wish to superimpose on the ground. I chose to use the color red for visibility. Draw a new image, keeping magnification constant, ie using 0 for 1000 X. Draw a repeat unit for the brush you wish to use, choose repeat from the View menu, click on the stamp icon shown outlined in red, and the available brush will appear immediately below it. Use load recent to retrieve the shape that is to be superimposed, say no to saving changes. Make certain the superimposed color is in the background-position, and that the brush box is checked. Use bucket fill to place predetermined patterning behind the shape   To prepare the pattern for download, use Find Repeat, Crop to Selection, change the red to black for knit stitches on a tuck ground, and save the image for a knittable 2 color result The same process may be used to develop a design placed over a lace mesh ground. The final superimposed shape, however, needs to be white rather than black to produce knit stitches, and the final repeat may need to be shifted along its vertical axis to suit the brand machine on which the knit will be manufactured. Brother lace designs begin with a row containing black pixels and end with two blank rows. In Studio lace knitting, the reverse is true Lots of knitters appear to be interested in large, nonrepetitive images. Depending on the machine used and its memory, the repeat may need to be split horizontally or vertically. Before electronic machines, many art-to-wear pieces were created by knitting repeats broken down horizontally into the punchcard widths, completing the height of each panel and then joining the strips together. Nowadays there are online tools for many tasks including dividing large images. For DIY, in the first instance, Arahpaint is used to split the “large” file in half horizontally, the resulting image saved. The action happens from left to right, so to achieve the split for the second half, the full-size original is flipped horizontally, split, and flipped again. Followers of my blog have seen the images of my friend Rocco recurring intermittently over the years. Dividing the image horizontally  The same may be done vertically in a matter of seconds beginning with Image, Halve Y, and then using the mirroring tool to flip the image as needed Color separations: the critical difference in the use of the Arah rectangle tool from that in Gimp is that it cannot be used for sequential selections of pairs of rows in color separations such as those for DBJ or mosaics. In those instances, the Arah image, scaled to the appropriate height may be saved, then opened, and processed in Gimp. For DBJ with each color in each design row knitting twice, design the shape and scale in length in Arah, save and open in Gimp for the separation, see post on working with Gimp update for Mac  Mosaics: draw the desired repeat in Arah, double it in height, save the image, open in Gimp and proceed with mosaic color separation The color separation, in turn, is very easily and quickly changed to all black and white using color exchange in Arah, 2022:  Using layers in Gimp for color separations in the latest Gimp update offers a quicker, easier method to achieve them for a variety of fabrics than that used in some of my previous blog posts.

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

 

Gimp update for Mac 2

The latest Gimp update
2023: Threshold in version 2.10.34 is now disabled by default. To activate it or to add other tools ie curves to the tool menu, go to Gimp, Settings, and select Toolbox.
In the Tools Configuration Window,  active tools have a common icon to their left, new ones may be selected and added, I chose Threshold and Curves. After clicking  OK, a restart is not necessary, the new tools will appear immediately for use in the toolbox.  The curves tool enables editing for changing the color, brightness, contrast, or transparency of the active layer or a selection. While the Levels tool allows one to work on Shadows and Highlights, the Curves tool allows one to work in any range. It works on RGB images.
2022:The program now allows for setting pencil pixel sizes to odd and even numbers accurately, eliminating the need to save brushes for sizes missing in previous versions See color exchange notes using the new Fuzzy select tool as opposed to using Color Exchange
Notes in post Numbers and GIMP: online punchcard patterns to electronics 2 contain information on printing punchcard designs to scale for tracing and marking cards prior to punching holes.  2021: Prior to attempting color separations of any sort, it is useful to have some understanding of how black and white pixels or punched holes relate to knit/ tuck/ slip setting stitch formation and their effect in both single and double bed techniques.
A recent post explored the use of layers for color separations in Gimp. It is a reliable, quick way to execute them, especially on large images. As is often found, the same results may be reached in a variety of ways.
Coupling the use of the shift key with rectangle selection and working in high magnification offers additional options in Gimp.
While working on any gridded and magnified design motif use the rectangle tool to select the rows that will be altered, make the first selection, and after doing so press and hold the shift key, continue to select specific areas, and then choose color invert in this first instance and the action will be applied to all selected areas. If working on parts of the image at a time repeat the steps until the whole image has been processed. Release the shift key when done. The image is set by clicking anywhere in the window outside of it.
In the past, I have used red pixels in an extra column beside the repeat to mark rows that need to be altered. The column is cropped prior to saving the final png for download to the km. The step is not a necessary one.
This is an illustration from another post, where color inversion was planned in the repeat selections, each of which is surrounded by dotted lines that will disappear after they are set. The red cells will change color as well after inversion, making it easier to track the placement of completed choices A result from using the method on a large image may be found in the post on fantasy fair-isle.
In the above, they are on what may be thought of as even-numbered rows of the design. If the plan is to use Cut to eliminate those same rows, the red cells need to be shifted down to “odd-numbered” rows. From a repeat in development for a drop stitch lace design Working through the process with an easily recognized small shape, the often-used small triangle.  Scaling in Gimp can become erratic while working on several files.  Check that the interpolation is set to none if there appear to be odd scaling issues in the new image. When scaling in one direction only is intended, the chain link must be broken. At each step save the resulting png to make it available for further use ie additional scaling in height and width.  The results with the selection of even rows simply shift the result up a row Test in your version of the program to see whether releasing the shift key prior to making edits changes them. Either way, being consistent in the choice makes for less confusing results. Experimentation takes a matter of seconds.
Depending on your need the saved PNG may also be color reversed or scaled to double-length
using the rectangle tool, either odd or even rows may be chosen, remaining consistent for the height of the repeat in a scale to suit the end fabric goal. Here the original file is lengthened X2
working with the original file lengthened x4. The selections can happen on every row or every other, whether singly or in pairs. Note the difference between making the first selection on the first pair of rows or the second. 2021: Gimp update for Mac
Supported OS: macOS 10.9 Mavericks or over, to run 2.10.24 in my new iMac, M1, OS12, needed the installation of Rosetta. Rosetta 2 is an emulator designed to bridge the transition between Intel and Apple processors. In short, it translates apps built for Intel so they will run on Apple Silicon, more info 

The previous post on this topic: 2019/10/07/gimp-update-for-mac/
I have been spending more time exploring version 10.22 and am becoming more familiar with new features and design options. There are slight variations in behaviors depending on the Mac OS version. Windows updates happen more frequently. GIMP 2.10.24 for Mac OS is now available.
Gimp has a wide range of paint tools The most commonly used in creating repeats for knit designs are Pencil, Paintbrush, and Bucket Fill.
The Pencil tool is used to draw freehand lines with a hard edge. The main difference between it and the Paintbrush is that although both use the same type of brush, the pencil tool will not produce fuzzy edges.

Present experiments are placed in alphabetical order. Topics:
Brushes and patterns
Canvas resize, offset 

Colors exchange
Colors threshold see grid options
Grid options, Guides, Color separations
Symmetry Painting

BRUSHES AND PATTERNS
There are many very good videos on using multiple versions of GIMP on Youtube. Most focus on working with very large images in huge numbers of colors, and brushes or patterns in the tutorials are often larger than the maximum stitch count on our home knitting machines capable of electronic download and with needle counts of 180-200. In addition, punchcard machines have a 24-pixel width repeat constraint. The content of such published material and tutorials can be overwhelming, but isolated techniques for the required binary bit-mapped knit scale are easy to sort out.

Many knitters designing small repeats use very simple programs and enter pixels singly or copy and paste in small groups. Some simple, quick functions in Gimp can simplify and speed up progress considerably. Punchcard knitters may use the same techniques to set up their 24 x X custom length repeats and tile the results to visualize how they line up when knitted in multiples.
Some content paraphrased from the online Gimp manual: in GIMP, a pattern is a small image used to fill areas by placing copies side by side. You can use them with the bucket fill tool. They vary in size and are used for filling regions by tiling, that is, by placing copies of the pattern side by side like ceramic tiles. A pattern is said to be tileable if copies of it can be adjoined left-edge-to-right-edge and top-edge-to-bottom-edge without creating obvious seams, such patterns are used in standard knitting repeats. The same effect may be obtained by using the Filter, Map, Tile option on the drawn image.
With the bucket fill tool, you can choose to fill a region with a pattern instead of a solid color. To make a pattern available, place it in one of the folders in GIMP’s pattern search path which includes two folders, the system patterns folder, which you should not use or alter, and the patterns folder inside your personal GIMP directory. The .gbr (“gimp brush”) format is used for ordinary and color brushes. 
Photoshop ABR brushes are also easily imported for use.
Pressing the refresh button causes GIMP to rescan the folders in your pattern search path, adding any newly discovered patterns to the list. This button is useful if you add new patterns to a folder, and want to make them available without having to restart GIMP.
GIMP includes a set of 10 “paint tools”, which, except for the ink tool, use the same set of brushes. The brush pixmaps represent the marks that are made by single “touches” of the brush, which is desirable in working with knit scale bitmaps. Brushes can be selected by clicking on an icon in the brushes dialogue, the current brush is then shown in the Brush/Pattern/Gradient area of the Toolbox. Clicking on the brush symbol there is another way of activating the Brushes dialog.

When you use the Copy or Cut command on an image or a selection of it, a copy appears as a new brush in the upper left corner of the “Brushes” dialog. This brush will persist until you use the Copy command again. It disappears when you close GIMP.
Building a personal brush pattern library on Mac: open software preferences locate folders on the bottom left and click on the plus sign aside folders icon at the bottom left, it will change to a minus sign, and folders become visible select brushes, two options will appear. If a proper choice is made for the addition of pattern files, a green button will appear single click on the filing cabinet icon on the right,  a familiar Mac finder window will appear double click on the patterns folder, and its own window will appear,  right-click in the window below the last entry, a smaller window appears, choose the add new folder option. It will appear as “untitled”  and will be added to the existing folders, rename it “my brushes” or any other choice, and the new folder will be added within the brushes one Its place in the brushes list will be determined by its initial letter, the contents are in alphabetical order. For future use, any saved brush may be dragged and dropped into the named personal pattern folder icon, or into the folder after it has been expanded or opened in its own window. My opened brush folder After brushes are added, the refresh button below the brush dockable dialogue may bring them up without having to restart the program. After saving these 3 images as .gbr files and placing them in the appropriate folder they appear as available for use  To install .abr files on Mac:

create a new Photoshop folder within the Gimp Brushes one
Download the chosen files, drag and drop the images or folder from the downloads folder into the chosen Gimp one, they will be available after a Gimp restart
The free files I tested were very large in size, did not scale down to use for knitting cleanly, and even though they appeared to be BW they opened as RGBs making the conversion to BW indexed quite dithered. They are composed of assorted leaves and snowflakes. When exporting self-drawn brushes, the option is offered for adding spacing surrounding the shape, here a 10% addition was chosen Patterns may be saved in a similar way. Since GIMP 2.2 you can use .png, .jpg, .bmp, .gif, or .tiff files as patterns.
Saving patterns from large to tiny may be achieved using the same method as in saving brushes. To save personal patterns, instead of choosing the file cabinet icon in preferences, one may choose the folder icon, following a similar series of steps to those above, including verifying the contents of the newly created folder Use Windows, Dockable Dialogues, choose Pattern. The patterns will show on the right of the Gimp window and are viewable once you click on the fill window below the tools on the left as well.

Open the image to be filled
Click on the paint bucket tool, and select the Pattern fill type. Click on the paint bucket, then on the pattern you wish to use on right, hover over the canvas with the paint tool, click on it and the image will fill in the chosen pattern.
Or click on the pattern icon, scroll through to the desired pattern, click on it, then on the paint bucket tool, hover over the canvas with the paint tool, and click on it to fill.  The + or _ option scales the size of the pattern view, it is handy when tiny or very large repeats are chosen. The canvas for the pattern fill needs to be large enough to accommodate the pattern in repeat.
If the fill fails, check to see that the bucket fill mode was not somehow changed from normal to one of the many other options Here the skull is used to fill a 400X400 canvas, an even multiple of its size If the canvas is not in a full multiple of the whole pattern, part of the repeat is cropped  Using the same rose image tiled using the Filter, Map, Tile menu produces similar results when full multiples of the image pixels are not chosen, ie. here the tiling is on an 80-pixel wide canvas as opposed to a full multiple of 25 ie 100  Designing tiny repeats:
Begin with the image in black-and-white indexed mode. 
To draw my repeats, I used 1800X magnification, with grid view, exported the files as png, and dragged them into my own Gimp patterns folder.
If the goal is full punchcard repeat illustrations, then by default the width of the image to be filled needs to be 24 pixels wide, and a minimum of 36 rows high. If working as a tuck stitch, punched squares are black pixels, and unpunched squares the white, creating the tucked loops. Using the bucket tool to fill the image is accomplished with a simple, very quick stroke  The rectangle tool may be used to isolate a segment of the first repeat and the area may then be filled with a different pattern. Brushes may be resized as needed, and pasted on the previously filled image, and guides are helpful in their placement.  added info on pattern fill in Gimp 4, pattern fill, dithered portraits, and more
Canvas resize, offset:
 working with a 20X20 black and white pixel star  
Extra grid rows or columns may be added in a variety of ways to an existing motif including using these menu options These images illustrate only some of the possibilities. The chain link is used broken with the exception of when placing the star centered onto the new canvas or when moving it for manual placement onto it. Use Layers choices: resize all visible layers, fill with white. With the new canvas width equal to that of the image, the 10 desired new rows may be added to either the top or the bottom of the file respectively by entering that number in the space for the offset X or Y values, and the resulting new files are shown gridded on the bottom right.  When choosing the center offset with the chain link intact, the X and Y values will be changed from 0 to 10 in this case by the program based on the new canvas size. To add cells only on the left, the chain link is broken again, and the X offset value is set accordingly. Adding 10 cells to the right, 0 offset selection  It is possible to guide the placement of the motif onto the new canvas in any position. There will not be any visible grid as a guide, so a bit of math planning ahead for the new canvas size will fine-tune the possible placement. Again, the chain link is broken. Choose the center option but before selecting resize, click on the image, drag it to its new location, then select resize. The grid can then in turn be made visible.
Any of these steps may be undone, adjusted, and repeated as needed.  Grids and Guides: my view was magnified X 2800, and the canvas measured 24 X 36 pixels.
Magnification may be set using the pull-down below the image window, where any number listed may be chosen or typed in and set by hitting the return key, or by choosing the zoom tool. Click only on the image, and the zoom is applied to the whole image. If the pointer is used, click and drag the mouse pointer to create a zoom rectangle. The biggest dimension of the rectangle will correspond to the size of the image window. You can get to the Zoom Tool from the Image menu through Tools, Zoom, or by clicking the magnifying glass in the toolbox Anyone needing an adjustable grid superimposed on an existing image may use the Configure Grid command to set the properties of the grid and display it over the image while working on it.
One can choose the color of the gridlines, and the spacing and offsets from the origin of the image, independently for the horizontal and vertical grid lines. The configure grid dialogue:  The five different grid styles: Intersections, dots: the least visible, a simple dot at each intersection of the grid lines.  Intersections, crosshairs: a plus-shaped crosshair at each intersection of the grid lines  Dashed: dashed lines in the foreground color of the gridDouble dashed: dashed lines, where the foreground and background colors of the grid alternate, look the same as above when the image is in BW indexed mode. It is also hard to discern the separate colors in RGB mode because the dashes are so small and so close together,  Solid: shows solid grid lines in the foreground color of the grid Foreground and Background colors: in RGB Mode, click on the foreground color to select a new color for the grid, click OK Spacing: for use illustrations see GRIDS: OPTIONS
Width and height: select the cell size of the grid and the unit of measurement
Offset: moves the origin of the first cell, by the fault the grid begins at the coordinate origin, 0,0
The Snap to Grid command enables and disables Snap to Grid. When snap to grid is enabled, and a selection is moved or placed, the grid points pull on it when it approaches making accurate placement easier. If the magnification is high enough, the placement of your pencil or brush will be outlined in a dotted line. Here the snap to the area for a 3-pixel pencil is shown highlighting its possible placement location. This command is found in the image menubar through View, Snap to Grid.
The question has been asked in forums again as to how to place knit designs other than on a square grid. If retaining the aspect ratio matters, any image used for download can be scaled in height or width after it is drawn, or even after download depending on the software used.
If the intent is to illustrate the design on a knit-stitch rectangular grid, one may choose to configure the grid for any single image, or for permanent use.
For a permanent change, the default size may be set by changing user preferences, as seen here for a 1X1 pixel grid. 
To change results on any single work file use Image, and Configure Grid values to the desired ones.  Configuration options for line styles include solid, as shown above.
GUIDES
to configure guides, you can go to Image>Guides>New Guide by Percent, or simply click on one of the rulers in the image window and pull out a guide while holding the mouse Left Button pressed. The guide is then displayed as a blue, dashed line, which follows the pointer. As soon as you create a guide, the “Move” tool is activated and the mouse pointer changes to the Move icon. Releasing the mouse will place it.  As soon as a guide is created, the “Move” tool is activated and the mouse pointer changes to the Move icon. 

You can create as many guides as you like, positioned wherever you like. If the grid is set to a 1X1 square pixel default with a line border, at any point the Image, Configure, Grid option may be used to change the ground view  To move a guide, activate the Move tool in the Toolbox, then click on the guide (it will turn red), and drag it to a new location. Click and drag the intersection of two guides to move them together. Create as many guides as needed, positioned appropriately for the design. To delete a guide, simply drag it outside the image. 
Holding down the Shift key moves everything but a guide, using the guides as an effective alignment aid.
As with the grid, you can cause the pointer to snap to nearby guides, by toggling View, Snap to Guides in the image menu. If you have a number of guides and they are making it difficult for you to judge the image properly, you can hide them by toggling View Show Guides.
You can remove all the guides using the Image, Guides, and Remove all Guides command.

Working on punchcard repeats whether in designing for cards or creating a BMP or PNG for electronic download using a published repeat, guides may be set to outline 6X6 blocks as seen in factory-issued Brother punchcards, or to create custom templates.  For example, lace designs have few pixels. Horizontal guides may be added or moved at intervals between repeat segments, making certain the two knit rows are left blank as one continues entering the proper pixels. The vertical guides help in orienting and locating the pixels in design blocks to match the source.  With guides in place, pattern fill may be used, adding shapes using the tools, or brushes to place motifs. A sample of a knit repeat using the rectangle tool and the paint bucket tool combination to create filled rectangles placed in relationship to guides, creating a tuck pattern with interspersed plain knit rectangular shapes Built-in or custom brushes may be superimposed on a bucket-filled ground. Create an image in the desired width and height, here 24 X 24, and magnify at least X 800 for a grid view.
Fill with a pattern.
Place the chosen brush on the patterned ground, adjust the size and placement of the brush until satisfied, and save the image.
Consider the end-use for the pattern. For example, the designs below left would be suitable for tuck stitch, the same designs would need to be color reversed if the plan is to use them to knit thread lace. Both the original and the new image should be set to BW-indexed mode. Developing a brick version of the repeat is easy and quick. With the original image open, create a new image with the same width but twice its height, 24X48.
Set the magnification for both images to the same number, adjusting the number of both if needed so the longer canvas is in full view.
Configure the grid as preferred on the new image, and make it visible. Snap to grid is useful, but may not be necessary when working on such a scale.
Copy the full starting image and paste it onto the bottom of the new one.
Guides may be put in place to adjust for the pattern shift in the top half of the new image. A single, center guide, in this case, was sufficient.
If the full image copy is still available, align and paste it again, its left side to the right of the center guide, and anchor it.
Paste its right side to the left of the center guide and anchor that in place also. Undo and repeat steps if needed.
Check the alignment of the full repeat by map tiling, if satisfied, export it as PNG or BMP for future download.  COLOR EXCHANGE  2022 Gimp update offers a selective way to exchange colors using the fuzzy-select or select-by-color tool. The bucket-fill color works differently in some ways from previous Gimp versions.   Fuzzy-select will change any contained segment of an image in RGB Mode.  Make the selection of the area to be changed, it will become surrounded by a dotted line. Choose bucket fill, change the foreground color to the new one, and click on the outlined area, to the new color. Click on the rectangle tool and then anywhere in the work window to set the image and save it.  Multiple color exchanges in the same image.  Edit, and undo can be used to trace steps backward at any point.
Using select by color will select all areas containing that color, making global edits,   the process may be repeated within bordered segments, retaining their outlines.2023 version 2.10.34 use the shift key to fill by color, and the simple bucket fill tool once more to fill in any single, outlined areas
To change color in a solid background, as an alternative to using bucket fill, simply click on the associated icon, drag the desired foreground shade onto the ground, and release the mouse COLORS EXCHANGE older version
Color exchanges to test designs in different colorways may be made easily and quickly using the program. To test the concept begin with a simple repeat already tested for tiling originally saved in indexed black and white colors 

This icon shows the default foreground and background colors  Black is the foreground color, and white is the background.
Using such small images I often work with 800X magnification. Open the image, choose sizing, scaling, or magnification if necessary, convert to RGB mode then from the Colors menu choose Map, Color Exchange. The color exchange window will appear. Here the white “from color” is left undisturbed. Select the dropper next to the “to color”, then click on the image on the color you wish to change, a palette window will appear. Make your choice, the color exchange window will now have substituted the chosen color for black, click OK, and white design areas are now changed to the chosen blue globally. The process may then be repeated with the second color if desired.  The color exchange window will show white as the default “from color”. Click on the white bar, choose black from the palette window or use the dropper to select black from the image. The from color will then appear as black. Repeat selection with the dropper from the right of the “to color” bar on any black pixels in the image, choose the color from the palette window to replace it, and the color exchange window will display the new “to color”. Click OK, and job done. The process may be repeated multiple times on the same design or used on large-scale ones, giving one some idea as to whether or not to really commit to the estimated colors. I recently had reason to review old PC files from my Passap knitting days and came across several cut files that when converted to png format appeared in colors rather than black and white, leading me to experiment with color exchange again.  The image for the first experiment is part of a crib blanket by Cheryl GilesThe process: do not alter the original image ie. by resizing, which seems to change the color mapping responses
load the image in RGB mode
working with the foreground color, click once on the white, use the color picker to choose a color, in this case, orange, a palette window will appear, click OK, and the background color will change accordingly,  double click on the now orange background to call up its palette window, keep that window open, go to colors filter, map, color exchange
double click on the from color, the white, in the exchange window
match its values to the saved palette window working from the top down, you may find some of the remaining numbers self-correct
in the original image orange, is now exchanged for black continue, repeating the process with the alternate color, in this case, yellow. At that point, the in-process image will appear as solid black. Click on the black in the exchange window to color twice, choose white from the palette selection, click OK, and the conversion is complete. It is possible to colorize images originally drawn in black and white. The color exchange options will remain fixed throughout the process. The image may be worked on continuously and exported when color exchanges are completed, or saved and imported again after each step. The color exchange here happens consistently on the chosen background color, changing that quickly becomes familiar and easy. There are times that the repeat being processed will turn black onscreen, trust in the process and continue.
The default color exchange window using color options in the default palette. The steps for changing the background to red: the image will turn black as you work, click on the TO color selection to pick a color from the default palette to replace the white, in this case, the red, you can click OK, but do not close this last window if you want to continue, the color change will be lost Changing the black to white in summary Export the image. The transitions: Developing custom palettes in order to visualize different colorways while using the same repeat:
load the image,  right-click on the paintbrush icon, and choose palette editor, this window will open with selections for possible palette choices click on your choice, then click on the palette icon, and your color choices will appear, click on the white, to create a new background color. It will change it to the chosen value in this window when you click on that. The new color choices appear in the palette in the future unless a choice is made using resetting it to the original. Two selections may be made for new colors at the same time, but the map, color exchange option will continue to work on the background color only. These were my choices for added colors. Continuing to work with color changes, changing the white in the BW repeat to blue the black to orange My success with series of other images in using color exchange has been spotty. Online forums reveal this is a recurrent issue with no clear solutions. Suggestions include stipulating that the cause may be the version of Mac OS in use. Color reductions using ArahPaint achieve consistent results easily and quickly. There are advantages to hybrid conversions.
COLORS THRESHOLD: see GRIDS OPTIONS
GRIDS: OPTIONS
Punchcard users may use this method to visualize which holes to punch, though this particular repeat would need to be reduced in stitch count in order to be usable. Similar charts may be adapted and used for other textile techniques such as cross-stitch or even filet crochet.

Grids help with the precise placement of pixels when designing using pixels to represent stitches and rows. The grid is not visible until it is activated via the View, Show Grid option in the Image menu. To create a custom grid, the Image, Configure Grid from the Image menu brings up a dialogue that allows you to do so. Snap to Grid causes the pointer to “warp” perfectly to any grid line located within a certain distance. In most instances, when drawing repeats a 1X1 pixel grid works well on a canvas magnified enough for it to be visible when filling in cells, I recommend a starting magnification of X800.
Anyone needing an adjustable grid superimposed on an existing colored image may now adjust the grid size to suit while viewing the resulting changes. The beginning image and grid size both need to be large enough for the grid to be visible. Use the show grid, and Configure Grid commands  The intact chain link fixes the width and height aspect ratio of grid cells Considering the possible smallest repeat, breaking the chain link, and changing values progressively while viewing the results brings one closer to matching units  The image itself may be scaled concurrently to tweak grid border alignments. The final grid size below is 18X18,  the image size is shown after scaling from a width of 277 pixels (with a broken link at that time) to a final 270 pixels in width The screengrab of the above center, with a superimposed new grid; note the image, in this case, was also offset for better placement, a 3-pixel pencil was used to isolate the border of the possible smallest repeat Using Filter, Map, Tile to check alignments  The repeat reduced to 12 stitches, suitable for punchcard, and tiled to check alignments. Translating the colored image to BW indexed may take several steps and some clean-up if only Gimp is used to process it. With the colored large-scale isolated repeat, the image is opened in Gimp. The Threshold tool transforms the current layer or the selection into a black-and-white image, where white pixels represent the pixels of the image whose Value is in the threshold range, and black pixels represent pixels with Value out of the threshold range. It may be activated from the pull-down colors menu or from the toolbox.   The color image will temporarily disappear, adjust levels. Scaling to repeat size: check the image size, making certain the present dimensions match a multiple of the final repeat count for stitches and rows. If adjustments are required, breaking the chain link allows for each count to be adjusted independently from the other. In the final scaling, use the closed chain link, adjust numbers, magnify the repeat, checking it with a superimposed grid for any missing or out-of-place cells. Check the alignment, then save the single repeat, which in this case is 14X14, ready for download Color separations: there are occasions where very small repeats need to be scaled in height only for color separations. I have found such scaling to be inaccurate using the option, such as here, both of the small, single repeat, and in scaling its tiled version. The triangle motif was used in many of my early posts on color separations for DBJ and its backing options.  On a long enough canvas, the grid may be adjusted to 1 pixel by four in height. With that number of cells filled in with black in this case, if the 1X4 unit is captured with the rectangle tool, it will appear in the brush menu and will be available for use with the pencil tool for drawing with single strokes until one quits the program unless the unit is saved for future use as described via preferences  Using RGB mode, the two-color redrawn image is redrawn, A. The grid may be adjusted to 1X 1 again, B. Using magnification, I often use X1800, and pairs of rows may be selected for either color invert or value invert color options. The first will add a third color, seen in the chart bottom, the second will yield a 2 color image, seen in the chart top, B.  I have had no success with using keyboard commands for the action using my OS, find it easier visually to deal with the three colors than with the 2, especially in longer repeats. C: the extra color pixels in the rows with black pixels are filled with white. D: the third color pixel rows are filled with black. D the final repeat may be color indexed to BW and saved for download.  The appearance of the final repeat when color is reversed Another comparison of the 2 options for altering every other pair of rows in the specific color separation for a mosaic repeat. There is less filling in of cells with a different color, but in large files especially, I feel the result would become far more visually confusing to track. For more details on the specific mosaic, see  2021/01/27/mosaics-and-mazes-charting-meet-numbers-gimp-3/

SYMMETRY PAINTING
Information summary from the online manual on working with symmetry:
you can access this dialog from the image Menu bar through Windows-Dockable- Dialogs-Symmetry Painting, its icon appears below at the top right A drop-down list offers four options. As soon as you check a type of symmetry, axes appear as dotted green lines in the image window and you can start painting with the brush you have chosen.
The default position for the symmetry axis is the middle of the image window. You can place the axis where you want using the Horizontal axis position and Vertical axis position.
Disable brush transform: when you transform the drawing, the brush itself will end up transformed as well. For instance, in a mirror transform, not only will your drawing on the right of the canvas be mirrored on the left, but the brush itself is obviously “flipped” on the left. If for some reason, you want the drawn lines to be mirrored (or other transformation) but not the brush outline itself, you can check this box.
“Tiling” is a translational symmetry, which can be finite (with a maximum of strokes) or infinite. In the latter case, it is the perfect tool to create patterns or seamless tiles, at painting time. This mode covers the image with strokes.
Interval X Interval Y: these are the intervals on the X and Y axis, in pixels, between stroke centers.
Shift: this is the shift between lines on the X-axis, in pixels.
Max strokes X, Max strokes Y: these are the maximal number of brush strokes on the X and Y-axis. The default is 0, which means no limit, according to the image size.
Using a large image, and testing a few iterations helps one understand the process. The pepper brush is provided in the program and is used in the tutorial on the Gimp site. Most such tutorials are intended for working on far larger and higher resolution images, while knitting is binary and at the opposite end of the spectrum in scale and required image size. The original brush is 220 pixels in size, and the maximum number of needles per pixel on standard machines programmable at one time is 200. For exploration, any of the built-in brushes may be used, I began by scaling the pepper to 50 pixels, then moved on to a self-drawn, equal size flower motif. When choosing canvas file size, consider a multiple of the brush size. Drawing repeats uses the pencil tool.   Working with potential knit repeats the scale is reduced further. Magnification is useful for the evaluation of repeats. The smallest repeat segments for use on electronic machines may be isolated. The filter, map, and tile option easily verify how the repeats line up overall. Cropping a 24-stitch width and tiling that also visualizes the suitability of the repeat for use on punchcards with the 24-stitch limitation.  Grid view helps identify any need for “clean up”.
This rose is 24 stitches wide by 25 rows in height Open the chosen file in Gimp. Create a new file in a canvas size considering a multiple of the original.
When the Copy or Cut command is used on an image or a selection of it, a copy appears as a new brush in the upper left corner of the “Brushes” dialog. This brush will persist until you use the Copy command again. It disappears when GIMP is closed.
With the single repeat opened in Gimp, magnified several times, click on the image and use the copy command. The image will appear in the symmetry dialogue. The position may vary depending on whether the program has been closed and relaunched between episodes of testing the process. Create a new file, large enough to accommodate a multiple of the original number of pixels, add pixels for spacing between or above and below designs, set the magnification to the same number as that of the clipboard image, left-click on the brush icon, choose the image saved in the clipboard and a type of symmetry and accompanying settings, click on pencil tool, the motif will appear as on the above right, paste the image on the new canvas, undo and repeat setting adjustments until satisfied with the distribution of motifs.
Some ways of varying repeat positions working with motifs in networks were illustrated in the post To develop a brick repeat I began with a canvas twice that of the original rose, 48X50 pixels, isolated the smallest repeat, used the filter map tile option to test its all over alignment The 24X50 repeat: To decrease crowding, using the original image, the new canvas is now 40X60, with the shift decreased from 12 to 8 pixels. The result did not tile properly when mapped, using magnification 800X with a viewed grid the final repeat, 29X60 was isolated Being more deliberate with the math leads to a full, successful repeat 

Working on the gridded image, drawing straight lines to isolate color change areas in chosen colors followed by flood filling, one may begin to visualize changing the ground color behind the motif repeats Using that small triangular 8X8 repeat open in Gimp, or draw any small shape if designed by hand, remove the grid. Before using it as a brush, reduce mode to 2 colors, magnify X800. Open a new file. I found the latter needed to be increasingly small as well for the repeats to be placed accurately. After tiling using symmetry, filter, map, tile from the filter menu to check for multiple repeat alignment.   Again, preemptive math will yield images that avoid further processing. It is up to the user to recognize any problems,  the repeat here needs to and can be isolated correctly from the file on the left, it is actually only 16 rows high. Here the adjusted repeat is created on a 24X16 canvas with the same symmetry settings, and filter/mapped/tiled There may be multiple ways to achieve the same result with each motif. Here the same repeat is executed two different ways  The above repeat was cropped and adjusted to 16 stitch width and 8 row height, the file saved, and the process repeated  Using symmetry once more, remember to adjust the pencil size.  For the pinwheel shape I was unable to use color exchange successfully on the above images, but with the saved 2 colors indexed red and white repeat both img2track and ayab appeared to load the repeat successfully. The map color exchange was successful using the steps described at the top of the post when beginning with the repeat drawn in a black and white version.  

A different approach, experimenting with built-in brushes: symmetry preferences remain constant, the brush size is reduced. The results are best if the canvas is created in black and white indexed mode to start with, and shapes reduce with varying degrees of success. The numbers reflect brush sizes in each dot pattern. Different types of symmetry may be applied to the same image

For afghans or wall art, if one is attracted to large shapes, drawing in mandala symmetry on large canvas size is as gratifying and immediate as when using a spirograph, the results happen in seconds, these were drawn using 32 points. Steps may easily be undone along the way as one attempts to make the images more complex.

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.

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

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