[Qt-interest] Converting QPixmap to QBytearray
1+1=2
dbzhang800 at gmail.com
Mon Aug 16 06:30:01 CEST 2010
If you read the manual carefully, you will find:
bool QPixmap::save ( QIODevice * device, const char * format = 0, int
quality = -1 ) const
or
QDataStream & operator<< ( QDataStream & stream, const QPixmap & pixmap )
Debao
On Mon, Aug 16, 2010 at 12:13 PM, Santhosh Y <santhosh at softjin.com> wrote:
> Hi,
>
> Can anyone please help me out in converting a QPixmap data to QByteArray.
> I have gone through QPixmap as well as QImage classes; However I have
> not found an API for doing so;
> Please suggest me how to do this?
>
> Thanks in advance
>
> --
> ----------------------------------------------------
> Y Santhosh Kumar -
> Senior Software Engineer,
> SoftJin Technologies Pvt Ltd,
> www.softjin.com
> ----------------------------------------------------
>
>
>
> Business Disclaimer
> ____________________________________________________________
> This e-mail message and any files transmitted with it are intended solely
> for the use of the individual or entity to which they are addressed. It
> may contain confidential, proprietary or legally privileged information.
> If you are not the intended recipient please be advised that you have
> received this message in error and any use is strictly prohibited. Please
> immediately delete it and all copies of it from your system, destroy any
> hard copies of it and notify the sender by return mail. You must not,
> directly or indirectly, use, disclose, distribute, print, or copy any part of
> this message if you are not the intended recipient.
> ___________________________________________________________
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
More information about the Qt-interest-old
mailing list