Border color comes out wrong

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Ryland

Border color comes out wrong

Post by Ryland »

I'm trying to add a border to an image, and the color comes out wrong. I created an image with a black background, composited two other black&white images onto it, and then Trim it. Then I put a 5 pixel border around it, with bordercolor=>"black", and it actually comes out light gray, like this:

Image

The border is kind of hard to see in that image because it's close to the background color of the forum post, but it's there. Any idea what I might be doing wrong?
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Border color comes out wrong

Post by anthony »

Hard to say without seeing the commands you are using to do it. Check the API call syntax carefully.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply