[Kde-imaging] Including blob lib into kipi-plugin
Gilles Caulier
caulier.gilles at gmail.com
Tue Nov 4 13:04:15 CET 2008
Andi,
in your plugin dialog, please add an Help button like this :
http://lxr.kde.org/source/extragear/graphics/kipi-plugins/sendimages/sendimagesdialog.cpp#113
... to add about data section and connect it to the button
http://lxr.kde.org/source/extragear/graphics/kipi-plugins/sendimages/sendimagesdialog.cpp#162
... to open KDE helper with a future plugin handbook (must be written
later). use handbook file name with the same name that your plugin.
http://lxr.kde.org/source/extragear/graphics/kipi-plugins/sendimages/sendimagesdialog.cpp#158
... and don't forget to delete about data to prevent memory leak
Gilles
2008/11/4 Gilles Caulier <caulier.gilles at gmail.com>
>
>
> ---------- Forwarded message ----------
> From: Gilles Caulier <caulier.gilles at gmail.com>
> Date: 2008/11/4
> Subject: Re: Including blob lib into kipi-plugin
> To: Andi Clemens <andi.clemens at gmx.net>
>
>
> Andi,
>
> Your plugin compile fine now. i have tested with a serie of images and it's
> work perfectly...
>
> There is a screenshot available here :
>
> http://www.flickr.com/photos/digikam/3001770179/sizes/o/
>
> I recommend you to post a new blog entry in digikam.org to announce
> availability of your tool and to have feedback from users. You can use this
> embeded link to flickr with your post :
>
> <a href="http://www.flickr.com/photos/digikam/3001770179/" title="new
> batch red eyes removal tool by cauliergilles, on Flickr"><img src="
> http://farm4.static.flickr.com/3192/3001770179_9af82b2497.jpg" width="500"
> height="377" alt="new batch red eyes removal tool" /></a>
>
>
> Gilles
>
>
> 2008/11/4 Andi Clemens <andi.clemens at gmx.net>
>
>>
>> Hi Gilles,
>>
>> I'm still not that familiar with C++ and its libs, in Python it would be
>> easy
>> to include new libs into a program: just copy them into the folder and
>> that's
>> it.
>> But I guess this is not how it works in C++ / CMake.
>> I created a folder libs/blob inside the plugin and copied all *.h and
>> *.cpp
>> files into it.
>> Now I need to create a CMakeLists.txt that defines this folder as a
>> library,
>> right?
>> Do you think I can just copy the sqlite3 files as an example or will this
>> not
>> work since sqlite3 is already compiled?
>> Do I have to actually compile the blob lib and only use the header files
>> and
>> the libblob.a file in there?
>> Dies this mean it will not work on windows? To make it work there I think
>> I
>> need to have the blob*.cpp files in there, too?
>>
>> You see CMake and C++ in general still is a big confusion for me
>> sometimes,
>> like the 'delete' statement crashing my application etc... :-)
>> But I will learn...!
>>
>> Andi
>>
>> On Tuesday 04 November 2008 10:58:43 Gilles Caulier wrote:
>> > blob cv lib is very small. A possible way is to include code in your
>> plugin
>> > as well...
>> >
>> > Gilles
>> >
>> > 2008/11/4 Andi Clemens <andi.clemens at gmx.net>
>> >
>> > > There is another needed lib for openCV that I manually copied into my
>> > > openCV
>> > > system folder: OpenCV Blob Detection library
>> > > (http://opencvlibrary.sourceforge.net/cvBlobsLib).
>> > >
>> > > I don't know if distributions prepare packages for it, Archlinux does
>> not
>> > > s far as I know.
>> > >
>> > > This is a problem, how to solve this?
>> > >
>> > > Andi
>> > >
>> > > On Tuesday 04 November 2008 09:40:09 Gilles Caulier wrote:
>> > > > SVN commit 879865 by cgilles:
>> > > >
>> > > > update
>> > > >
>> > > >
>> > > > M +4 -1 README
>> > > >
>> > > >
>> > > > --- trunk/extragear/graphics/kipi-plugins/README #879864:879865
>> > > > @@ -32,8 +32,9 @@
>> > > > RawConverter : A tool to convert Raw Image to JPEG/PNG/TIFF.
>> > > > DngConverter : A tool to convert Raw Image to Digital
>> NeGative
>> > >
>> > > (DNG
>> > >
>> > > > -
>> > > > http://en.wikipedia.org/wiki/Digital_Negative_(file_format)<http://en.wikipedia.org/wiki/Digital_Negative_%28file_format%29>
>> <http://en.w
>> > > >ikipedia.org/wiki/Digital_Negative_%28file_format%29>).
>> > >
>> > > WallPaper
>> > >
>> > > > : A tool to set image to KDE Desktop.
>> > > >
>> > > > +RemoveRedEyes : A tool to remove red eyes on image
>> automatically.
>> > > >
>> > > > -Plugins not yet ported to Qt4/KDE4:
>> > > > +Plugins not yet ported to Qt4/KDE4 (or under progress):
>> > > >
>> > > > IpodExport : A tool to export pictures to an Ipod device.
>> > > > MpegEncoder : A tool to create an MPEG slideshow with a set
>> of
>> > > > images. @@ -63,6 +64,7 @@
>> > > > libexpat >= 2.0.1
>> > > > http://expat.sourceforge.net libqtopengl >= 4.3.x
>> > > > http://www.trolltech.com Mesa3D >= 7.0.4
>> > > > http://mesa3d.sourceforge.net +libopencv >= 1.0
>> > > > http://opencv.willowgarage.com
>> > > >
>> > > > Plugin Specific Dependencies (for compiling and for running) :
>> > > >
>> > > > @@ -73,6 +75,7 @@
>> > > > htmlexport : libxslt and libxml2
>> > > > jpeglossless : imagemagick (runtime dependency)
>> > > > wallpaper : kdebase (runtime dependency)
>> > > > +RemoveRedEyes : libopencv.
>> > > >
>> > > > -- CONTACT
>> > > > ------------------------------------------------------------
>> > >
>> > > _______________________________________________
>> > > Kde-imaging mailing list
>> > > Kde-imaging at kde.org
>> > > https://mail.kde.org/mailman/listinfo/kde-imaging
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-imaging/attachments/20081104/5e5dbfd3/attachment.htm
More information about the Kde-imaging
mailing list