- Prevent warning in install screen about author field.
- Fix a incompatibility issue with Youtube Widget
- If using dynamic token rings save token image to dynamic texture field as well as token field to allow proper scaling for grid scaled rings.
- Add some mask templates for grid scale dynamic rings.
- When using the compendium search functions in pf2e right click on actor would fail.
- When bypassing Tokenizer to use the Filepicker, s3 paths would not open location properly.
- PT-BR language translation updates for v4.3.9.
- Layer cloning will now preserve lasso changes.
- Fix for quick settings not always applying.
- Setting to enable dynamic token ring settings when saving a tokenizer token.
- Enable Português (Brasil) in manifest 🤦
- Use image offset when just using a masking layer.
- The Modify avatar checkbox would not respect the settings default when opening tokenizer.
- Translation updates for Brazilian Portuguese and Japanese.
- PT-BR language translation updates for v4.3.3.
- Add Quick Settings for quickly choosing the layers you want to add when opening tokenizer.
- You can now add a mask layer - this will use the image as a mask layer taking all the non transparent pixels as the mask. Provided are two default masks, which helpfully match the size of the new dynamic ring provided in D&D 5e v3 and Foundry v12.
- PT-BR language translation updates.
- Fix an issue with auto-tokenizer with v4.3.0
- Support for v12 of Foundry
- Improved clearing of pop up selectors (e.g. mask controls)
- Kgar Tidy 5e sheet merge into Tidy Sheet support
- 5e v3.0.0 Tokenizer will open regardless of if avatar or token is selected when editing the sheet.
- Kgar Tidy 5e sheet support
- Support for 3.2.0+ of Coriolis system.
- JA language updates from doumoku
- Slight tweaks t allow the Tokenizer menu to appear if player has permissions on actors tab.
- Slight CSS corrections for if using custom themes.
- When using OSE (and possibly other systems) when using shift to open the file picker instead of Tokenizer the dialogue would not open.
- Non-ray masking algo would not work.
- Support NPC's that are a PC type in Forbidden Lands system.
- Fixes #132: When a token frame is uploaded via the upload button rather than the find frame button the apply default mask button would not work.
- Fixes for systems such as Gumshoe system where PC's type is marked slightly differently in the data model.
- Scale layer option - you can now scale a layer by a percentage.
- You can now select a "texture layer" and optional tint color to apply to a new token, under the token layer.
- A Centre Layer button now exists to allow you to centre the layer. Useful if you have resized/zoomed and it has skewed.
- Centre Layer, Reset Layer and Flip Layer moved to a Layer Movement Controls popup section.
- Fixes for Creating folders in v11.302 due to changed status codes from Foundry.
- Custom Masking would not respect deletes once the initial edit had been made.
- Fix an issue where wildcard paths for tokens that did not include a file extension could not save.
- Masks would be produced for non-border layers by default, and it was not possible to remove these default masks when editing a layer mask.
- Clone layer button.
- You can now choose to apply a color tint to the default token frame. Select this option in the settings if you wish to have it applied by default. This allows you to use the same frame, but with different colors for PC's, hostile, neutral and friendly tokens.
- Some new default tokens for use with the tint layer option.
- A new "Magic Lasso" feature allowing you to replace similar colors with transparent areas or a color.
- Fixed an error that appeared when clicking the Tokenizer link in the title bar.
- Improved use of localisation.
- You can now make similar colours in a layer disappear/become transparent pixels.
- Mask layers and transparent pixels can now be reset independently.
- Colour dropper layer colour pick now respects scaled canvas and will select colour under the mouse.
- Mask editor: improve performance of editing large images.
- Make brush size change feel more fluid.
- Right click remove mask in editor did not work if you did not move the mouse.
- Clicking on the add layer icon would close Tokenizer. #126
- Mask editor - masks can now be edited, note once edited the masks cannot be moved and will remain static if the image on the layer is moved.
- Select which masks you would like applied to each layer to create fun effects like stepping out of a frame! See https://github.com/MrPrimate/tokenizer/blob/master/docs/multi-layers.webm
- Blend modes can be selected for intial layer draw and for mask drawing.
- Some UI improvements suggested by @Mats (Allistaar)#9836
- In some circumstances when layers were removed
- Colour layers would not change
- Download image, as requested as part of #113
- Tighten up permissions to prevent Tokenizer launching if user lacks required permissions #114
- Huge performance of dragging/resizing mask layers.
- Basic first pass implementation: Multiple masks can now be applied.
- Mask images can now be hidden.
- Added blend mode support, see https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/globalCompositeOperation and https://www.w3schools.com/tags/canvas_globalcompositeoperation.asp for details.
- Exposed API functions via
game.modules.get("vtta-tokenizer").api
as well aswindow.Tokenizer
- More frames from TheGreatNacho.
- Small version bump to enforce version constaints on v9.
- This version of tokenizer is only compatible with version 10 of Foundry.
- Tokenizer will now open when clicking the character in the Coriolis system.
- Tokenize Compendium function would place images in the root directory.
- Auto-tokenize function would not respect image locations.
- Can now change the save location and name for a specific toke or avatar on the Tokenizer screen.
- The actors image could get a very long file name in some situations.
- In v10, scene edited tokens would not be updated.
- Can change directory/default frames again in v10.
- v10 bug: update tokens on scene did not work
- Improve DDB support.
- Fix for Token Variants API @dirusulixes#6754
- v10 support
- auto tokenize did not respect the offset values in settings
- Fix typo in settings label.
- An option to auto-crop images by elizeuangelo
- Some very specific images sizes would cause recursive loops and run away memory usage.
- Masking now attempts to use rays and Bresenhams line algorithm to improve mask detection, you can switch back to the old algorithm in the settings if it doesn't work out for you.
- Each layer can now have an Opacity/Alpha applied to it.
- Mask Browser did not always handle S3 URLS correctly.
- Auto Tokenize zoomed in too much.
- Mask detection had broken on more complicated frames where it previously worked.
- Masking now applies only to lower layers.
- Token only modification now defaults to True.
- Zooming in on images should now upscale to the provided images native resolution rather than capped at the saved images resolution.
- Colour tinting is now specific to new "color layers", it will add a colour layer by default, using the default background color. This can be disabled in teh Tokenizer settings. This allows tokens with transparent middles.
- If there are any CSS gurus who are begging to help fix some of the slight wonkyness on the controls, please help :)
- When setting a default token frame Tokenizer will offset an image and scale it by a default value. You can configure this in the default settings. It's currently set to match the default rings. This allows tokenizer to fit more of your image in the ring when tokenizing, and useful for the Auto-Tokenize operations.
- Flip/mirror option added for layers.
- Tokenizer will load the frames provided by the Token Frame module by default into the Tokenizer frame selector if the module is active. You can disable this in the Tokenizer settings. Thanks @blackntan#0069 for putting a great collection together.
- Auto tokenize will now return the path of the updated image, and actor update is optional.
- Auto Tokenize function added for use by other modules.
- You can right click on an Actors Compendium and auto-tokenize all actors in that compendium.
- File upload will now hide UI notifications in v9.
- Option to disable OMFG frames appearing in the frame select dialogue.
- Actually fix Token Variant Art API.
- Support new Token Variant Art API for image select button.
- Typo in settings.
- Log level not respected.
- User level override for switching shift-click/default filepicker/tokenizer behaviour?
- try and improve tokenizer opening speed.
- @OldMightyFriendlyGamer#0832 a thinner token ring set added.
- Recursive search of folder frame directory for custom frames.
- Filter out non images from folder frames directory.
- Frames with spaces in name did not show in the viewer correctly.
- Removed some dead code causing harmless console errors.
- Tokenizer now looks for
data-edit="img"
on the character sheet, rather than a list of known classes used by avatars. This is used by the filepicker for images, so should allow Tokenizer to work on most systems without modification.
- Tokenizer frame selection is now a GUI
- A large collection of frames provided by @OldMightyFriendlyGamer#0832 - more available at https://ko-fi.com/oldmightyfriendlygamer
- Tokenizer can now take a default frame for non hostile NPCs.
- Tokenizer token-only mode default is a now a per player setting you can change in the Tokenizer module settings.
- Tokenizer would not open for players with the new generate token only option.
- Tokenizer now will only generate token instead of a token and a duplicate avatar pic (togglable).
- Tokenizer now has context menu items for calling tokenizer and updating all actor tokens on the current scene.
- v9 support
- Moulinette filepicker on the forge did not work.
- If token on the canvas had been copied to the clip-board a paste of an image would also paste the token.
- Load from URL failed on Avatar (typo)
- Copy from Token to Avatar available.
- Center layer renamed to reset layer to better reflect function.
- When using S3 on some setups using Chrome, a CORS error could appear when trying to load tokens that are saved to S3 storage.
- Add shift click for avatar if you disable open on click for avatar.
- You can disable Tokenizer opening when clicking the avatar in the modules settings. If this is selected it will fall back to the default file picker.
- Tokenizer will now update placed scene tokens again in 0.8.x. Tokens edited on the scene canvas will remain unique for that placed token. e.g. if you update 1 of 10 placed goblins it will only update that single goblins token image.
- S3 CORS access was broken.
- Improve custom CORS proxy support.
- Restore regular paste functionality after tokenizer was opened.
- You can now choose to paste/drag n drop to the avatar or token via button switch.
- You can now drag and drop or paste images into Tokenizer. This will target the token side only.
- Fix borken image load from sites with appropriate CORS policy.
- Adds
Tokenizer.tokenizeActor()
.
- Assets in your Forge library will load again.
- Overhaul of code base to and implementation against by linting standard.
- Added default token directories and auto-create
- BREAKING:
Tokenizer.launch()
has changed to allow Tokenizer to be called without an actor. See readme.md for examples.
- Default layer fill colour for transparent images is now white rather than black, and this can be changed in the settings. ( @NH23#0868 )
- Tokenizer can now be launched using
Tokenizer.launch(actor)
.
- Unable to add layers if "add frame to the token when opened" option was unchecked.
- Some users experienced issues with name rendering of frame drop down.
- Frames drop down is now fixed width.
- Option to place Tokenizer button on title bar.
- Option to turn off auto add frame in settings.
- Option to specify a directory to use as frames.
- Drop down will present available frames to apply to a token.
- File names are now converted to ascii to deal with Foundry unicode filename issues. It will revert to hash of character name if a suitable string cannot be generated.
- Add a button to load token image from Token Variants module.
- Japanese localisation (Thanks BrotherSharper and asami )
- Support for saving files as webp as default. (PNG is still available in settings). (Thanks JamzTheMan !)
- Image size is now an option. (Thanks JamzTheMan !)
- Support for Foundry v0.8.3
- Can upload NPC tokens to a seperate folder to PC's.
- Certified Foundry 0.6.4 compatibility
- pt-BR localization thanks to rinnocenti
- Appending current date to filenames in order to refresh the browser cache for changed images
This release adds wildcard support to Tokenizer - well, kinda. Tokenizer is due to a rewrite, but is currently last in place on my backlog, right after the map creation of the D&D Beyond battlemaps and the Iconizer Icon-renaming party, so it will be a while. In the meantime, enjoy this little addition:
-
Go to your Prototype Token panel from your Actor's sheet.
-
Go to Image
-
Enable Randomize Wildcard Images
-
No need to adjust the Token Image Path: If it does not yet contain a wildcard asterisk, Tokenizer will create an appropriate one for you based on the directory you defined as an Avatar/Token upload directory.
Alternatively, you can specify a complete path containing an asterisk, which may deviate from your chosen setting, but make sure that it is pointing to your User Data storage pool, other storage pools are not supported
-
Update Token, then open up Tokenizer
-
You will see that the Token heading on the right has an added (Wildcard) next to it - Wildcard-mode is enabled
-
In the footer, next to the OK button, you will see the generated filename based on either your entry in Token Image Path or the generated one:
Actorname.Token-[nnn].png
. All asterisks will be replaced by a 3-digit number.
Examples:
- Token Image Path:
uploads/my-token-*.png
->uploads/my-token-001.png
,uploads/my-token-002.png
,uploads/my-token-003.png
, ... - Token Image Path:
my-token-*.png
->my-token-001.png
,my-token-002.png
,my-token-003.png
, ... - Token Image Path:
uploads/my-*-token-*.png
->uploads/my-001-token-001.png
,uploads/my-002-token-002.png
,uploads/my-003-token-003.png
, ...
FAQ
- When opening Tokenizer, the Token view is just black Since there might be not only one, but many Tokens already in place, just the default Token border is loaded each time you open up Tokenizer
- How can I use that to batch-create Tokens? Open up Tokenizer as often as you'd like. The underlying design does not allow a better workflow, which might be implemented in the rewrite
- What if I delete one token? The target filename is generated by querying the Foundry server for existing files matching the Token Image Path. It then counts up until it finds the next free number. So if you have 20 Tokens and delete No. '018', the next created token will have the number '018' to fill that slot, and will then continue to use '021' as the next free token.
- Why can't I use S3? Support may be added on the rewrite, or when Foundry supports it in vanilla. This is not a promise.
- Compatibility to Foundry 0.6.1
- Removed Settings Extender and replaced it with a custom implementation
- Auto-adjusting window height on startup
- CSS selector 'player-image' to support pathfinder 2E (again)
- Certified compatibility for Foundry 0.6.0
- No more distortions when selecting pixel sizes > 400 in the game settings
- Existing Avatar images retain their original (squared) image dimensions they have, even after editing with Tokenizer. That means you can
- Hold SHIFT while clicking on your Avatar image to upload an Avatar of your choice and or your desired resolution
- After setting your Avatar image, click again on your Avatar, this time do not hold shift to open up Tokenizer
- Your Avatar image area will have the dimensions of your original image, your Token image area will have the dimensions set in your game settings
No changes
- Holding SHIFT while clicking on your avatar image opens up the default Filepicker instead of Tokenizer. This can be used to reset the avatar image to high-res images after creating a token
- Support for S3 as a storage target
- Disabled buttons if browsing for files is disabled
- Migrated the check for the permission to upload files to the new permission system, displaying a notification of the permission is not granted
Note: This release is available for 0.5.5 and up only.
- Repairing corrupted game settings now in
ready
to avoid throwing errors for incorrectly using the uninitialized ui.notifications
- Tooltips provided by @mtvjr
- Set compatibleCoreVersion to 0.5.3
- Added the
img.img-profile
CSS class to the supported Avatar image classes that Tokenizer hooks into. In totalimg.sheet-profile
,img.profile
andimg-profile-img
are the image CSS classes that Tokenizer will hook into on rendering character sheets (please, Atropos, stop chaging the CSS classnames in Simple World Building system ;)
Feature parity release for the relaunch of VTTAssets
- Support for Foundry VTT 0.4.4
- Support for Foundry VTT 0.4.3 and lower
- Used Azzurite's Settings Extender to simplify configuration
- Default frame for NPC referenced the PC frame
- System list in module.json in order to enable in all compatible systems
- Actors with a slash in it's name successfully broke the image upload
- Adjusted the upload path issue to work in all 0.4.x versions, resulting in a minimum core version back to 0.4.0
- Fixed upload directory due to a Foundry change
- Default frames configuration setting for NPCs and PCs (thanks to the wonderful settings extender by @AzzuriteTV)
- Switched to my own CORS proxy to speed up loading times. Whoever may be tempted: Please do not abuse the server, or I will need to take it offline - thank you for your understanding
- Updated german translation to be consistent across modules
- Updated readme
- Several fixes required for 0.4.0 compatiblity
- Rewrote module as ES6 module
- Initial release
- Support for Foundry v0.3.9 and prior