Description Usage Arguments Value Examples
View source: R/knitting_image.R
Creation of knitting image
1 | knitting_image(img, gs)
|
img |
Magick image |
gs |
Grid size calculated from grid_size() |
Knitting image
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | tricot::knitting_image(
tricot::image_load(
here::here("img", "Montagne.pdf")
),
tricot::grid_size(
20,
30,
tricot::square_size(
35,
26
)
)
)
tricot::knitting_image(
tricot::image_load(
here::here("img", "Monstre.tif")
),
tricot::grid_size(
30,
30,
tricot::square_size(
35,
26
)
)
)
tricot::knitting_image(
tricot::image_load(
here::here("img", "Pingouin.png")
),
tricot::grid_size(
20,
20,
tricot::square_size(
35,
26
)
)
)
tricot::knitting_image(
tricot::image_load(
here::here("img", "PeintureLaetitia.jpg")
),
tricot::grid_size(
30,
20,
tricot::square_size(
35,
26
)
)
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.