Re: Creating a new image loader
Ruben Lopez <r.lopez-u/[email protected]>
| Newsgroups | gmane.comp.kde.gwenview |
|---|---|
| Message-ID | <[email protected]> |
Aurélien Gâteau wrote: > On Tuesday 05 June 2007 20:11:27 Ruben Lopez wrote: > >> Hi, >> >> Thanks for your reply. By following the KImageIO plugin design I finally >> have an I/O plugin for the Softimage PIC format working properly with >> most KDE tools (tested with Kview, Kuickshow, and Kcolourpaint). >> But for some reason, it is not working with gwenview :( The weird thing >> is that gwenview manages to create thumbnails, but it does not show the >> image in full screen or in the left panel. In fact, the left panel says >> "No image selected". >> > > You should have a look at the mimetypeutils.cpp file: in the > rasterImageMimeTypes(). Does the list returned by KImageIO::mimeTypes() > contains your format? If not, try to hardcode it like it's done for the xcf > and pjpeg ones. You should also check that you have a proper mimetype file > installed in $KDEDIR/share/mimelnk/image/. > I have created the $KDEDIR/share/mimelnk/image/x-pic.desktop and now even Konqueror recognize this image as a PIC Image file. But gwenview still doesn't work. I have tested the KImageIO::mimeTypes in a custom program and the image/x-pic mime type gets listed. Any other hint? Thank you very much for your help. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/