[Bug 233409] New: Image watermark in batch queue manager

classic Classic list List threaded Threaded
32 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[Bug 233409] Image watermark in batch queue manager

Bugzilla from mbc@baekhoej.dk
https://bugs.kde.org/show_bug.cgi?id=233409





--- Comment #20 from Mikkel Christensen <mbc baekhoej dk>  2010-06-01 15:04:20 ---
No problem. I know there are many tasks for you to do.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 233409] Image watermark in batch queue manager

Gilles Caulier-4
In reply to this post by Bugzilla from mbc@baekhoej.dk
https://bugs.kde.org/show_bug.cgi?id=233409


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--- Comment #21 from Gilles Caulier <caulier gilles gmail com>  2010-06-03 10:36:51 ---
SVN commit 1134037 by cgilles:

apply patch #42716 from Mikkel Baekhoej Christensen to apply image watermark in
BQM
BUGS: 233409


 M  +317 -66   watermark.cpp  
 M  +1 -0      watermark.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1134037

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 233409] Image watermark in batch queue manager

Gilles Caulier-4
In reply to this post by Bugzilla from mbc@baekhoej.dk
https://bugs.kde.org/show_bug.cgi?id=233409


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|FIXED                       |




--- Comment #22 from Gilles Caulier <caulier gilles gmail com>  2010-06-03 10:53:45 ---
Mikkel,

I reviewed you patch and apply some minor polishing in code. I will apply it to
svn and close this file.

Next stage for you, if you is agree, is a little bit complicated but necessary
for the future. i already do it for other tools shared between editor and queue
manager. The goal is to share a classes using common implementation set in
digikam/dimg/filters. Look the status there :

http://websvn.kde.org/trunk/extragear/graphics/digikam/imageplugins/TODO?revision=1134027&view=markup

Typically, all tools from editors must be available in BQM. It's not yet case.
Image WaterMark from BQM is in fact InsertText tool from editor. Not all code
can be shared of course, because we don't have/cannot see preview of text
placement over image in BQM, but at least, the code to patch image with
inserted text can be the same.

To do that there is some factoring to do :

1/ a settings widget must be created. This one will embed common settings
available into BQM and Editor tools. This widget code must be placed there :

http://websvn.kde.org/trunk/extragear/graphics/digikam/libs/dimg/filters/decorate/

Files must be named watermarksettings.cpp/.h

The common code to merge is defined there :
- inserttexttool.cpp#136::242
- watermarktool.cpp#131::261

2/ a new class must be created to host code used to patch the image with insert
text/image. We must use DImgThreadedFilter class as parent, to be able to use
the code in a separate thread.

http://websvn.kde.org/trunk/extragear/graphics/digikam/libs/dimg/filters/dimgthreadedfilter.h?revision=1115803&view=markup

This class must be placed at the same place than watermarksettings class. Files
must be named watermarkfilter.cpp/.h

of course, some code must be taken and merged from :

- WaterMarkTool::toolOperation()
- InsertTextWidget::makeInsertText()

Globally, the best way to do it, is to

- Extend your current code from WaterMark tool to include missing option to set
text, and already implemented in inserttext tool
- To rewrite Inserttext tool and factoring code using shared implementation
done with WaterMark tool.

Look also in already tools shared between editor and BQM, as BorderTool :

http://lxr.kde.org/source/extragear/graphics/digikam/libs/dimg/filters/decorate/borderfilter.h
http://lxr.kde.org/source/extragear/graphics/digikam/libs/dimg/filters/decorate/bordersettings.h
http://lxr.kde.org/source/extragear/graphics/digikam/utilities/queuemanager/basetools/decorate/border.h
http://lxr.kde.org/source/extragear/graphics/digikam/imageplugins/decorate/bordertool.h

Let's me hear if you is interested to do this job.

Thanks in advance

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 233409] Image watermark in batch queue manager

Gilles Caulier-4
In reply to this post by Bugzilla from mbc@baekhoej.dk
https://bugs.kde.org/show_bug.cgi?id=233409


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 233409] Image watermark in batch queue manager

Bugzilla from mbc@baekhoej.dk
In reply to this post by Bugzilla from mbc@baekhoej.dk
https://bugs.kde.org/show_bug.cgi?id=233409





--- Comment #23 from Mikkel Christensen <mbc baekhoej dk>  2010-06-03 11:02:40 ---
Yes, I am interested in doing that. I actually thought about asking you about
how to make BQM tools available in the normal editor. Thank you for the
thorough explanation.

I will not have time to work on this for probably 3 weeks, because I have some
work and travelling to do, but I will probably get on it in late June, early
July.

Regards,
Mikkel

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 233409] Image watermark in batch queue manager

Gilles Caulier-4
In reply to this post by Bugzilla from mbc@baekhoej.dk
https://bugs.kde.org/show_bug.cgi?id=233409





--- Comment #24 from Gilles Caulier <caulier gilles gmail com>  2010-06-03 11:07:19 ---
Great. thanks in advance for your future contributions.

i recommend to open a new file in bugzilla about this subject and to post
future patches at this place.

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 233409] Image watermark in batch queue manager

Leo-2
In reply to this post by Bugzilla from mbc@baekhoej.dk
https://bugs.kde.org/show_bug.cgi?id=233409


Leo <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 233409] Image watermark in batch queue manager

Leo-2
In reply to this post by Bugzilla from mbc@baekhoej.dk
https://bugs.kde.org/show_bug.cgi?id=233409





--- Comment #25 from Leo <sir_kalot yahoo it>  2010-07-08 13:34:46 ---
Is it possible to know in which release it will be available this great patch?
tnx

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 233409] Image watermark in batch queue manager

Gilles Caulier-4
In reply to this post by Bugzilla from mbc@baekhoej.dk
https://bugs.kde.org/show_bug.cgi?id=233409





--- Comment #26 from Gilles Caulier <caulier gilles gmail com>  2010-07-08 13:37:38 ---
digiKam 1.3.0

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 233409] Image watermark in batch queue manager

Leo-2
In reply to this post by Bugzilla from mbc@baekhoej.dk
https://bugs.kde.org/show_bug.cgi?id=233409





--- Comment #27 from Leo <sir_kalot yahoo it>  2010-07-09 09:06:02 ---
(In reply to comment #26)
> digiKam 1.3.0
>
> Gilles Caulier

Tnx, I hope it will be backported soon to 10.04

Leo

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 233409] Image watermark in batch queue manager

Gilles Caulier-4
In reply to this post by Bugzilla from mbc@baekhoej.dk
https://bugs.kde.org/show_bug.cgi?id=233409

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |1.3.0

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 233409] Image watermark in batch queue manager

bugzilla_noreply
In reply to this post by Bugzilla from mbc@baekhoej.dk
https://bugs.kde.org/show_bug.cgi?id=233409

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|BatchQueueManager           |BatchQueueManager-Tool-Inse
                   |                            |rtText

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
12