Closed khaledmndev closed 2 years ago
I don't think JSON.parse
is necessary if you save it in the local storage. can you try without it?
I don't think
JSON.parse
is necessary if you save it in the local storage. can you try without it?
this one worked perfectly, thanks, just a question, is there anyway to integrate this with dflipjs library? it also uses PDF.js
it might be possible, but that's not going to be easy. you have hack into the plugin's code
@RavishaHesh alright thanks for helping me, but just one annoying question, is there a way to save the canvas without the psd images to json? To reduce the of the json output, this way i can load the psd file alone and import the canvas from the json..
i'm having an issue while retrieving json data from the storage after parsing it
here's my code:
Error:
and it's working perfectly when i manually paste the json data into
pdf.loadFromJSON([here])