This commit is contained in:
parent
67bc926ab7
commit
1fc4685f34
|
|
@ -544,7 +544,7 @@ class BrowserController:
|
|||
pyautogui.press('right') # 오른쪽 입력
|
||||
self.logger.debug("이미지 붙여넣기 완료.")
|
||||
self.logger.debug("이미지 붙여넣기 완료로 클립보드 비우기.")
|
||||
await clipboardImageManager.clear_clipboard()
|
||||
clipboardImageManager.clear_clipboard()
|
||||
else:
|
||||
self.logger.debug("클립보드가 비어있습니다.")
|
||||
except Exception as e:
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ class ClipboardImageManager:
|
|||
self.browser_controller = browser_controller # BrowserController 인스턴스를 전달받음
|
||||
self.debug = debug # 디버그 플래그를 클래스 변수로 사용
|
||||
|
||||
self.debug = True
|
||||
# self.debug = True
|
||||
|
||||
def get_clipboard_data(self):
|
||||
"""클립보드의 텍스트 또는 이미지 데이터를 가져옵니다."""
|
||||
|
|
@ -313,7 +313,7 @@ class ClipboardImageManager:
|
|||
image.save(original_image_path) # 크롭 전 이미지 저장
|
||||
self.logger.debug(f"크롭 전 이미지 저장됨: {original_image_path}")
|
||||
|
||||
# 3%, 5%, 7% 크롭 이미지 저장
|
||||
# 1%, 2%, 3% 크롭 이미지 저장
|
||||
crop_alternatives = [0.01, 0.02, 0.03]
|
||||
for crop in crop_alternatives:
|
||||
left_alt = width * crop
|
||||
|
|
|
|||
Binary file not shown.
2
setup.py
2
setup.py
|
|
@ -41,7 +41,7 @@ build_exe_options = {
|
|||
'include_files': include_files,
|
||||
'excludes': [
|
||||
'tkinter', 'PyQt4', 'PyQt6', 'AppKit', 'Foundation', 'IPython', 'OpenSSL', 'asyncpg',
|
||||
'curses', 'pydantic', 'ssl', 'test', 'unittest', 'matplotlib', 'tensorflow', 'torch', 'scipy'
|
||||
'curses', 'pydantic', 'test', 'unittest', 'matplotlib', 'tensorflow', 'torch', 'scipy'
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue