chart: Generate a cross-stitch pattern chart Supply an image and...

Description Usage Arguments

View source: R/chart.R

Description

Generate a cross-stitch pattern chart Supply an image and turn it into a cross stitch chart. Currently assumes full stitches.

Usage

1
chart(imgpath, height = 100, num = NULL, select.col = NULL)

Arguments

imgpath

the path of the image to be processed

height

height of chart to be produced by squares (default is 100)

num

number of colours to be used (default is NULL)

select.col

provide a vector of coloured strings (DMC numbers/code)


ysoh286/xstitch documentation built on Feb. 11, 2021, 12:41 a.m.