Pyinstaller reducing image quality

12 views
Skip to first unread message

Adrian Romanillos Botella

unread,
Jul 15, 2020, 6:53:41 AM7/15/20
to PyInstaller
Hello, I am retrieving 16-bit depth images from a camera, and I am showing them in a cv2 window and saving them in the disk, without any data type conversion. The images have good quality when i run them in my text editor or in the command window

I have used Pyinstaller to create an exe, without any change. After running the executable, even the images are showed and saved, they contain artifacts and show very poor quality ( see below). Is pyinstaller doing some data conversion that provokes this kind or artifacts? (left before pyinstaller)

nopyns.pngpyins.png


info about my environment ( attached my spec file): 

-Windows 10

-Python anaconda 3.6

-Pyinstaller version: Pyinstaller-4.0.dev0 ( others gave an error)

-saving the files via tifffile library

GUI_onlycamera.spec

bwoodsend

unread,
Jul 15, 2020, 8:00:13 AM7/15/20
to PyInstaller
Hi, Could you provide a minimal Python script that causes the error so we can reproduce it?
Reply all
Reply to author
Forward
0 new messages