Well, then you have a choice: 1) look at the source code of these methods; 2) implement the coversion safety check yourself, the one discussed in this this thread is quite trivial. :-) On Jan 11, 2014 1:48 PM, "iMath" <2281570...@qq.com> wrote:
> but I think the fact is that "they could be used to tell whether a color > image can safely be converted to a grayscale image." > > > ------------------ 原始邮件 ------------------ > *发件人:* "Constantin Makshin";<cmaks...@gmail.com>; > *发送时间:* 2014年1月11日(星期六) 下午5:27 > *收件人:* "Qt Interest"<interest@qt-project.org>; > *主题:* Re: [Interest] Does isGrayscale() can tell whether a color imagecan > safely be converted to a grayscale image? > > My opinion is that there's no need for those methods descriptions to > duplicate information already provided in the class documentation. > On Jan 11, 2014 12:27 PM, "iMath" <2281570...@qq.com> wrote: > >> 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 ? >> >> _______________________________________________ >> Interest mailing list >> Interest@qt-project.org >> http://lists.qt-project.org/mailman/listinfo/interest >> >>
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest