moo-man / FVTT-DD-Import

Allows Importing Dungeondraft map files into FoundryVTT
MIT License
59 stars 27 forks source link

Add support for image resizing and customizing grid size on import #108

Closed gabrieljtaylor closed 2 years ago

gabrieljtaylor commented 2 years ago

Adds support for properly generating images when the pixels_per_grid value has been modified in the .dd2vtt file. Fixes #107.

ALSO adds a new UI feature to declare a custom grid size at time of import - no modification to the .dd2vtt file needed. Check the box, enter the desired grid size in the text field that appears, and the importer will scale both the scene and the generated image to the appropriate size based on the custom grid size.

This has been tested with both single-file import and multi-file import, both when converting to .webp and retaining original image file types, both when increasing and decreasing custom grid size.

moo-man commented 2 years ago

Thanks!

gabrieljtaylor commented 2 years ago

Just wondering - this has been merged for a few months now, but there has yet to be a release since then so I'm pretty sure anyone (but me, I suppose) is actually using the version with these changes. Is there plan for a new release in the near future?

moo-man commented 2 years ago

Sorry, planned to but it slipped my mind, will do it soon 👍

moo-man commented 2 years ago

Released, sorry for the delay!