ool-btn" id="zoomIn">拡大</button>
<button class="tool-btn" id="zoomOut">縮小</button>
<button class="tool-btn" id="resetView">リセット</button>
<button class="tool-btn" id="clearMask">マスクをクリア</button>
<button class="tool-btn" id="downloadMask">マスクをダウンロード</button>
</div>
</div>
<div id="status"></div>
<script>
const canvas=document.getElementById('canvas');
const ctx=canvas.getContext('2d');
const imageUpload=document.getElementById('imageUpload');
const penTool=doc