You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have and SVG image that we import to Fabric. After import it looks ok.
If we export the Fabric canvas to JSON and then import the JSON again, the image does not look the same any longer.
Attached is an image where the left image is the correct look. Both the SVG logo and the look of the Fabric canvas at first is like this. The right image show the image after we have exported the fabric canvas to JSON and then imported it back again to a new fabric canvas object. As you see it looks slightly different, the bottom right shadow have moved to the left (I think, because that area is much darker now).
Thanks for correct issue preparation.
I will look into it as soon as possible.
asturur
changed the title
Canvas exported with JSON does not look the same when imported back again
Gradients from SVG to pathgroup, exported with JSON does not look the same when imported back again
Aug 31, 2015
We have and SVG image that we import to Fabric. After import it looks ok.
If we export the Fabric canvas to JSON and then import the JSON again, the image does not look the same any longer.
Attached is an image where the left image is the correct look. Both the SVG logo and the look of the Fabric canvas at first is like this. The right image show the image after we have exported the fabric canvas to JSON and then imported it back again to a new fabric canvas object. As you see it looks slightly different, the bottom right shadow have moved to the left (I think, because that area is much darker now).
jsbin with example code to replicate this:
http://jsbin.com/teyoyu/1/
The text was updated successfully, but these errors were encountered: