Arc text leaves streaks

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
Marvin944
Posts: 3
Joined: 2013-03-12T09:01:18-07:00
Authentication code: 6789

Arc text leaves streaks

Post by Marvin944 »

Hi, when I arc distort text, on certain characters/fonts (highest/lowest) it draws streaks from the center in the font's colour, as if those top/bottom pixels get dragged along. How can I avoid this?
Marvin944
Posts: 3
Joined: 2013-03-12T09:01:18-07:00
Authentication code: 6789

Re: Arc text leaves streaks

Post by Marvin944 »

Fixed this myself by adding -bordercolor none -border 1x1 to the script.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Arc text leaves streaks

Post by fmw42 »

try setting -virtual-pixel transparent
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Arc text leaves streaks

Post by anthony »

Yes the default virtual pixel setting is "edge' when means replicate the images edges out to infinity for any pixel lookup that actually 'missed' the real image. that is lookups of pixels surrounding the real image.

See Virtual Pixels..
http://www.imagemagick.org/Usage/misc/#virtual-pixel

Edge is a good default, but when a object just touches the image edge, it produces the streaks you mention. This is actually used to good effect in some image processing. for example...
Arc Distortion Examples
http://www.imagemagick.org/Usage/distorts/#arc_examples
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply