honey_pot
js 이미지 저장 본문
document.getElementById('save-btn').addEventListener('click', () => {
const dataURL = canvas.toDataURL('imgage/png');
const link = document.createElement('a');
link.download = 'clock.png';
link.href = dataURL;
link.click();
});
'기타' 카테고리의 다른 글
Kubernetes - version compatible (0) | 2023.10.26 |
---|---|
rhel9 python3.11 test (0) | 2023.10.16 |
tensorflow retracing warning 없애기 (0) | 2023.08.09 |
PEP 703 : Python의 GIL 제거 (0) | 2023.07.11 |
LLM 기반 챗봇 애플리케이션 구조 (0) | 2023.06.21 |
Comments