SaveFrame creating double sized images

Hello all,
I am using Processing to make videos. Every frame is saved with the draw() function. For some reason, the frames being saved are twice the size of the screen. I set screen size with
size(1680,1050);
and then check it with
println("screen width β€œ+width+” and height "+height);
however the PNGs that are saved are all 3360x2200 pixels.

Any idea what I need to do? Any one else have this issue? I am using version 4.4.4 if that matters.
For one of the videos, I just made everything half size because that was easy. This one has a bit more graphic β€œdesign” in it so I would like to avoid having to re-calculate all the sizes if I can.
Best,
Tim

Hello @timesuptim ,

Try setting this and report back:

pixelDensity(1);

One of many topics that this has solved:

:)

2 Likes

Bingo, that was it.
No idea how that would get changed. But now the program makes images in the correct format. And it is lightning fast compared to how it was running before.
Thank you.

1 Like