[Qt-interest] Convert .png file to XPM data

David Boosalis david.boosalis at gmail.com
Sat Jul 24 23:04:09 CEST 2010


On Linux you could use the command line tool "convert".  or even just gimp.
If you need to do this dynamically from your program you can use QProcess
with convert.  Not sure if convert is available on Windows

On Fri, Jul 23, 2010 at 11:25 PM, Navid Parvini <parvini_navid at yahoo.com>wrote:

> Dear All,
>
> I have a .png file that I want to convert it to XPM data.
>
> Would you please help me? can I load it by QImage and then get its
> XPM data?
>
> Thank you in advance.
>
> Regards,
> Navid
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100724/c1136147/attachment.html 


More information about the Qt-interest-old mailing list