[Qt-interest] Enhanced monochrome conversion

Oliver.Knoll at comit.ch Oliver.Knoll at comit.ch
Thu Nov 26 14:01:28 CET 2009


M. Bashir Al-Noimi wrote on Thursday, November 26, 2009 1:06 PM:

> ...	 
> http://www.imagemagick.org/Magick++/Image.html#Image%20Manipulation%20Methods
> ... If you read your
> suggestion you can find that conversion process is very hard &
> tricky.   

Define "hard" ;) I consider linking with an external library, study its API (which in this case is very straight-forward!) and convert image data (Image <-> QImage) "standard procedure" in imaging. If you consider studying other people's code (such as the one from GIMP, as suggested by André) hard as well, well then, your mileage might vary.

Off course you can always implement your own function (in this case I would also suggest you do some image manipulation research, or study the source code of GIMP, for example - or the one from ImageMagick).

Cheers, Oliver
-- 
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22



More information about the Qt-interest-old mailing list