Search found 73 matches

by Danack
2015-01-03T06:52:51-07:00
Forum: Bugs
Topic: convert annotate doesn't go to edge
Replies: 11
Views: 7035

Re: convert annotate doesn't go to edge

One more pair of examples then to show why I think it's a bug. The difference between the two commands below is one draws the image at 25x40 and then crops to 20x40, and the other draws the image at 20x40. I would expect the end images to be identical, but they are not. convert \ -size 25x40 xc:whit...
by Danack
2015-01-02T20:31:03-07:00
Forum: Bugs
Topic: convert annotate doesn't go to edge
Replies: 11
Views: 7035

Re: convert annotate doesn't go to edge

Sorry, perhaps I have poorly described the issue. The fill in the letters should be drawn in the last column of the image regardless of the stroke. The fill is drawn correctly when the stroke is set to black, red, white or presumably any coloured value. It's just not draw at all when the stroke it s...
by Danack
2015-01-02T15:16:16-07:00
Forum: Bugs
Topic: convert annotate doesn't go to edge
Replies: 11
Views: 7035

convert annotate doesn't go to edge

It appears that the text drawn by annotate doesn't reach the right side of the image when the text is rotated. Instead there is a blank column on that edge. No stroken and there is a blank column: convert \ -size 100x100 xc:white \ -pointsize 17 \ -weight 400 \ -fill black \ -stroke none \ -annotate...
by Danack
2014-12-15T04:24:40-07:00
Forum: Developers
Topic: OpenMP stable yet?
Replies: 4
Views: 3933

Re: OpenMP stable yet?

Hi fmw, To be precise the segfault appeared I was testing with PHP cli and the segfault was being generated during the PHP shutdown phase. Yes, it is almost certainly a problem caused by libgomp interacting either with just Imagick, or with some aspect of the PHP internal engine, but I don't have th...
by Danack
2014-12-15T04:10:00-07:00
Forum: Developers
Topic: removing code injection from images
Replies: 12
Views: 13025

Re: removing code injection from images

Hi Fmw42 + Bonzo, You are taking a fundamentally wrong approach to security. You have identified a weakness and are trying to patch it by 'blacklisting' behaviour that shouldn't be allowed; that will always eventually fail as it requires you to blacklist every possible way the weakness can be attack...
by Danack
2014-12-14T15:41:01-07:00
Forum: Bugs
Topic: setImageBias has no effect
Replies: 5
Views: 7532

Re: setImageBias has no effect

btw It looks like the following functions are also hard-coded to be zero for the bias value; it's possible some of them should be observing the image bias value:

BlurImageChannel, EdgeImage, EmbossImage, GaussianBlurImageChannel, SharpenImageChannel, and CannyEdgeImage
by Danack
2014-12-14T14:58:05-07:00
Forum: Bugs
Topic: setImageBias has no effect
Replies: 5
Views: 7532

Re: setImageBias has no effect

Hi, I believe I have found the cause of this issue, and the fix appears relatively simple. In file magick/effect.c the following changes (or a close approximation of them) need to be done near line 889: +double + bias; + +bias=image->bias; Line 914-ish: -convolve_image=MorphologyApply(image,channel,...
by Danack
2014-12-13T06:12:34-07:00
Forum: Developers
Topic: OpenMP stable yet?
Replies: 4
Views: 3933

Re: OpenMP stable yet?

For reference then, using libgomp.x86_64 version 4.4.7-11.el6 on Centos when using ImageMagick 6.9.9.0 through Imagick has issues; namely it segfaults on exit in the libgomp library. They may be caused by using OpenMP inside an application that is also managing its own threads. So yeah, I'll just ke...
by Danack
2014-12-13T06:11:31-07:00
Forum: Bugs
Topic: DrawPathCurveToQuadraticBezierSmooth bug
Replies: 5
Views: 3998

Re: DrawPathCurveToQuadraticBezierSmooth bug

So, will this be merged into the SVN repo?

btw the diff above appears to be the wrong way round.
by Danack
2014-12-09T13:31:18-07:00
Forum: Developers
Topic: OpenMP stable yet?
Replies: 4
Views: 3933

OpenMP stable yet?

Hi, I've just spent a few hours trying to figure out why ImageMagick was segfaulting in libgomp. Referencing this post from 2007 it seems that OpenMP crashing is a known issue. Is there a version that is known to be stable on Centos 6.4, or a set of flags that need to be set to make it stable with O...
by Danack
2014-12-09T06:51:35-07:00
Forum: Bugs
Topic: DrawPathCurveToQuadraticBezierSmooth bug
Replies: 5
Views: 3998

Re: DrawPathCurveToQuadraticBezierSmooth bug

Yep - that seems to fix it.
by Danack
2014-12-07T09:14:33-07:00
Forum: Users
Topic: DrawPathCurveToQuadraticBezierSmooth example
Replies: 7
Views: 5617

Re: DrawPathCurveToQuadraticBezierSmooth example

In that case, I have opened an issue in the bug forum - viewtopic.php?f=3&t=26655
by Danack
2014-12-07T09:13:40-07:00
Forum: Bugs
Topic: DrawPathCurveToQuadraticBezierSmooth bug
Replies: 5
Views: 3998

DrawPathCurveToQuadraticBezierSmooth bug

I believe these each of the pairs of commands below should produce the same image as their pair i.e. curveT and curveQ should be the same image, and curve2T should be the same as curveQT. convert -size 800x500 xc: -fill "#B42AAF" -stroke Black -draw "path 'M50,200 T200,250 z'" curveT.png convert -si...
by Danack
2014-12-07T07:18:28-07:00
Forum: Users
Topic: DrawPathCurveToQuadraticBezierSmooth example
Replies: 7
Views: 5617

Re: DrawPathCurveToQuadraticBezierSmooth example

I'm still a little confused by some behaviour - consider the two commands: convert -size 800x500 xc: -fill "#B42AAF" -stroke Black -draw "path 'M50,200 T200,250 z'" curveT.png convert -size 800x500 xc: -fill "#B42AAF" -stroke Black -draw "path 'M50,200 Q50,200,200,250 z'" curveQ.png For the first on...
by Danack
2014-12-06T16:44:56-07:00
Forum: Users
Topic: DrawPathCurveToQuadraticBezierSmooth example
Replies: 7
Views: 5617

Re: DrawPathCurveToQuadraticBezierSmooth example

"I don't understand what you are asking." Every description of the function describes it as drawing a 'smooth bezier curve'. It only seems to draw a straight line. The exact question I was asking is 'how do you use it to draw a curve' ? I think possibly I've possibly found what I was misunderstandin...