Quickbend 1.0.1__tar.gz → 1.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {quickbend-1.0.1 → quickbend-1.0.2}/PKG-INFO +1 -1
- {quickbend-1.0.1 → quickbend-1.0.2}/pyproject.toml +1 -1
- {quickbend-1.0.1 → quickbend-1.0.2}/src/Quickbend/app.py +3 -2
- {quickbend-1.0.1 → quickbend-1.0.2}/src/Quickbend/files.py +1 -1
- {quickbend-1.0.1 → quickbend-1.0.2}/src/Quickbend.egg-info/PKG-INFO +1 -1
- {quickbend-1.0.1 → quickbend-1.0.2}/src/Quickbend.egg-info/SOURCES.txt +1 -0
- {quickbend-1.0.1 → quickbend-1.0.2}/README.md +0 -0
- {quickbend-1.0.1 → quickbend-1.0.2}/setup.cfg +0 -0
- {quickbend-1.0.1 → quickbend-1.0.2}/src/Quickbend/__init__.py +0 -0
- {quickbend-1.0.1 → quickbend-1.0.2}/src/Quickbend/databend.py +0 -0
- {quickbend-1.0.1 → quickbend-1.0.2}/src/Quickbend/placeholder.jpg +0 -0
- {quickbend-1.0.1 → quickbend-1.0.2}/src/Quickbend.egg-info/dependency_links.txt +0 -0
- {quickbend-1.0.1 → quickbend-1.0.2}/src/Quickbend.egg-info/entry_points.txt +0 -0
- {quickbend-1.0.1 → quickbend-1.0.2}/src/Quickbend.egg-info/requires.txt +0 -0
- {quickbend-1.0.1 → quickbend-1.0.2}/src/Quickbend.egg-info/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import os
|
|
2
|
-
import shutil
|
|
3
2
|
from importlib.resources import files
|
|
4
3
|
|
|
4
|
+
from PIL import Image
|
|
5
5
|
from PySide6.QtCore import Qt
|
|
6
6
|
from PySide6.QtGui import QPixmap
|
|
7
7
|
from PySide6.QtWidgets import (
|
|
@@ -127,7 +127,8 @@ class MainWindow(QMainWindow):
|
|
|
127
127
|
def export_handler(self):
|
|
128
128
|
(save_file_path) = save_file()
|
|
129
129
|
if save_file_path:
|
|
130
|
-
|
|
130
|
+
png_image = Image.open("/tmp/mash.bmp")
|
|
131
|
+
png_image.save(save_file_path)
|
|
131
132
|
|
|
132
133
|
|
|
133
134
|
def cleanup():
|
|
@@ -27,7 +27,7 @@ def browse_file():
|
|
|
27
27
|
|
|
28
28
|
def save_file():
|
|
29
29
|
save_path, _ = QFileDialog.getSaveFileName(
|
|
30
|
-
parent=None, caption="Save file:", filter="
|
|
30
|
+
parent=None, caption="Save file:", filter="PNG Images (*.png)"
|
|
31
31
|
)
|
|
32
32
|
if save_path:
|
|
33
33
|
return save_path
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|