[Qt-interest] Converting QPixmap to QBytearray

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Mon Aug 16 06:31:32 CEST 2010


http://doc.qt.nokia.com/4.6/qpixmap.html#save-2

This shows an example as well! :)

-mandeep

On Mon, Aug 16, 2010 at 9:43 AM, 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