ImagickDemos
ImagickDemos copied to clipboard
ImagickDraw::setTextUnderColor : colors are slightly different
Reported from ImagickDraw::setTextUnderColor
The color of the text under color parameter and the color of the actual created picture are slightly different.
Well, that's weird.
Setting rgb(255, 0, 128)
is also wrong. The color contains some green....
I don't think this is going to be my fault, it will be some weirdness in ImageMagick.
Can you check what the behaviour is calling the similar function from the command line version of ImageMagick as per the examples given at: https://legacy.imagemagick.org/Usage/text/#undercolor
If that has the same behaviour, that's the best way of demonstrating an issue like this to them.
oh, and the other thing that should be tried is explicitly setting a colorspace.....something could be defaulting to CMYK, and then being converted oddly.
Yes this is not your fault. As I used this function, there was a difference in color. Is there any way to solve this?
Is there any way to solve this?
I don't know and someone will need to investigate.
Can you check what the behaviour is calling the similar function from the command line version of ImageMagick as per the examples given at: https://legacy.imagemagick.org/Usage/text/#undercolor