From kde-core-devel Fri Jan 10 12:36:12 2003 From: Klaas Freitag Date: Fri, 10 Jan 2003 12:36:12 +0000 To: kde-core-devel Subject: Re: user interaction in kimgio plugins X-MARC-Message: https://marc.info/?l=kde-core-devel&m=104220231306481 Hi, > > So (for KDE4?) I propose to create a framework to handle this situation. > Passing (within QImageIO) a QWidget* to use as a parent for dialogs would > propable suffice in many situations. Adding a "bool quiet" tackles case c) > from above. > Is this a feasible way to go? I like this idea. And why not (as an option) go one step further and provide help on the different image formats on places where the format is selectable? I tried to do this in Kooka with the image save assistant. > > PS: The same problem comes up on the 'read' side of kimgio. For instance > the PhotoCD (.pcd) format contains different image sizes in one file. There is another problem on the read side: Tiff images for example can contain more than one page in one page. Currently only the first image can be read. Thats pretty bad, because everything acts as if there is only one page in the file. Since professional scanner produce multi-page tiffs by hardware and people contacted me and ask to be able to view it with Kooka, I implemented a KookaImage object, that acts like a QImage, but can contain and return the second->end page also. I do not know ATM if this can and should be ported to kimageio in the future? Regards, Klaas -- Was auch immer geschieht : Klaas Freitag Nie dürft ihr so tief sinken, mail freitag@suse.de von dem Kakao, durch den man euch zieht, SuSE Labs, Nuernberg auch noch zu trinken! - E. Kaestner