mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Merge pull request #36 from TomTkacz/master
implemented import_image function
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
Function: import_image
|
||||
|
||||
--Usage--
|
||||
> import_image(image_path)
|
||||
|
||||
Load an image from outside the data folder. Intended for use from the CLI.
|
||||
|
||||
--Parameters--
|
||||
! Parameter Type Description
|
||||
| @input@ [[type:string]] Full path of the image to load
|
||||
|
||||
--Examples--
|
||||
> new_card([image: import_image("D:/Art/Ajani.png"), card_color: "green"])
|
||||
@@ -94,6 +94,7 @@ These functions are built into the program, other [[type:function]]s can be defi
|
||||
| [[fun:rotate_image]] Rotate an image.
|
||||
| [[fun:drop_shadow]] Add a drop shadow to an image.
|
||||
| [[fun:symbol_variation]] Render a variation of a [[type:symbol]].
|
||||
| [[fun:import_image]] Load an image from outside the data folder.
|
||||
| [[fun:built_in_image]] Return an image built into the program.
|
||||
|
||||
! Cards <<<
|
||||
|
||||
Reference in New Issue
Block a user