[PyQt] Does isGrayscale() can tell whether a color image can safely be converted to a grayscale image?

iMath 2281570025 at qq.com
Sat Jan 11 08:26:50 GMT 2014


In the Image Formats part of QImage doc says
"
The allGray() and isGrayscale() functions tell whether a color image can safely be converted to a grayscale image.
"
but in the doc of there 2 functions indicate they're used to decide whether an image is grayscale image ,not mentioned they could be used to tell whether a color image can safely be converted to a grayscale image.


what about your opinion ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140111/691be0e6/attachment.html>


More information about the PyQt mailing list