Pillow requires tobytes() now
This commit is contained in:
parent
38cfae0b4e
commit
55d50f13f2
|
@ -70,7 +70,7 @@ class Worker(QtCore.QObject):
|
||||||
|
|
||||||
# write to out_pipe
|
# write to out_pipe
|
||||||
try:
|
try:
|
||||||
out_pipe.stdin.write(im.tostring())
|
out_pipe.stdin.write(im.tobytes())
|
||||||
finally:
|
finally:
|
||||||
True
|
True
|
||||||
|
|
||||||
|
@ -89,4 +89,4 @@ class Worker(QtCore.QObject):
|
||||||
out_pipe.wait()
|
out_pipe.wait()
|
||||||
print("Video file created")
|
print("Video file created")
|
||||||
self.progressBarUpdate.emit(100)
|
self.progressBarUpdate.emit(100)
|
||||||
self.videoCreated.emit()
|
self.videoCreated.emit()
|
||||||
|
|
Reference in New Issue