Canvas size / dimensions on save

Hello,

When I create a canvas of 1200*627 and save it (saveCanvas or manually) the dimensions change to 2400 * 1254. I believe this didn’t occur before so I figured it must be something I’ve done that triggered this but with this simple example having the same effect I ran out of ideas.

Can anybody tell me why this is happening, did something change and/or how can I adjust this so that the dimensions stay the same.

If not any of above any information about this would be greatly appreciated.

index file:

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <script src="https://cdn.jsdelivr.net/npm/p5@1.1.8/lib/p5.js"></script>
    <script src="sketch.js"></script>
    <title></title>
  </head>
  <body>
  </body>
</html>

sketch file:

function setup() {
  let c = createCanvas(1200, 627);
  background(220);
  saveCanvas(c, 'myCanvas', 'jpg');  
}

Dunno. Maybe use pixelDensity(1);:
p5js.org/reference/#/p5/pixelDensity

Hello,

I tried it on my W10 PC with the Processing P5.js mode.

It worked for:
/*! p5.js v0.10.2 October 14, 2019 /
Did not try v1.1.8 !
/
! p5.js v1.1.9 July 22, 2020 */ //I jsut downloaded it and updated my local one.

:)

With this, the download is in the desired dimensions. Although I will keep looking for the cause it is enough to start advancing on my project once again. Thank you!