JD last edited by gferreira
I would like to what is the method to obtain a higher quality video when using
saveImage('~/Desktop/********.mp4'). I have made a short video, but I obtained low quality. Thanks.
there is a option to provide an
imageResolutionwhere you can raise the image resolution, the default is 72.
see all options here
JD last edited by
I tried that but ImageResolution is not working with .mov format. Still looking for help. Thanks.
.movis deprecated, use
franciscotorres last edited by
I tried to exporting a mp4 and it works fine, but when I try to change the resolution (to 300) I get this error:
drawBot.misc.DrawBotError: Exporting to mp4 doesn't support odd pixel dimensions for width and height.
When exporting .gif it works fine when I set imageResolution=300.
What am I doing wrong?
ConnorDav last edited by
@franciscotorres I could be wrong, but since the default resolution is 72 when you set it to 300 its changing your width and height by a factor of 300/72(ish), to something that is not even anymore.
e.i. If your original width is 1000 and you scale it it is around 4166, but if it is 1002, it is being scaled to 4175.
thanks @ConnorDav, the width and height of frames must be even numbers. I could happen if you scale up the resolution the width and height becomes odd numbers.
Could you post an simplified example causing this traceback?