Zulko / moviepy

Video editing with Python
https://zulko.github.io/moviepy/
MIT License
12.59k stars 1.58k forks source link

would it be optionally possible to use pgmagick package ? (instead of ImageMagick binary) #625

Closed stonebig closed 7 years ago

stonebig commented 7 years ago

a pypi package is so much easier to manipulate.

stonebig commented 7 years ago

I guess it may be not complex to add the option, yet:

example given:

from pgmagick import Image, DrawableCircle, DrawableText, Geometry, Color
im = Image(Geometry(300, 300), Color("yellow"))
circle = DrawableCircle(100, 100, 20, 20)
im.draw(circle)
im.fontPointsize(65)
text = DrawableText(30, 250, "Hello pgmagick")
im.draw(text)
im.write('hoge.png')
Zulko commented 7 years ago

Is there any non-python dependencies for pgmagick (like libmagick ) ?

stonebig commented 7 years ago

If I read well, it's included inside the cgohlke wheel (pgmagick.cp35-win32.pyd for example):

pgmagick/__init__.py,sha256=p8ptv4nEvCePG2_X9SqAZ_LMtlFf_5ssoLe43-Ixr3M,7601
pgmagick/_pgmagick.cp35-win32.pyd,sha256=kLSRk0jfY5QQLDG0-cfnJwKy_rciJVTqo-g5AvHc0To,5463552
pgmagick/_version.py,sha256=g0OeNAF6f8ojnlyb43abksBvbLUrnL-AlwclSoULgd0,22
pgmagick/api.py,sha256=BRKNfuH8F8vdxWNd5UutrOSDst7NlzsBOxzD9ec7cUo,29105
pgmagick-0.6.5.data/data/Lib/site-packages/pgmagick/colors.mgk,sha256=w7QmBMm1Yww3S3vLJdOG0gm7mjmyAfq8Eu2iRIr6Gv0,513
pgmagick-0.6.5.data/data/Lib/site-packages/pgmagick/delegates.mgk,sha256=GyigCZL94yjspnKxZvz3YHPW-_sl8jrIJUWXVazXupM,6994
pgmagick-0.6.5.data/data/Lib/site-packages/pgmagick/log.mgk,sha256=ClgrVDUH_JxjfPG8BSwhIrD-ZDuO0VPBKn1y9iOu0jo,2631
pgmagick-0.6.5.data/data/Lib/site-packages/pgmagick/modules.mgk,sha256=STh18-7xWjJrrXQBVscf_Jeh8iqRvXFXoyLolTTk_CQ,456
pgmagick-0.6.5.data/data/Lib/site-packages/pgmagick/type-ghostscript.mgk,sha256=DjpUDYbF2Tl5h9uDbvbiik75FcJc5vV9me_MlbIzmVQ,10192
pgmagick-0.6.5.data/data/Lib/site-packages/pgmagick/type.mgk,sha256=iImDT0kD5huVCQfPHv69qsAPU-2I7SB0RWPPyFMN9mc,89
pgmagick-0.6.5.dist-info/DESCRIPTION.rst,sha256=CusXuDhsNstFH1ieZ_c_rRXwTXhVoHzD_RbCAsK0MvM,4433
pgmagick-0.6.5.dist-info/METADATA,sha256=c-DuU6gUKpvJiPCEKu4xfHzUCkPW2_5sy3fyrUIItrI,5085
pgmagick-0.6.5.dist-info/RECORD,,
pgmagick-0.6.5.dist-info/WHEEL,sha256=5EyYwp11c_jCV_end1zYJviefeCAGZlqF3kojmsWN7E,102
pgmagick-0.6.5.dist-info/metadata.json,sha256=66po_ME-7AdfY2s0J8J2H-GQNVPlyWGkT7w-4IyhkEI,802
pgmagick-0.6.5.dist-info/top_level.txt,sha256=LlF83xNkcgaQN0JjflUheJqKoosH7J2FkTjWuJH16PE,9
stonebig commented 7 years ago

apparently, the original plan of scikit-image/imageio was not this one, so my suggestion looks not pertinent.

Zulko commented 7 years ago

not sure what you mean

stonebig commented 7 years ago

see https://github.com/scikit-image/scikit-image/issues/1605