Numbers and GIMP: online punchcard patterns to electronics

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 themselves when that is necessary for correct knitting when switching km brands. The collections begin with the longest repeats. One such repeat  I have never had an interest in owning DAK. That said, their Graphics studio seems to offer an interesting range of design possibilities. The machine knitting groups in FB have recently had questions submitted on how to convert the site’s charts for use to create downloadable .pngs.  In response, a member, post has been sharing videos in Russian explaining some of the pertinent processes (my editor is refusing the Russian characters for her name). Those of us who are Mac and Gimp users need not be left out of the process, the conversions are achievable with the investment of a bit more time and patience. The charts as given cannot be successfully converted to the indexed mode and scaled in Gimp to produce readable patterns. One solution is to combine the use of a spreadsheet table, in my case created in Numbers, combined with Gimp design options. I assume similar steps could be used with Excel tables. Prior knowledge of the basics for both programs is required.
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 The units in many such illustrations are not square, and the goal is to end up with a .bmp where each square unit represents one stitch, one row. The cell size I prefer in Numbers tables has come to be 20X20. This particular design is 24 stitches wide, 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.
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 Resize the image if needed to match the pt table size, in this case, to 480X1200. Adjusting the size by using the arrows to the right of the size option gives more accurate control than simply dragging on points on the original image. Turning off constrain proportions will allow for tweaking the size as well if needed. On the left is the first table image, to its right, the resized punchcard pattern Select the whole table, by clicking on the circular symbol at the upper left,  Alter the cell borders to a bright, contrasting color. I chose red, 3 points thickness Move the table over the punchcard image or the reverse. The arrange option may be used to place either in front or back of the other as needed Using the command key select individual cells or cell groups, release the key, fill 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 far corners of the image, in this case, upper right and upper left (yellow), remove cell borders .screen grab a larger area than the repeat on the right, open in Gimp
.choose crop to content, that will eliminate any extra surrounding cells
.fill the contrast color squares with white
.choose image/mode/indexed/BW convert
.proceed to scale the image. In some instances, this needs to happen in 2 steps: the first may be scaling up to make certain both values are divisible by 20, the second to scale down to the desired repeat size of 24X60
.prior to saving the .bmp for download, magnify to at least 800, with the grid in view as the first visual check, also tile to make certain the design lines up properly in repeat, in a way that is found pleasant or at times, to be avoided. One needs to have a basic understanding of punchcard illustration markings, and often the repeat required for use of the design in electronics may only be a very small portion of the total one offered in the publication. The extra rows representing perforations that are not part of the design and may be cropped off in Gimp. This repeat is what began the FB discussion 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 the isolated repeat tiled The far longer repeats might best be managed broken up into sections. 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 What of the lace punchcard repeats? There seems to be no differentiation between the different types of lace on the 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 and passes, one to knit, one to transfer are all grouped together. In addition, the pull-down menu 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 .bmp 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 pattern image got me closer to an editable lace repeat using Gimp alone, worth considering in the future. Practice with using both programs in sync can make the progress a very quick one.

Leave a Reply

Your email address will not be published. Required fields are marked *