Search found 4 matches
- Mon Sep 20, 2021 2:04 am
- Forum: Macros
- Topic: List of properties which appear on stat sheets
- Replies: 1
- Views: 2072
List of properties which appear on stat sheets
Is there a way to get a list of only the property names which are shown on the stat sheet of a token? For example if there is a way to get the properties as they appear in the campaign properties window, then I could just pick out the property names which have the asterisk in them. Or of course if t...
- Sun Sep 19, 2021 7:29 pm
- Forum: Feature Requests
- Topic: [1.9.3] Have getAssetProperties provide base64 data
- Replies: 1
- Views: 2075
[1.9.3] Have getAssetProperties provide base64 data
A way to get the raw or 64 encoded data of an asset's file would allow uploading of images to image databases like Imgur through their API using REST posts in a macro.
This would be extremely helpful for a twitch extension I am attempting to build for maptools.
This would be extremely helpful for a twitch extension I am attempting to build for maptools.
- Sun Sep 19, 2021 5:09 pm
- Forum: Macros
- Topic: Is it possible to get an asset's raw data?
- Replies: 2
- Views: 2015
Re: Is it possible to get an asset's raw data?
Sounds good, thanks for the response.
- Sun Sep 19, 2021 4:19 pm
- Forum: Macros
- Topic: Is it possible to get an asset's raw data?
- Replies: 2
- Views: 2015
Is it possible to get an asset's raw data?
I need to get the raw data of a token's image so I can convert it to base64 and send that to an API using a REST post. So, I either need a way to get the raw data of an image from its assetid within a macro, or have some way to get data from local files and access the assetcache folder of maptools t...