Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 4 commits into from
Feb 4, 2022

Conversation

gabrieljtaylor
Copy link
Contributor

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 moo-man merged commit 4f5cc22 into moo-man:master Feb 4, 2022
@moo-man
Copy link
Owner

moo-man commented Feb 4, 2022

Thanks!

@gabrieljtaylor
Copy link
Contributor Author

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
Copy link
Owner

moo-man commented Apr 29, 2022

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

@moo-man
Copy link
Owner

moo-man commented May 1, 2022

Released, sorry for the delay!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generated Image Issues with Modified Pixels_Per_Grid Value
2 participants