Archive for the ‘Software’ Category

GIMP software 2

Saturday, June 15th, 2013

This is the method I used to achieve the “color separations” in the previous post:

File new: create in canvas size for knit repeat: deleting the default 0 gives a working surface that is 64X40/ OK for small motifs

Change magnification to 1,000, hit return

GIMP Windows_Dockable items_ navigation will provide an easy slider to adjust sizing as needed

View: show grid, snap to grid

RGB mode

Draw test motif repeat, using one pixel pencil tool in B to draw, W to erase

The program allows for combining all items in one window, I prefer not to

test motif

Save file in native format .xcf  for backup and future changes

Use color markings to outline repeat

Adjust magnification with navigation slider if needed for easier editing

With crop tool, crop area within colored markings; menu_image_crop to selection

Use filter, map tile to view repeat in multiples- adding a 0 to both x and y pixel number values is an easy way to achieve that. The tiled image is in turn easily gridded if such a graph is required- simply go to view, highlight show grid, grab the resulting image, and save

If the repeat is satisfactory: back to image cropped screen, click within window, go to file export menu, choose file format, and save as png, bmp, etc for download, or simply screen grab the image in an easy to see size if punching a card or requiring a single repeat chart. I do not own Dak; GIMP does have a .pat read and save, but I have no way of testing whether files are in any way compatible between the 2 programs.

Most electronics are able to take the motif repeat and separate it automatically for a 2 color DBJ knit. If a separation for 2 color DBJ is required for use with a punchcard, or for any of the fabrics already discussed one needs to return to the xcf magnified document.

For the simplest DBJ separation, each row will break down into 2 colors, which in turn need to be knit with 2 passes for each color. This method is the one that is most likely to increase lengthening of the knit image, but one that “always” works.

To lengthen the repeat X2, cropped repeat area needs to be converted to 2 colors, go to image, mode, click on convert

Open image_ scale window; use image scale tool, clicking once again on selected repeat area

Adjust numbers to desired scaling, height doubled for the original repeat would be 18 pixels in length, here is the result

To separate the rows revert to RGB mode, unselect repeat area by clicking outside its parameters

row 1/color 1 in DBJ needs to knit in the largest number of “squares”, so my color inversion will begin on design row 2, for color 2; because these are individual pixels, numbering is not possible; I use color guides for  row that need to be inverted and repeat outline, and use navigation bar to enlarge for easy selection individual rows with crop tool

After selecting desired row with the rectangle select tool go to colors_invert, seen here for first row of color 2, repeat for length of motif. The result is suitable for use with double length KM built in features, and color changer. The black squares represent programmed pixels in download, or  what is drawn  on mylar/ punched in card.

If the double length of the separation is required: image _mode _indexed removes red and yellow squares, repeat process described above: select motif, use scale tool over the same area, scale image to 8X36. The caveat here is that one needs to be in the original canvas area: with a beginning canvas that was 64 X40, there is enough room for doubling length once more. Undo scale, use scale tool again, dragging upper and lower corners, keeping an eye on changing numbers in window for scale tool, type correction to numbers if needed, click on scale , autocrop to selection for export in desired format or screen grab and print to desired size

working with more colors, toward similar goals

adding colors: 3 colors per row motif, drawn in RGB mode

to make it the required triple length

resulting image when scaled to triple pixel height

the still manual color separation: whiting out unwanted colors in each row

double the length again

colored squares represent pixels in download, square in mylar, punched holes in card

GIMP software 1

Friday, June 14th, 2013

GIMP (GNU Image Manipulation Program) is an image retouching and editing program released as free and open source software. There now is a Mac OS Mountain Lion compatible version. The downloads may be found here, and more links for: features, supported file formats, help tutorials1 and help tutorials 2. One limitation is that for “color separations” to work by inverting colors one needs to reduce images to 1 bit B/W images, a definite advantage is the speed relative to working in spreadsheet programs. Another drawback is that one is using single pixel designing, so adding numbers for rows and stitches in the particular format is not possible. My June 10th post on illusion knits illustrated an example in creating repeats for them, here are sample results/charts

quilting double bed (for more on topic see May 30th post)

MOSAIC PATTERNS

the accompanying swatch, which shows the difference in width resulting from using tuck setting <—> (top) and  slip <—> setting (bottom)

double jacquard

images of working settings and gimp windows for my separations

Shadow/Illusion knitting DIY designs_HK

Monday, June 10th, 2013

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 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 square are used as knit symbol, horizontal dash for symbol for purl stitches. Beginning on light colored, even numbered rows, design is marked in purl stitches

On odd numbered rows beginning with row 1, mark all empty squares in 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 (chart below is missing very first row)

Now adding the second row of each color , and grounding stripe (s) at bottom of repeat. Most patterns will start the illusion immediately after casting on with dark color, row 1 above. I was interested for my sample in having a border of sorts on its top and bottom

The resulting knit swatch

shadow side

