Yes, sure, you can save it. Otherwise, it could not be in a KWord file. B= ut=20 only in its own format (in a few QT sub-versions) and in SVG. (I do not k= now=20 the quality of the SVG output.) However while looking at the code, the trick is to use QPicture::play on = a=20 QPaintDevice, which could be a generator for another file format. However= it=20 seems that you would need to use many public but undocumented features. I have the felling that you are going to write: "But then we can decode i= t."=20 Well, perhaps. Any volunteer for a QPicture to Karbon filter? (As for a mime type for=20 QPicture, it could be for example "image/x-vnd.trolltech.qpicture") Have a nice day/evening/night! On Saturday 30 November 2002 19:25, Dirk Sch=F6nberger wrote: > > No, seriously, KWord/KPresenter 1.1 uses QPicture. If someone loads a= n > > old document with some of it, we need to use KoPictureClipart, which = is > > QPicture-based. KoPicture is the black box around it, KoPictureClipar= t is > > the > > > class that does the work inside the black box. > > > > All other formats (QImage-based, EPS, SVG, WMF) can be converted, as = we > > know > > them. But QPicture's format has no doc (except code) and we have at l= east > > two > > > sub formats to support (QT 2.2 and Qt 3.) In fact it is not QT 2.2 but QT 2.1. (the QPicture format has not changed= =20 between these versions.) > > Is QPicture serializable, i.e. can you load/store it to your hard disk? > It is possible to do e.g. a QPicture::saveAsWMF() > > Regards > Dirk > > > > _______________________________________________ > koffice-devel mailing list > koffice-devel@mail.kde.org > http://mail.kde.org/mailman/listinfo/koffice-devel _______________________________________________ koffice-devel mailing list koffice-devel@mail.kde.org http://mail.kde.org/mailman/listinfo/koffice-devel