module

miniPaint

Endorsements
0
Installs
0.06%
Comments
0
Latest version2.3
Minimum Core12
Compatible Core12
Last updated3 months ago
Created4 months ago
Authors
Languages
Systems All systems
Project source Project URL
Read-me Readme URL

miniPaint Integration with FoundryVTT

2.2 Added animated webm support, open, edit, save and also FX for multi layers
2.0 V12 only. Added frame library, save as frame, edit inventory item
1.8.1.1 fixed bugs of file menu options showing when they shouldnt. Now also the Save Item option is highlighted if you are modifying an item from sidebar.
1.8.1 save portrait and save token (tidy5e) are visible only if minipaint is opened from tidy5e sheet.
1.6 bugfix: you can now draw on core data images, but the file will be save in a new user data dir (newMinimapTiles)
1.6 you can now save your drawing on a selected tile that doesn't have any image on it (empty tile)
1.5 New function: you can now edit items from the sidebar (right click/edit in minipaint)
1.5 New functions: Added AI generative From Sketch to Image, Search &  Replace, Remove Background
1.5 New Function: "New Token" - pregenerates a template with a frame and a mask, so you just have to load a portrait (or draw one, generate, drag and drop etc)
1.5 New AI: Generate Token Ring, Generate Token art (inside ring), Search&Replace (tell minipaint what to remove and what to replace it with)

Overview

miniPaint is a powerful, browser-based image editor that now integrates seamlessly with FoundryVTT, allowing Game Masters to edit and manage images directly within the FoundryVTT environment. This integration brings the full power of miniPaint’s tools to your tabletop RPG experience.

chrome-s-OXFYWLu-XD

  • Now works also with tokens
  • If you have a token or a tile selected while opening minipaint, it will be automatically imported
  • you can now remove BG from images.
 

 

Change Log

Browser Support

  • Chrome
  • Firefox
  • Opera
  • Edge
  • Safari

chrome-UBPQSRACc1

FoundryVTT Integration Features

Custom Functions

The following custom functions have been implemented to enhance your FoundryVTT experience:

  • openMiniPaint()

    • Opens the miniPaint application window within FoundryVTT, allowing you to edit images on the fly.
  • loadTile()

    • Loads the currently selected tile in FoundryVTT into miniPaint as a new layer. Ideal for quick edits or enhancements to your game’s assets.
  • browseFoundry()

    • Opens the FoundryVTT file picker, allowing you to browse and select an image. This image is then loaded into miniPaint as a new layer.
  • replaceTile()

    • Replaces the currently selected tile's image with the edited image from miniPaint, overwriting the original while ensuring that the latest version is displayed using a cache-busting mechanism.
  • showCanvasInImagePopout()

    • Captures the canvas content from miniPaint, uploads it to FoundryVTT’s data directory, and then displays it using FoundryVTT’s ImagePopout class, ensuring all players see the updated image.

chrome-UJYVA3rmiy

How to Use

Opening miniPaint

To open miniPaint within FoundryVTT, use the Paintbrush icon located in the Tile Controls. This will launch the miniPaint application window where you can start editing images.

Loading Selected Tile as Layer

Select a tile in FoundryVTT and click the Load Tile button within miniPaint to bring the tile’s image into miniPaint for editing, you can import as many as you want (one by one).

Browsing Images

Click the Browse Foundry button to open the FoundryVTT file picker. Select an image, and it will be loaded into miniPaint as a new layer.

Replacing a Tile Image

After editing an image in miniPaint, use the Replace Tile button to overwrite the selected tile's image with the updated version, ensuring the latest changes are reflected in your game. The old image is not lost, a new image will be created.

Displaying an Image to Players

Once you have edited an image, you can use the Show in ImagePopout function to display the image to all players. This feature ensures that everyone sees the updated content.


Full Feature List

  • Files: Open images, directories, URLs, data URLs, drag and drop, save in multiple formats (PNG, JPG, BMP, WEBP, animated GIF, TIFF, JSON for layers data), and print.

  • Edit: Undo, cut, copy, paste, selection tools, and paste from clipboard.

  • Image: Provides detailed information, EXIF data, trim, zoom, resize (Hermite resample), rotate, flip, color corrections, auto-adjust colors, grid, histogram, and negative effects.

  • Layers: Multiple layers support, differences, merge, flatten, and transparency support. 

  • Effects: Includes Black and White, various blurs (box, Gaussian, stack, zoom), Bulge/Pinch, Denoise, Desaturate, Dither, Dot Screen, Edge, Emboss, Enrich, Gamma, Grains, GrayScale, Heatmap, JPG Compression, Mosaic, Oil, Sepia, Sharpen, Solarize, Tilt Shift, Vignette, Vibrance, Vintage, Blueprint, Night Vision, Pencil, and Instagram Filters.

    chrome-dv8-OS1vi-IN

 

  • Tools: Offers a wide array of tools including pencil, brush, magic wand, erase, fill, color picker, text, crop, blur, sharpen, desaturate, clone, borders, sprites, key-points, color zoom, replace color, restore alpha, and content fill.
  • Help: Provides keyboard shortcuts and translations to enhance the user experience.
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x