[Kde-imaging] Some questions...

Craig Drummond craig_p_drummond at yahoo.co.uk
Fri Jun 18 14:45:35 CEST 2004


Hi,

I've just compiled kipi, and have a few questions:

1. Most (all?) kipi-plugins seem to create dialogs
without specifying a parent. This causes the dialog to
produce an entry in the taskbar - and, IMHO, doesn't
look very professional. Would there be any objections
if I went round and changed these to have parents?

2. Some of the plugins still reference "directories",
whereas KDE uses the term "folder". Can I change these
as well?

3. The jpeglossless plugin allows a user to convert an
image to grayscale - and there is no way to undo! The
attatched patch just adds a warning dialog before the
operation. As the parent of this message box, I'm
using "kapp->activeWindow()" - would this be OK for
the parentless dialogs mentioned in 1 above?

4. Some plugins still have references to digikam - I
assume these will be removed soon. However, some use
the digikamrc file - is it intended that plugins each
have their own config file, or will the usage of
digikamrc be replaced with a kipirc?

5. I've noticed in Gwenview that when an image is
altered via kipi, that the display is not updated. Is
this a Gwenview error? Does kipi have a way of
informing the host-app that an image has been changed?

6. I've created a small app for the removal of
hot-pixels. This is a fairly simple wrapper around the
jpegpixi program. I'd like to convert this to be a
kipi-plugin. jpegpixi works on the raw-jpeg data, and
avoids re-compressing the image when saving. Will kipi
allow access to the raw image data? Or would my plugin
have to re-read the file? If the plugin has to re-read
the file, is there any point to having this as a
plugin? What I'd really like is to be able to modify
the raw data, inform the host-app of this (so the
image can be updated), then the user can view the
results before saving. So ideally I'd like the
host-app to pass my plugin the raw data, and a QImage
(so that I can check for the existance of hot-pixels
on the real image).

7. I'm also writing a simple plugin to acquire images
from a camera (either via KDE's camera:/ ioslave, or
by mounting the device), and re-naming (based upon
exif data) the images before saving to the target
folder - i.e. all my photos are named "YYYY-MM-DD
hh:mm:ss.jpg". Does this sound useful to anyone other
than myself?

That's all for now...

Craig.


	
	
		
___________________________________________________________ALL-NEW Yahoo! Messenger - sooooo many all-new ways to express yourself http://uk.messenger.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plugin_jpeglossless.cpp.diff
Type: text/x-diff
Size: 902 bytes
Desc: plugin_jpeglossless.cpp.diff
Url : http://mail.kde.org/pipermail/kde-imaging/attachments/20040618/392e7fe5/plugin_jpeglossless.cpp.bin


More information about the Kde-imaging mailing list