>> Hi !
>
> I don't know if it's the best solution, but you could try
> QPainter.drawImage with Qt.ImageConversionFlag.MonoOnly.
>
Unfortunately, this solution makes the image Monochromatic, and I need the 
image in 32 or 16 bits grayscale. This is because I need to obtain and Image 
(with have text handwritten) and create a image with the lowest size and a 
good resolution to print in paper.

Any other option?
>
> 2009/6/9 José Arcángel Salazar Delgado <[email protected]>
>
> > Hi,
> >
> >
> > I'm trying to transform a 32 bits QImage into a Grayscale, but I can't
> > find any solution. Someone have any a example?
> >
> >
> > thansk for the help.
> >
> > _______________________________________________
> > Qt-jambi-interest mailing list
> > [email protected]
> > http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to