Skip to content

Commit

Permalink
still disable vips on windows if we can't find the dylib
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin McFadden committed Apr 11, 2024
1 parent b9428d9 commit ac34d98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LS_GUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ def __init__(self, parent, title):
self.verticalCore = wx.CheckBox(panel, label="Vertical Core")
self.removeVignette = wx.CheckBox(panel, label="Remove Vignetting")
self.rotateImage = wx.CheckBox(panel, label="Straighten Image")
# if (ctypes.util.find_library('libvips-42') is None and ctypes.util.find_library('libvips') is None):
# self.rotateImage.Hide()
if (os.name == 'nt' and ctypes.util.find_library('libvips-42') is None and ctypes.util.find_library('libvips') is None):
self.rotateImage.Hide()

self.cropImage = wx.CheckBox(panel, label="Crop Image")
self.cropImage.SetValue(True)
Expand Down

0 comments on commit ac34d98

Please sign in to comment.