Skip to content

Commit

Permalink
1920 max
Browse files Browse the repository at this point in the history
  • Loading branch information
zeruniverse committed Nov 16, 2024
1 parent 845c363 commit fe0496f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ <h3>
const message = $("#msg").val();

// Load the selected image into the canvas
await loadIMGtoCanvas('file', 'canvas', 600);
await loadIMGtoCanvas('file', 'canvas', 1920);

// Write the message into the canvas image
const isOK = await writeMsgToCanvas('canvas', message, password);
Expand Down Expand Up @@ -162,7 +162,7 @@ <h3>
const password = $("#pass").val() || '';

// Load the selected image into the canvas
await loadIMGtoCanvas('file', 'canvas', 600);
await loadIMGtoCanvas('file', 'canvas', 1920);

// Read the message from the canvas image
const message = await readMsgFromCanvas('canvas', password);
Expand Down

0 comments on commit fe0496f

Please sign in to comment.