MosaicManiac 0 Report post Posted June 1, 2009 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. Tutorial: 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: Voila! 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: http://mosaicmaniac.com/download/Flowers.zip http://mosaicmaniac.com/download/Fall%20Leafs.zip Installation: 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 MosaicManiacPaintDotNet.zip Share this post Link to post Share on other sites
Axle 0 Report post Posted June 1, 2009 i have to say that the first one looks better but it seems to be a good idea, downloading it now. good work Share this post Link to post Share on other sites
Patarien 0 Report post Posted June 1, 2009 Hey, what a great plugin you made there ! 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 ! Share this post Link to post Share on other sites
oma 26 Report post Posted June 1, 2009 perhaps you should put this under artistic. the effects menu is really over populated. Share this post Link to post Share on other sites
Patarien 0 Report post Posted June 1, 2009 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 : 1.0.0.0 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: Share this post Link to post Share on other sites
MosaicManiac 0 Report post Posted June 1, 2009 Thanks for the bug info. I'll take a look at it later today. Share this post Link to post Share on other sites
david.atwell 283 Report post Posted June 2, 2009 :shock: This is AWESOME! Share this post Link to post Share on other sites
rtargo20 0 Report post Posted June 3, 2009 I'm using the new PDN version 3.5 Alpha and getting the following error message... Share this post Link to post Share on other sites
MosaicManiac 0 Report post Posted June 3, 2009 This is a known issue. It does not work with PDN 3.5 alpha and will not anytime soon. Share this post Link to post Share on other sites
david.atwell 283 Report post Posted June 3, 2009 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. Share this post Link to post Share on other sites
MosaicManiac 0 Report post Posted June 3, 2009 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. Share this post Link to post Share on other sites
david.atwell 283 Report post Posted June 3, 2009 Excellent to hear. :-) Good work. Share this post Link to post Share on other sites
MosaicManiac 0 Report post Posted June 6, 2009 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" Share this post Link to post Share on other sites
Simon Brown 38 Report post Posted June 6, 2009 When I tried it it worked but I got several "read and write protected memory" errors. Is there a chance error messages could be displayed in an errors textbox rather than a model dialog? Share this post Link to post Share on other sites
Simon Brown 38 Report post Posted June 6, 2009 Also, using SubMenuNames.Artistic would change the name "Artistic" to the label in the language PDN is localised to. Share this post Link to post Share on other sites
Simon Brown 38 Report post Posted June 6, 2009 Bug: Click "OK" while the collage is rendering. Share this post Link to post Share on other sites
Patarien 0 Report post Posted June 6, 2009 Thanks for the plugin update that works perfectly well on 3.5 Alpha. Share this post Link to post Share on other sites
MosaicManiac 0 Report post Posted June 6, 2009 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. Thanks! Share this post Link to post Share on other sites
Simon Brown 38 Report post Posted June 6, 2009 I have my interface set to a different language to test my plugins for things like that. Share this post Link to post Share on other sites
MosaicManiac 0 Report post Posted June 7, 2009 Here is another update - version 1.0.0906.07. This release include fixes for the issues Simon talked about yesterday. Is it a release candidate? Share this post Link to post Share on other sites
MosaicManiac 0 Report post Posted June 9, 2009 Update: Yet another version - 1.0.0906.08 is up for grabs. Here is another creation using this single image Share this post Link to post Share on other sites
oma 26 Report post Posted June 9, 2009 I've just downloaded this. After I finish my Elephant picture I'll give this a real workout. ciao nice work OMA Share this post Link to post Share on other sites
Fisherman's Friend 1 Report post Posted June 11, 2009 Here is another creation using this single image 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! Share this post Link to post Share on other sites
Benji2 1 Report post Posted June 11, 2009 this looks amazing. now that it has 3.5 support im dling. Good Job! Share this post Link to post Share on other sites
Benji2 1 Report post Posted June 11, 2009 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: Share this post Link to post Share on other sites