Search found 2 matches

by vasan.shrini
2019-09-20T07:08:21-07:00
Forum: Magick++
Topic: retrieving R G B values from an image
Replies: 3
Views: 39281

Re: retrieving R G B values from an image

Thanks for your response and appologies for reposting. I posted here because in the other forum I found all other posts to be related to command line tool. I found this place more relavant to Magick++. The problem happens for any image. We can reproduce the problem by simply reading an image as part...
by vasan.shrini
2019-09-20T06:20:14-07:00
Forum: Magick++
Topic: retrieving R G B values from an image
Replies: 3
Views: 39281

retrieving R G B values from an image

I am using ImageMagick++ 6.9.10. I am trying to read an image and get the R, G, B values. In whichever way I try, I always get the same values for the green and blue channels. Below is a sample code that illustrates the problem: Magick::Image img_one('test.jpg'); Magick::ColorRGB img_one_px(img_one....