Группа :: Графика
Пакет: macrofusion
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: macrofusion-0.7.4-use-frombytes.patch
Скачать
Скачать
diff -u -r a/macrofusion.py b/macrofusion.py
--- a/macrofusion.py 2015-10-25 12:58:58.621978780 +0100
+++ b/macrofusion.py 2015-10-25 12:59:55.896423282 +0100
@@ -623,7 +623,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):