Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
stonebig opened this issue Aug 7, 2017 · 6 comments

Comments

@stonebig
Copy link
Contributor

stonebig commented Aug 7, 2017

a pypi package is so much easier to manipulate.

@stonebig stonebig changed the title would it be optionally possible to use pgmagick package ? would it be optionally possible to use pgmagick package ? (instead of ImageMagick binary) Aug 7, 2017
@stonebig
Copy link
Contributor Author

stonebig commented Aug 7, 2017

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

  • I'm not expert in graphic things,
  • kerning and interline option may be missing.

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
Copy link
Owner

Zulko commented Aug 7, 2017

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

@stonebig
Copy link
Contributor Author

stonebig commented Aug 7, 2017

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
Copy link
Contributor Author

stonebig commented Aug 8, 2017

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

@stonebig stonebig closed this as completed Aug 8, 2017
@Zulko
Copy link
Owner

Zulko commented Aug 8, 2017

not sure what you mean

@stonebig
Copy link
Contributor Author

stonebig commented Aug 8, 2017

see scikit-image/scikit-image#1605

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants