Skip to content

When exporting JSON using exportStateHistory, there is an issue with images included #308

Answered by saif-ellafi
zgdaaa asked this question in Q&A
Discussion options

You must be logged in to vote

At the moment, I think, this loading process has to be done manually (me for example, I store layer indices and then restore the image based on its index in the history). Eventually, I suppose we will be able to store other content instead of the stickers themselves (i.e. unique id, path, URL, etc.) and on top be able to set a loader function that loads these stickers back, or something similar. This way we could decide whether to serialize stickers (default), or store some StickerData and a function to restore them later through API.

my two cents

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@zgdaaa
Comment options

Comment options

You must be logged in to vote
5 replies
@saif-ellafi
Comment options

Answer selected by zgdaaa
@hm21
Comment options

hm21 Jan 6, 2025
Maintainer

@zgdaaa
Comment options

@hm21
Comment options

hm21 Jan 9, 2025
Maintainer

@zgdaaa
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants