Re: [GM-help] graphicsmagick signal handler problem
Swiss army knife of image processing
Brought to you by:
bfriesen
From: yzh杨振宏 <zhyang@Ctrip.com> - 2018-03-09 02:31:58
|
Handling SA_ONSTACK smarter is sufficient to solve our problem. I will help you test when the feature is committed to Mercurial Repository. Besides, I wonder why GraphicsMagick not maintain a repo on github? It's a bit difficult to contribute to the project and ask for help now. -----邮件原件----- 发件人: Bob Friesenhahn [mailto:bfr...@si...] 发送时间: 2018年3月9日 5:33 收件人: Requests for help with GraphicsMagick <gra...@li...> 主题: Re: [GM-help] graphicsmagick signal handler problem On Tue, 6 Mar 2018, yzh杨振宏 wrote: > Hi, > I write to confirm whether GraphicsMagick can officially disable > establishing signal handlers for library users in InitializeMagick. > ImageMagick already disable it in MagickWandGenesis. See > https://github.com/ImageMagick/ImageMagick/blob/93b707b4a5882ab3d7f890 > 4984684846fe178a97/MagickWand/magick-wand.c I can make the existing handling a bit smarter about SA_ONSTACK but making the change the way you suggest would be an API and ABI change so it might not be easily done. Perhaps a global variable could be used to avoid breaking the ABI but then it would add an unpleasant global variable to the ABI. Another way to do it would be to add some functions which could be called before InitializeMagick() in order to influence options used. Bob -- Bob Friesenhahn bfr...@si..., http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ |