added cam view of fisheye to saved filename

This commit is contained in:
Technoduck 2024-11-21 00:59:14 -05:00
parent 7b62242042
commit 7cb39c679e

5
app.py
View file

@ -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):