* Update to 2.5.3 - add `exists_in_package` script function, which take a string argument of the form "/package-name.package-extension/file-name.file-extension" and return true if the file can be loaded by MSE. - add 175% export zoom option * update watermark handling * collapse card_watermark_1 etc into custom_watermark_link(#) * added verify_watermark_image, a script that runs in custom watermark fields * if the field is a potentially valid link, it will run exists_in_package, width_of, and length_of and caches their info in the field * if the image is too big, it displays it normally instead of erroring --------- Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
19 lines
640 B
Plaintext
19 lines
640 B
Plaintext
styling field:
|
|
type: choice
|
|
name: watermark render
|
|
choice: normal
|
|
choice: inverted
|
|
choice: blend with colors
|
|
choice: shadow
|
|
choice: glow
|
|
description: Image needs to be 1024x1024 px or smaller to blend with card colors. For best results, use a solid black watermark on transparent background.
|
|
styling field:
|
|
type: text
|
|
name: watermark opacity percentage
|
|
description: Override the default watermark opacity percentage with a given number between 0 and 100.
|
|
styling field:
|
|
type: text
|
|
name: card watermark
|
|
description: Filename in magic-mainframe-extras to use for standalone card watermark
|
|
script: verify_watermark_image(value)
|