Description Usage Arguments Value Examples
Using the realfavicongenerator.net API, this function sends a request to the API with the supplied parameters and downloads the result to a provided save location.
1 2 3 4 5 6 7 8 9 | generate_favicon(
image,
save_loc,
api_key = NULL,
override_type = NULL,
favicon_design = build_favicon_design(),
settings = build_settings(),
versioning = build_versioning()
)
|
image |
character; either a URL to an image or a local path. Type is guessed based on whether the string
contains "http/s" or "www", but can you can override this with the |
save_loc |
character; path to a save folder to save the returned images. |
api_key |
character; NULL to use the API set by |
favicon_design |
list; the favicon design parameters as an embedded list that will eventually be converted
to json. To help with the building of this complex list, use the |
settings |
list; another embedded list of parameters to be passed to the API. To help with this, use the |
versioning |
list; an embedded list of versionining parameters to be sent to the API. Help creating this
is provided with the |
path; the path to the saved file is returned invisibly
1 2 3 4 5 6 | ## Not run:
generate_favicon(image = "http://test.image.location", save_loc = "Me/MyDownloads",
favicon_design = build_favicon_design(coast = NULL), settings = build_settings(),
versioning = build_versioning())
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.