For "window.save_image(imgpath)" in GGUI it would be nice to indicate the desired dpi, ex : dpi=240 as in plt.savefig(imgpath, dpi=240) #8464
Labels
feature request
Suggest an idea on this project
The graphical interface of Taichi with GGUI is fantastic. But when you save an image for a simulation you loose some definition (Dots Per Inch) if you compare with what you have at the screen.
Concisely describe the proposed feature :
I propose to be able to add a parameter dpi= (ex: dpi=240) in the instruction "window.save_image(imgpath)" in GGUI. For instance as with Matplotlib plt.savefig(imgpath, dpi=240). I can see that each image from Matplotlib has the size of 1.3 ko at dpi=240, here it is 172 ko much smaller and without the possibility to increase the dpi.
So the videos built from these images at dpi=240 are like what we see at the screen.
Thank you for the creation of Taichi !
The text was updated successfully, but these errors were encountered: