You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This stackoverflow's question answers itself in the question with the solution to getting rid of "libpng warning: iCCP: known incorrect sRGB profile".
47
-
# https://stackoverflow.com/q/11130156/13279557
48
-
classsuppress_stdout_stderr(object):
49
-
'''
50
-
A context manager for doing a "deep suppression" of stdout and stderr in
51
-
Python, i.e. will suppress all print, even if the print originates in a
52
-
compiled C/Fortran sub-function.
53
-
This will not suppress raised exceptions, since exceptions are printed
54
-
to stderr just before a script exits, and after the context manager has
55
-
exited (at least, I think that is why it lets exceptions through).
Copy file name to clipboardExpand all lines: requirements.txt
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4,4 +4,6 @@ pyinstaller
4
4
jsoncomment
5
5
Pillow
6
6
opencv-python
7
+
numpy
8
+
pyvips# You also need to unzip the latest vips-dev-w64-all.zip from https://github.com/libvips/libvips/releases and use the path in palette.py's load_vips_env().
0 commit comments