desuwa/tegaki

I want to redraw from a `.tgkr` file while retaining layer information

Opened this issue · 2 comments

Tegaki.open({
  replayMode: true,
  replayURL: 'https://path/to/replay.tgkr' // Store replay files preferably with the .tgkr extension
});

By reading the .tgkr file and reproducing the drawing procedure, I were able to reproduce operations such as adding layers.
However, I don't know how to treat .tgkr like a .psd file and continue drawing while preserving layer information.
I was able to load the merged image and add it to the Canvas tag.
However, this method loses layer information.
The old OEKAKI applet (shi-Painter) can draw from files very similar to (.tgkr) files. (.spch)
I would like to use such a function.

I'll try to add a way to resume drawing from a replay some time soon.
Basically a function to switch from replay mode to normal mode.

Thank you for your reply.

Basically a function to switch from replay mode to normal mode.

It will be very convenient if this is realized.