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

2chのお絵かき対応について #20

Open
open774 opened this issue Dec 7, 2017 · 1 comment
Open

2chのお絵かき対応について #20

open774 opened this issue Dec 7, 2017 · 1 comment

Comments

@open774
Copy link
Owner

open774 commented Dec 7, 2017

現時点では2chの仕様を調べただけ。

2chで使用しているお絵かきアプレット
https://github.com/websanova/wPaint

「oekaki=data:image/png;base64,PNG画像をBASE64した文字列」をPOSTすればおk
ただし、鯖側の画像サイズに関するチェックが厳しい。

元ネタ
http://anago.5ch.net/test/read.cgi/software/1410688871/963

@open774
Copy link
Owner Author

open774 commented Dec 13, 2017

open2chは「oekakiMode=1」と「oekakiData=PNG画像をBASE64した文字列」っぽい
javascript読んだだけ。
鯖側のチェック内容等の具体的な仕様は知らん

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

1 participant