Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
satopian opened this issue Jun 21, 2023 · 2 comments
Open

Comments

@satopian
Copy link

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.

@desuwa
Copy link
Owner

desuwa commented Jun 22, 2023

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.

@satopian
Copy link
Author

satopian commented Jun 22, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants