Skip to content

Commit

Permalink
alt
Browse files Browse the repository at this point in the history
  • Loading branch information
hzsrc committed Nov 18, 2024
1 parent a538140 commit 7cba196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ export function svgUrlToImg(urlIn: string, opt: Options = {}) {
1,
canvasHeight,
)
// win.document.write(i + '<img src="' + ctx.canvas.toDataURL() + '" style="width:10px" />'); //debug
// win.document.write(i + '<img src="' + ctx.canvas.toDataURL() + '" style="width:10px" alt="img"/>'); //debug
const dat = ctx.getImageData(0, 0, 1, canvasHeight).data
let color =
padx(dat[dat.length - 4]) +
Expand Down

0 comments on commit 7cba196

Please sign in to comment.