Bug 114223

Summary: New tool to build photomosaic using ImageMosaicWall
Product: [Applications] digikam Reporter: Julien Narboux <Julien>
Component: Plugin-Generic-MosaicWallAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: caulier.gilles, kdebugsystem, martin.tlustos, thomas.gastine
Priority: NOR    
Version: 5.5.0   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 7.0.0
Sentry Crash Report:

Description Julien Narboux 2005-10-11 15:30:24 UTC
Version:            (using KDE KDE 3.4.0)
Installed from:    Mandriva RPMs

Metapixel is GPL software to produce photomosaics.

It can generate classical photomosaics, in which the source image is viewed as a matrix of equally sized rectangles for each of which a matching image is substitued, as well as collage-style photomosaics, in which rectangular parts of the source image at arbitrary positions (i.e. not aligned to a matrix) are substituted by matching images.

http://www.photomosaic.com/rt/1.htm
http://www.complang.tuwien.ac.at/~schani/metapixel/

It would be great to have it integrated in digikam as two plugins : 

- a digikamimageplugin : you select the picture you want as a photomosaic, start the photomosaic plugin, 
then you can choose the number of small pictures, the database of small pictures, the amout of cheating, the output resolution...
- a kipiplugin : this plugin woudl be used to build the database of thumbails for a photomosaic, you could add pictures from multiple albums sorted by aspect ratio.
Comment 1 Jason 2005-11-26 08:47:04 UTC
That sounds like something I'd like to tackle.  I've been wanting to write a photomosaic program using Metapixel, but I couldn't figure out where to start.
Comment 2 Tom Albers 2005-11-26 23:45:05 UTC
Caulier Gilles wrote:
> Any contributions are always welcome. Writting a new plugin is not very 
> complicated and can be coordinate easily (there are lot of examples in svn i 
> think (:=))))
> 
> About to create a new photomosaic new plugin, i'm agree, but i can't manage 
> it. If you have any time to do, feel free.
> 
> Nota : i think this must be a kipi plugin, not image plugins because 
> photomosiac must be generated using a image collection. Also, the plugin will 
> call an external program (Metapixel) and this is most dedicaced to a 
> kipi-plugin.

If you need to have more info, you can always bug us on #digikam
Comment 3 thomas.gastine 2010-01-04 13:18:28 UTC
I see this wish is quite old, but as I find it interesting I wonder if 
there is any plan to implement a metapixel plugin into KIPI 1.x ?

Thanks
Comment 4 caulier.gilles 2015-01-28 14:08:34 UTC
*** Bug 343458 has been marked as a duplicate of this bug. ***
Comment 5 caulier.gilles 2017-06-09 10:37:44 UTC
Right url to metapixel :

http://www.complang.tuwien.ac.at/schani/metapixel/
Comment 6 caulier.gilles 2017-06-09 10:39:16 UTC
There is no plan to create a kipi tool with metapixel. it's more a task for digiKam image editor
Comment 7 caulier.gilles 2019-01-31 09:49:01 UTC
A possible implementation to port as a dplugin can be found here :

https://github.com/scheckmedia/ImageMosaicWall

Not too much complicated and can be assigned to a student

Gilles Caulier
Comment 8 caulier.gilles 2020-05-26 13:10:08 UTC
I just finish to port ImageMosaicWall tool to digiKam plugin infrastructure:

https://github.com/cgilles/ImageMosaicWall

I send a PR to original author for an official integration. I'm in contact with this guy, so when the PR will be backported, i will integrate this plugin as extra tool, as it's already done with GMic-qt...

Gilles Caulier
Comment 9 caulier.gilles 2020-05-26 13:25:06 UTC
Screenshot : https://i.imgur.com/jjFaGSZ.png
Comment 10 caulier.gilles 2020-05-26 13:49:33 UTC
Git commit 8ba79f6e40cee59003ea75572bff494a58cf5c64 by Gilles Caulier.
Committed on 26/05/2020 at 13:48.
Pushed by cgilles into branch 'master'.

Add ImageMosaicWall plugin as 3rdparty tool in FlatPak bundle

M  +11   -0    org.kde.digikam.json

https://invent.kde.org/packaging/flatpak-kde-applications/commit/8ba79f6e40cee59003ea75572bff494a58cf5c64
Comment 11 caulier.gilles 2020-05-26 14:10:02 UTC
Git commit 6a6acc9df8c6030f9dc746b50d13258027483338 by Gilles Caulier.
Committed on 26/05/2020 at 14:08.
Pushed by cgilles into branch 'master'.

Integrate ImageMosaicWall tool as 3rd party plugin in all digiKam bundles.
FIXED-IN: 7.0.0

M  +3    -1    NEWS
M  +1    -0    project/bundles/3rdparty/CMakeLists.txt
A  +21   -0    project/bundles/3rdparty/ext_mosaicwall/CMakeLists.txt
M  +2    -1    project/bundles/appimage/03-build-digikam.sh
M  +2    -1    project/bundles/macports/03-build-digikam.sh
M  +2    -1    project/bundles/mxe/03-build-digikam.sh

https://invent.kde.org/graphics/digikam/commit/6a6acc9df8c6030f9dc746b50d13258027483338