forked from pool/macrofusion
- Add frombytes.patch to use Image.frombytes instead of Image.fromstring see https://sourceforge.net/p/macrofusion/discussion/Bugs/thread/61e2d731/#1092 OBS-URL: https://build.opensuse.org/request/show/732317 OBS-URL: https://build.opensuse.org/package/show/graphics/macrofusion?expand=0&rev=9
12 lines
428 B
Diff
12 lines
428 B
Diff
--- macrofusion.py.orig 2014-04-22 10:38:35.000000000 +0200
|
|
+++ macrofusion.py 2019-08-15 07:49:18.092358112 +0200
|
|
@@ -618,7 +618,7 @@
|
|
|
|
def pixbuf2Image(self, pb):
|
|
width,height = pb.get_width(),pb.get_height()
|
|
- return Image.fromstring("RGB",(width,height),pb.get_pixels() )
|
|
+ return Image.frombytes("RGB",(width,height),pb.get_pixels() )
|
|
|
|
def put_files_to_the_list(self, fichiers):
|
|
|