added cam view of fisheye to saved filename
This commit is contained in:
parent
7b62242042
commit
7cb39c679e
1 changed files with 3 additions and 2 deletions
5
app.py
5
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):
|
||||
|
|
Loading…
Reference in a new issue