Search found 3 matches
- 2013-08-18T02:40:22-07:00
- Forum: Users
- Topic: text color background color
- Replies: 4
- Views: 2222
Re: text color background color
I am working in Linux Ubuntu with python 2.7.5 and pythonMagick. Please help me how can I get the background color of my image.?? My image is a converted PDF to PNG. It has text and background color. Generally the background color is white but sometimes the background color is other (green, blue ...
- 2013-08-18T01:27:05-07:00
- Forum: Users
- Topic: text color background color
- Replies: 4
- Views: 2222
Re: text color background color
I am trying to get the image's backgroun color using python - pythonMagick. How can I get the RGB values of the current background.
Code: Select all
im2 = PythonMagick.Image('myimage.png')
bgColor = im2.backgroundColor().to_std_string()
print bgColor
- 2013-08-18T00:33:41-07:00
- Forum: Users
- Topic: text color background color
- Replies: 4
- Views: 2222
text color background color
I want to extract text color and background color from a PNG file. PLease help me how can I do it. Thanks Sujan