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

Error importing #76

Open
cptnbananajam opened this issue Apr 27, 2021 · 2 comments
Open

Error importing #76

cptnbananajam opened this issue Apr 27, 2021 · 2 comments
Labels
question Further information is requested

Comments

@cptnbananajam
Copy link

When I try to import a .webp file it gives me an error saying something about a token R on Json 0. I set the import to webp, and use user data.

@cptnbananajam
Copy link
Author

The full error that I get is unexpected token R in JSON at position 0. I have it set to user data, and image type/extension is set to webp. Is this file type not not uploadable? Am I missing something? It works with PNG, but I believe the webp files have walls and windows in the map. I imported them from dndbeyond using a chrome extension. They would not upload to the forge when I imported it,

@m42e
Copy link
Collaborator

m42e commented May 10, 2021

The importer expect the files in a format that is basically a JSON file. It contains the image and additional information. normal PNGs and webp images will not work, as there is no information about walls contained. This is only supported by some editors, e.g. dungeondraft.

@m42e m42e added the question Further information is requested label Jun 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants