From 7cb39c679ef132d41bddcb438b4a1c5bfba0e4ee Mon Sep 17 00:00:00 2001 From: Technoduck Date: Thu, 21 Nov 2024 00:59:14 -0500 Subject: [PATCH] added cam view of fisheye to saved filename --- app.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index e931425..c71e5c1 100644 --- a/app.py +++ b/app.py @@ -328,8 +328,9 @@ class renderedImageZoom: self.canvas.create_image(0, 0, anchor="nw", image=self.tk_image) def save_image(self): - imageio.imwrite("./sunset_t{}_p{}_env_{}_alt{}_ang{}.png".format(self.temperature,self.pressure,self.env_list[self.curr_env],self.altitude - ,math.degrees(math.acos(self.sunDir.v[1]))), self.img) + imageio.imwrite("./sunset_t{}_p{}_env_{}_alt{}_ang{}_{}.png".format(self.temperature,self.pressure,self.env_list[self.curr_env],self.altitude + ,math.degrees(math.acos(self.sunDir.v[1])), + "cam" if not self.fisheye else "fisheye"), self.img) def zoom_in(self, event=None):