viliusle/miniPaint

Import json with shapes does not work

marcpre opened this issue · 2 comments

Hi,

I created in the online editor the following image:

image

I exported it as json:

banner3.zip

When I open it again in miniPaint I get this:

image

Any suggestions why the shapes are not rendered correctly? Also the image-size is not correctly imported from the json.

Hi,
I see that there are few issues:

  • if image has negative dimensions, it will not be imported correctly (canvas size will be bigger)
  • some shapes missing colors

I will try to find time on weekend and fix it.

Fixed, new version released,