Intwinded has 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.

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, easier for more complex, overall shapes. The same series of steps may be used for mosaic knitting (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 grid removed in a variety of formats that may be used to import to various machine knitting download programs, and gridded may be used to establish punchcard or mylar repeats.  Screen grabs of magnified charts were saved, and are shown below. Black squares represent purl stitches in second row of each color. 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 beginning on row 1 and following every other row (if numbered these would be odd rows)

testing the repeat through tiling filter mapping

a working chart that can be printed to suit with dark/light row markings, and blank squares for tracking knitting  rows in execution of pattern

the knit swatch: “shadow side”

its reverse side

Knitting machine hacks

Monday, April 8th, 2013

Brother 930: Becky Stern and Adafruit

multiple Brother 930, 940 models: Knitic and PCB

brother 950i: Sally Kentfield

Brother 970: glitchknit

knitting on a hacked 930: FabienneAndrew Salomone

a hack of a Passap E 6000: Knitterstream

a punchcard voice activated hack trikoton

a Ravelry group discussing hacking Superba models

another approach: IMG2 track http://daviworks.com/knitting/

hacking the keypad Travis Goodspeed

wiki spaces: london, antitronics, Forskningsavdelningen

githubs: stg/knittington, its predecessor PatternUploader, knitic

Brother Liberation Front wiki

“magic formula” calculator mac os

Sunday, March 17th, 2013

I posted on this subject July 11, 2011, new to the party is a mac os app ($1.99) Knit evenly . I actually purchased the developer’s Jknit pro months ago, but lost enthusiasm for tracking  my projects that way, no fault of the software, which is amply reviewed by other knitters.

Color reduction/conversions, Mac Os

Thursday, March 14th, 2013

A recent forum post brought up the question that rises periodically on how to reduce colors in photographs, scans, etc. so as to be able to in turn use the image in a low resolution medium such as knit. There are very many ways to achieve this. The post had specifically asked for low cost or free alternatives using Mac software, so I began playing, and compiled the following document detailing some of my process, addressing large scale, non repetitive images in Color reductions for knitting.The document samples were simple, straightforward conversions, with no further “tweaking”.

Mac Os: iPhoto, Preview, further software downloads:

Free:   img2trak, HyperDither, XnConvert

99 cents One bit Camera

Free to try, $39.95 to buy GraphicConverter, the developer site

A tutorial for owners of Photoshop

With thanks to my test subjects: Rocco

and my sofa fabric

An online service that will do the conversion for you: Knitpro, and a free service github.

Sudio KM/Dak online videos

Monday, February 25th, 2013

Youtube video channel for Knitalong Cafe.

Knit QR codes, repeats from BW images

Sunday, February 24th, 2013

A video on this topic. I work on a Mac OS10.8, used a free converter to obtain the code used in the sample below, which in turn got reduced to 1bit B/W in Graphic Converter prior to gridding it for stitch count in Photoshop

the 60 stitch repeat

the 40 stitch repeat

the original image size was reduced to 60 pixels square, and 40 pixels square respectively, then magnified to 600 times for superimposing the single stitch grid as described in video; I used screen capture saves for posting here.

trying the same process on this BW jpeg, resulting repeats require further clean up and editing along edges of shapes

40 stitch repeat unedited

converted to 1bit BW

24 stitch unedited

converted to 1bit BW

as an afterthought: results using img2track to pixelate same image before gridding

please note these scroll graphs are not accurate working repeats to be knit as they are

a free online QR generator

XnConvert for Mac

Friday, February 22nd, 2013

XnConvert is a free software file conversion program. Long time Passap users may remember discussions on use of its sibling, XnView in early KM PC days. Convert for the Mac runs in OS10.8.  A friend requested a Passap.cut file from me. Graphic converter (not free) did not handle even the file viewing when I was trying to verify file integrity before e mailing. Convert read the same file, and offered a variety of format options for saving. I have been able to use the program to convert pal easily, but not any DAK Pat or Stps. Very early Madag cuts were not recognized, but the libraries available dated by months were. A mixed bag, but this may be a convenient way to create an easily viewed thumbprints library for .cut patterns otherwise identifiable only by their names or launching their design program.

HK pattern, software charting.

Wednesday, February 6th, 2013

I have reached the point where decades old (89 and earlier) magazines that got “saved” are now being peeked at, and if not given away, then recycled. There may be some bleed through here from pages I have “saved” once again. Browsing through I found some designs not appropriate for machine knitting for one reason or another, but still creating interesting surfaces and the chance to explore using intwined’s other features. The program will create text from a chart, or chart from typed text with some limitations. One of the latter is a very large cable as seen in the attached document. PDF exports can happen within the program if one is specific in the sequencing of creating its documents. The 1989 pattern had only text for the repeat; I typed it, and had the chart pretty much created for me except for the problem row 5. Here is the resulting Intwined created PDF with some of my comments: cable_diamond. The following is the graph I edited, with my illustration for the execution of row 5

the blue line separates the slip stitch section, which can serve as a border on each side of the cable panels, the red lines the edges of the 12 stitches involved in the cable. The green stitches are put on a cable needle and brought to the front of the work, the next 6 stitches are knit first, then the ones from the cable needle to complete the crossing.

the swatch: knit side

the purl side