Search found 3 matches

by TheMohawkNinja
2019-07-10T19:14:23-07:00
Forum: Magick++
Topic: Magick++ equivlent of terminal command.
Replies: 1
Views: 70769

Magick++ equivlent of terminal command.

Hello, I have successfully written a C++ program for Linux that imitates the fade transitions for wallpapers in Windows 10. However, it uses a terminal command to do the compositing as I can't figure out how to do it in C++. I would like to do it in C++, as I believe it would be much faster due to ...
by TheMohawkNinja
2019-07-10T19:06:59-07:00
Forum: Magick++
Topic: [c++] How to get Image.pixelColor() RGB channels?
Replies: 1
Views: 71836

Re: [c++] How to get Image.pixelColor() RGB channels?

Figured it out. Had to make a "colorRGB" object, Set it's values through GetPixelColor() and then pull the channels by the .red(), .blue(), and .green() methods.
by TheMohawkNinja
2019-07-05T18:00:23-07:00
Forum: Magick++
Topic: [c++] How to get Image.pixelColor() RGB channels?
Replies: 1
Views: 71836

[c++] How to get Image.pixelColor() RGB channels?

Hello, I am trying to write a program that will take a 30*30 sample of an image, but only use pixels that are deemed to be sufficiently saturated. I'm not sure how to check whether the red channel OR green channel OR blue channel are greater than 150. Current program (the ".red()", ".green()", and ...