Jump to content

Introducing "Mosaic Maniac Collage Paint" plugin

Recommended Posts

MODERATORS NOTE:  this plugin may not be fully compatible with paint.net v4



I'd like to introduce a new plug-in I call "Mosaic Maniac Collage Paint"

This is an early release and I still know of a couple of bugs, but do let me know if you find some.

I'm interested in your comments and suggestions.

Peter Lukaszuk

(Original text found at http://mosaicmaniac.com/Ajax.aspx?c=TabPlugin)

Did you ever want to paint using more than a single color or image?

Now you can paint with whole collections of images.

The plug-in creates a unique non repeatable pattern that closely tries to match the background.

Image distribution is based on latest pattern recognition and image matching techniques.

Shapes, colors, brightness, as well as many other factors determine where the image is placed.



This is an example of pattern collage.

The main image of a Jukebox is painted over with collection of music album covers.

Notice how the dark images cover the dark areas, yellow cover yellow etc.


Step 1:


Select an image we will paint on.

Using Magic Wand, select an area to paint on.

Step 2:


From Effects menus select "Artistic" and "Collage Paint"

Step 3:


You will see a "Mosaic Maniac Collage Paint Options" dialog.

Browse for the folder containing your images. All images in the folder will be used.

If you want to use only certain images you'll have to create folders and copy only the images you want to use.

All images are sized down and only their thumbnails used in pattern painting.

"Maximum image size in pixels" textbox specifies that size.

Leave the "Rotate images" checkbox checked. All images used will be rotated randomly.

Uncheck this field if you are painting a photomosaic.

Step 4:



Adjust Hue and Transparency for the desired result.

Hue Adjustment requires reprocessing and takes some time.

Step 5:



Put some leaves on the road and we really managed to mess this nice picture up.

Images used in the example can be downloaded from:





PDN 3.5 Alpha should work now!

To install Mosaic Maniac Collage Paint plugin for Paint.NET download the MosaicManiac.dll and

copy it to C:\Program Files\Paint.NET\Effects directory.

Get the latest one right here. Version 1.0.0906.08





wr_Lepouliguen 017.jpg


Link to post
Share on other sites

Hey, what a great plugin you made there ! :D

I really enjoy it very much.

Of course, I immediatly tried it right now, using logos ...


But you must take care of the folder's size ..

I had to wait 22 minutes on my first trial, using a folder containing 800 images ! :roll:

Link to post
Share on other sites

I come a second time, just to inform you that your plugin cannot be used on 3.5 Alpha PDN version.

An error is occured and the message is :

Hidden Content:
Fichier : C:\Program Files\Paint.NET\Effects\MosaicManiac.dll

Nom : MosaicManiac.PNPlugin

Version :

Auteur : Piotr Lukaszuk

Copyright: Copyright © 2009

Site Web : http://mosaicmaniac.com/

Message d'erreur : PaintDotNet.WorkerThreadException: Worker thread threw an exception ---> System.InvalidOperationException: Opération inter-threads non valide : le contrôle 'MainForm' a fait l'objet d'un accès à partir d'un thread autre que celui sur lequel il a été créé.

à System.Windows.Forms.Control.get_Handle()

à System.Windows.Forms.Control.GetSafeHandle(IWin32Window window)

à System.Windows.Forms.Form.ShowDialog(IWin32Window owner)

à MosaicManiac.MosaicManiac.RenderInit()

à MosaicManiac.PNPlugin.OnSetRenderInfo(PropertyBasedEffectConfigToken newToken, RenderArgs dstArgs, RenderArgs srcArgs)

à PaintDotNet.Effects.Effect`1.OnSetRenderInfo(EffectConfigToken parameters, RenderArgs dstArgs, RenderArgs srcArgs) dans D:\src\pdn\paintdotnet\src\Effects\Effect`1.cs:ligne 68

à PaintDotNet.Effects.Effect.SetRenderInfo(EffectConfigToken parameters, RenderArgs dstArgs, RenderArgs srcArgs) dans D:\src\pdn\paintdotnet\src\Effects\Effect.cs:ligne 139

à PaintDotNet.Effects.BackgroundEffectRenderer.ThreadFunction() dans D:\src\pdn\paintdotnet\src\Effects\BackgroundEffectRenderer.cs:ligne 150

--- Fin de la trace de la pile d'exception interne ---

à PaintDotNet.Effects.BackgroundEffectRenderer.Join() dans D:\src\pdn\paintdotnet\src\Effects\BackgroundEffectRenderer.cs:ligne 277

à PaintDotNet.Effects.BackgroundEffectRenderer.Abort() dans D:\src\pdn\paintdotnet\src\Effects\BackgroundEffectRenderer.cs:ligne 249

à PaintDotNet.Effects.BackgroundEffectRenderer.Start() dans D:\src\pdn\paintdotnet\src\Effects\BackgroundEffectRenderer.cs:ligne 218

à PaintDotNet.Menus.EffectMenuBase.<>c__DisplayClass19.<>c__DisplayClass1d.b__d() dans D:\src\pdn\paintdotnet\src\PaintDotNet\Menus\EffectMenuBase.cs:ligne 735

Sorry, but I use french version of PDN. :oops:

Link to post
Share on other sites

Well, that'll be a problem. When 3.5 becomes stable, this plugin will no longer work, and all users will be forced to upgrade past it. In addition, it will no longer be allowed to be hosted on the forum, as it will require a legacy version of the program to operate.

I'd recommend you eschew new features in favor of making it work with 3.5. At least when the Stable comes out, and probably when the public Beta/RC comes out. It's an awesome plugin, don't let it die.

Link to post
Share on other sites

By all means 3.5 and all future versions will be supported. I'll do what it takes.

I just released this plug-in. Who's talking about dying? :wink:

I've spent some time already working on it and I see there are some significant issues to be resolved.

I'm hoping 3.5 Alpha is just that - Alpha and the final release will not divert so much.

Link to post
Share on other sites

Thank you for all your suggestions. I think I addressed them all. Please do keep them coming.

The latest changes include:

- PDN Alpha 3.5 support

- Simplified UI

- Moved to Effects -> Artistic

- Repeat Effect

- Several bug fixes

Yet another creation using Collage Paint:


All images used in the examples on this page can be downloaded from http://mosaicmaniac.com/?c=TabDownload under "Rendering packs"

Link to post
Share on other sites

Thank you Simon for "kicking the tires”!

You found a couple of good issues.

Clicking OK during surface preparation is really not OK, you'd get some errors. I'll have to disable that.

SubmenuNames.Artistic is a very good suggestion. I wouldn’t know it's there if you hadn't told me.

How did you find that anyway? :o

New release is coming soon.


Link to post
Share on other sites

Here is another creation using this single image ball.png

I suggest that you provide some sample images for mosaic painting in your first post - like those flowers. That will help the users, as they can play around with your plugin and get an impression how it fits their needs.

And indeed, this plugin looks amazing. Thanks!

Link to post
Share on other sites

I think this is a bug, maybe its only for me.

When selecting a folder, if I type in the path it does not recognize I have altered it. If I select it, it works fine

If you have a transparent new image, It will not work. So an 800x600 of transparent pixels, use your effect... no result.

Sorry i double posted >.<

heres a vid of the bugs if it helps at all:

Link to post
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...