Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/07/2017 in all areas

  1. Hi @Pixey, here is an example of a more complex task you can perform with the plugin. Hopefully it helps you to understand what the plugin does, how it works and how to use it. At first, let me start with a short elaboration on what a "channel" is, in case this is still unclear: you can imagine a channel as a large value table. For each pixel in height, there is a table row, for each pixel in width, there is a column. Each table cell stores one value from 0 to 255 for the corresponding pixel. There are 4 actual and 3 calculated channels for an image (or to be more PDN specific, 7 channels per layer): Red, Green, Blue and Alpha are the actual channels (shortened RGBA). Hue, saturation and luminosity (HSL) are calculated from the RGB values. (As a side note, the transformation from RGB to HSL and vice versa is not completely bijective, as different HSL values can lead to the same RGB color.) My plugin is designed to tinker with the values of the RGBA channels. Maybe it'll learn about the HSL channels later on, too, but right now it's limited to the RGBA channels. Now for the tutorial part. In this tutorial, we are going to perform a "downward compression" for one color channel of an image, namely red. This can be done by choosing two values: first, a certain threshold value, second a compression ratio. Below our threshold, channel values will not be changed. Values above the threshold however will have their exceedance reduced by our compression ratio. This means for an increasing source value, above the threshold the result value growth will be slower and the overall maximum value will be lower. Usually this is a technique to compress audio signals to dampen peaks (see "dynamic range compression"), but we can do that for images' color channels, too. The following image illustrates the compression we are going to perform on the red channel, choosing a threshold value of 100 and a compression ratio of 3:1: For the above image, I created a 256 pixels wide gradient from blue (RGB = 0, 0, 255) to magenta (255, 0, 255), so that at the "0" mark, the pixel values are (0, 0, 255), at the "100" mark they are (100, 0, 255), and so on. What we expect to happen when we apply the compression is that the blue value stays 255 for the whole gradient like it is. The red value does not change up to the "100" mark, then the value change "slows down" to +1 red per 3 pixels, resulting in (152, 0, 255) for the pixel at the "255" mark. The "152" is the result of the maximum red value "255" processed with our compression formula: 100+(255-100)/3 = 100+155/3 = 100+51,666... = 152 after rounding. Now let's actually do this with my plugin. We are going to do it in three logical steps: Split the original Red value into the unmodified amount (left, 0-100) and the to-be-compressed amount (right, 0-155), in two separate channels Perform the actual compression on the channel with the to-be-compressed values Add up both values again and assign the result as new Red value Step 1 - Split the amounts into two channels Given that my plugin has no single operation to perform the split operation, this step is probably the trickiest to figure out if you're not used to "chaining multiple simple operations to perform a complex operation". For me, being a programmer, seeing the tiny steps in complex tasks is what I do for a living, so it's obvious for me how to do it. Of course one does not have to be a programmer to see it, but I guess it helps. Anyway, this is how we can do it in three smaller steps using operations my plugin actually offers: Step 1.1 At first, we are going to subtract our constant threshold value "100" from the Red channel values. This means, for values less than or equal to the threshold, the result will be less than or equal to 0. For values above the threshold, the result is going to be greater than 0. We can store the result in one of the two temporary channels. Step 1.2 Next up, we apply an L-Threshold operation to that temporary channel and configure it to set all values less than 0 (first parameter, top row) to 0 (second parameter, second row). After this step, our temporary channel contains the "to-be-compressed" value per pixel. Note that L-Threshold allows us to define the replacement value independently from the threshold value. Since the threshold and the replacement value are identical, we could also use the Clamp operation with "0" and "any number greater than or equal to 155" as arguments, so that the second argument does not apply to any value in the temp channel. In our scenario, it does not make a difference. Step 1.3 Eventually, we apply the U-Threshold operation to the Red channel, with a threshold and replacement value of 100. This limits all values to a maximum of 100, but keeps lower values unmodified. Now, the Red channel contains the unmodified value amount for every pixel. Step 2 - Compress Applying the compression ratio is actually pretty straightforward. You Divide the value in the temporary channel by our constant compression ratio "3" and write the result back to the temporary channel as target channel. Note that both temporary channels actually store floating point values, so for a pixel that originally had "105" as red value, the temporary channel now holds 5 / 3 = "1.666..." as value, not "2" yet. In our example, we are going to add the value to an integer number and then immediately round the result, so we're not going to profit from keeping the precision here. But sometimes you want to multiply or clamp the result later on and it's good to know that for those two channels the values are kept with double precision, which should be "good enough" in all normal cases. Step 3 - Add up Adding both values is also simple. As the previous sentence suggests, you chose the Add operation, select the red and the temporary channel as arguments, and apply the result as the new Red value. Again, there is something to "note". As with the temporary channel, the value of the Red channel was changed in step 1.3, and using it as source again get the modified value. This is why you can order the modification steps - because the order actually makes a difference. This is how the plugin configuration should look like now: Tip: In case you don't see a difference yet, make sure you enabled the modifications. Newly added modifications are disabled by default, as they are likely not configured correctly yet and IMO it makes no sense to render the whole image with a presumably wrong configuration over and over again. Also, changes to disabled modifications do not trigger a render update, keeping Paint.NET responsive while configuring the values. And this is how the result looks when the modifications are applied with a selection of the gradient area. You can see how the color on the right end is far from magenta. With the color picker tool I have tested and can assure you, the Red values from 0 to 100 are 0, 1, 2, ..., 98, 99, 100, and the values from 101 to 255 are 100, 101, 101, 101, 102, ..., 150, 151, 151, 151, 152, which are the correct rounded values for 100.3, 100.6, 100.9, 101.3, 101.6, ... etc. I hope this extensive tutorial/example helps you to warm up to the plugin. Let me know if it helped you, I have an idea for another one, but I'd rather know if I need to change the way I write these tutorials first before I post another one in a second post taking me hours to write. Thank you for using my plugin, I hope it'll bring great joy and new possibilities to your art. Chris
    2 points
  2. Thanks Pixey for picking up after for DewDale on the voting page
    2 points
  3. I've added it in now. I'm still working feverishly on Brush Factory, but eventually I will come back to it later and add things like a preview, which is why I didn't have tolerance the first time around. Pixel Set Replacer P.S: I was able to replace those letters using a tolerance of 220.
    2 points
  4. I'm working on it. I should have a solution for you in a few days or less. Edit: Well, that was faster than expected. I've attached the .dll file. You'll need to drop it in the Effects folder under Paint.net. (An easy way to get there is to right-click paint.net, click "open file location" and do that again on the shortcut. You should see the Effects folder at the top, then.) It was fun PixSetRepl.zip ---------------------------- Instructions: Select the tile you want to change. Click the button to store it as the "image to be replaced". Select (or draw) the tile you want to replace it with. Store that as the second image. Go to it again and click "replace". You can also use "reset" to use it on multiple tiles. It might be slow on a large image.
    2 points
  5. Such a Lovely way to begin 2017 with such a great regards from good friends Great feeling to start well, i want to tell you guys something about something: you all have your images on the drive i guess, like i do. and the thing is that i wonder if you 'look at them" like i do ? Well i think i am in relations with "all of them" So the next Video is about old image which i combine with new Animation. I guess its called "New Beginnings"
    2 points
  6. Quadrilateral Correction Effects -> Tools -> Quadrilateral Correction Description This effect is useful for correcting images that have been skewed on multiple axes. It uses an algorithm from AForge.NET. It works very well, but don't expect miracles if your image is extremely skewed. Usage Output: Control Nubs The control nubs can be manipulated with the mouse in the following three ways: - Left Mouse Button — Grab and Drag - Middle Mouse Button — Grab and Drag with a Dead Zone - Right Mouse Button — Select nub for Keyboard Arrow manipulation - Arrow — 1px - Ctrl + Arrow — 5px Change Log v1.3.1 (Dec 16, 2021) Workaround for HiDPI bug in .NET 6 Merged dependencies into the main DLL v1.3 (March 13, 2021) Added: Reset button for Control Nub positions v1.2 (July 3, 2018) Added: Support for the Dark Theme Changed: Moved to the 'Tools' menu v1.1 (Jan 1, 2017) Fixed: Now works properly on HiDPI v1.0 (Aug 24, 2016) Initial release Download QuadrilateralCorrection.zip Donate Source Code https://github.com/toehead2001/pdn-quadrilateral-correction Icon based on icons from Fugue Icons.
    1 point
  7. Drawing with brush dynamics (similar to Krita/Photoshop), but within Paint.Net! Everything in the pic below was drawn with it except the letter shapes Additional thanks to TechnoRobbo, Null54, Pyrochild, Toehead, and xchellx for valuable code contributions Using Dynamic Draw 1. Pick a brush image (and add your own under Settings - Brush section -> Brush Image Locations) 2. Change settings (don't forget you can scroll down for more settings) 3. Draw on the canvas (with some tablet support for huion/wacom via WinTab) You'll see explanations & keyboard shortcuts in a tooltip as you hover over settings. Note: If you're working with multiple layers, you can merge down all the layers below to copy it to the clipboard and use it as the background in a right-click menu on the canvas itself. Installing Extract the Dynamic Draw folder to the Effects folder of your paint.net installation, which for me is at C:/Program Files/paint.net/Effects. Leave it in the folder. Then restart paint.net. What's New? changelog new Added an effect dropdown to select and apply filter effects using the brush. Certain incompatible effects are blacklisted. tweak Significant speed increases for larger brush drawing due to parallelization. Get Dynamic Draw v3.3 optional extra brushes How to use Dynamic Draw old downloads Source code
    1 point
  8. Moderator Note: This Plugin is no longer compatible with the latest versions of paint.net. ::PluginIndex::Effect::Print It::0.9::2014-09-03::Martin Osieka::Print the current layer or the flattened image:: The 'Print It' plugin prints the current layer. To print the whole image you have to flatten the image first to one layer. Beside of the basic printer settings you may select - The area to layout your image (Whole paper, printable area, Paper with margins) - The size of the image ('Print Size', Scaled 'Print Size', Fit to area, Fit large only to area, Stretch to area, Stretch large only to area). - The sized image can the be aligned inside of the area to the corners, sides or the center. An additional offset is possible. - Tiling allows to place an image multiple times on the same page. - Poster printing allows to stretch one image to multiple pages - Header and footer lines are available - A watermark can be overlay-ed to the printout The non-printable area of the image is colored red in the preview. The margin or gaps area is colored green. Download Find the latest version Print It v0.9 (3.9.2014) at the bottom of this page. Installation - Copy the two files OptionBasedLibrary vX.X.dll/.dlc to the Paint.NET\ folder (NOT to Paint.NET\Effects\ !!!) - Copy the two files PrintIt.Effect.dll/.dlc to the Paint.NET\Effects\ folder - Do not remove older versions of the OptionBasedLibrary if they are required from other plugins. After a restart of Paint.NET you will find the plugin at Menu->Effects->Tools->Print It (oder für deutschsprachige Anwender unter Menu->Effekte->Werkzeuge->Druck es 😉 Compatibility Paint.NET 3.5.11 and 4.0.3 (Tested on Windows XP and Windows 7) Supported languages English, Deutsch Keywords Print, Header and Footer, Watermark, Tiles, Multipage, Poster, Drucken, Kopf- und Fußzeilen, Wasserzeichen, Kacheln, Mehrseitig, Plakat Configuration options http://www.comsquare.ch/files/downloads/PrintIt/PrintIt.Dialog.PrinterPage.jpg Select the printer and the basic paper settings. The printer properties button allows you to set more specific details (like Duplex). If you switch the printer then it may happen that one or more of the other settings are no longer selected (i.e. because the printer does not support the previously selected paper format). Just choose one of the available settings. The printout name is used in progress dialog, as proposed filename for file printers, and as {Print.Name} keyword in text output. http://www.comsquare.ch/files/downloads/PrintIt/PrintIt.Dialog.LayoutPage.jpg The 'paper area' choice defines which area of the paper is used to print the image. 'Image size' defines the size of the image in the area and 'image location' the alignment in the area. In the preview the non-printable area of the paper is marked in red, user defines margins in green. http://www.comsquare.ch/files/downloads/PrintIt/PrintIt.Dialog.TilesPage.jpg You may print an image multiple times in the area depending on the 'number of tiles' choice. The distance between the tiles areas can be set via the spacing options. In the preview the spacing is colored in red. http://www.comsquare.ch/files/downloads/PrintIt/PrintIt.Dialog.HeaderFooterPage.jpg You may add a header and/or a footer text line to your printout. Each line has three areas: Left aligned, centered, and right aligned text. The texts may contain keywords which will be replaced at printout time (see Keywords). Font name, size, and style can be selected. Header and footer will be placed at the top or respectively at the bottom of the page area. The page area will then be shrinked by the height value. If the font is larger than the height then the line will overlap the page area. In the preview header and footer are colored in blue. http://www.comsquare.ch/files/downloads/PrintIt/PrintIt.Dialog.WatermarkPage.jpg A watermark can be printed as overlay to the paper area (or the tiles area). You may select the text of the watermark, font, style, and color. The height of the text is always 10% of the area height in the moment. Afrer the look of the watermark is defined the watermark can be placed, aligned, and rotated in the area. Keywords used in text output In the moment the following keywords are defined: {Print.Name} The Name of the printout from the Printer tab. {Print.Page} The current page number {Print.Pages} The number of pages Remark This version is not final but it should be good enough to discuss what you expect from a printing tool. I'm not telling what's on the list in the moment. Tell us what you like to get. Issues depending on the Paint.NET plugin API - The Paint.NET API does not provide the title (or filename of the image). The plugin uses the Title 'Document' to show progress or as argument for an PDF printer. History 0.9 (3.9.2014) - The preview controls moved to a collapsable control outside of the tabs. - The preview control allows to activate a 1:1 mode. In this mode a zoom value of 100% means that that the size of the document on screen is exactly the size of the sheet. For this mode you have to enter the calibrated DPI value of your screen. . Printer tab: The entries in the printer names combobox are sorted now - Printer tab: Sheet and poster size infos respect the preview unit setting - Printer tab: Virtual sheet tells the amount of real sheets - Printer tab: Added 'Collate' switch if number of copies is greater than one (Be warned not all printer drivers are able to handle this) - Printer tab: Some printers do not support 'Copies'. In this case the Number of copies entry will be disabled. - Printer tab: Added printer status and type information. Status message changes may be slow on some devices. It depends in most cases on the printer driver. - Printer tab: Added print source: In the moment just the active layer. 'Print It - collection' will allow you to create a collection of images in the future. . Printer tab: Added feature to restrict the print source to the selected area - Printer tab: Added range of sheets: All sheets, Selected range of sheets - Printer tab: Added a test print button. Test page can be used to check the printable area of the sheet and to correct the offset later. - If the printer test page shows that the center is not in the center of the sheet then the offset of the printable area may be wrong. To nodify the offset you can edit the .ppd file of the printer or just add the variables PAH=x and/or PAV=y to the printer comment (x and y are values in cm). - Layout tab: Info texts for area size, original image size and new image size are implemented. - Layout tab: The new image size shows you the real print dpi value which helps to decide if the original image provides enough pixels. - Layout tab: Scaling control of "Image Size = Scale Print Size of Image" shows now a 'keep in sync' button to keep the aspect ratio of the image intact. - Layout tab: The margins control should be more user friendly now - The text of the OK button has been changed to 'Print' 0.8 (12.8.2014) - Poster printing allows to stretch one image to multiple pages - F1 key links to the forum page of 'Print It' - Shows in the title line the active element to print 0.7 (12.07.2014) see download link above - Replaced the preview control with a more generic version - Added OptionControls and contextmenu to handle zoom, location, and alignment of the document in the preview. This includes setting to control background and passepartout colors. Most of the standard keyboard shortcuts and mouse actions are supported in the preview. - Fixed some minor issues on printout. 0.6 (9.6.2014) - Added 'Header&Footer' tab. - Menu->'Repeat Print It' (Ctrl-F) is now ignored. - The dpi value of the image will be requested in a separate dialog now. This request will be removed if a newer version of Paint.NET offers the DPI value of the image to the plugin. 0.5 (5.6.2014) - Added 'Watermark' tab - Added 'Printout Name' to the printer tab. This name is used from some drivers in the progress dialog or by printers which create a file instead of a printout (like PDFCreator). - Added 'Printout Copies'. In earlier version you had to set this value in the printer properties. - Click to preview toggles the visibility of the cues (i.e. for margins) 0.4 (2.6.2014) - Added 'Tiles' Tab. Tiling allows to place an image multiple times on the same page. 0.3 (31.5.2014) - First public release PrintIt.Effectv0.9.zip (latest supported version is paint.net 4.2.16)
    1 point
  9. Name: Organigram Description: Renders simple relationship diagrams or organizational charts. Keywords: Organigram | flowchart | chart | diagram Menu: Render Original release date: 14 December 2016 Current Version: 1.5 Last update: 19 February 2023 .dll name: Organigram.dll Compatibility: Tested on Pdn 5.0.1 Psssst. Hey Buddy. You need a diagram? Try this...... Organigram renders simple relationship diagrams or organizational charts. All charts have the 'wheel' structure shown above with a central shape surrounded by other shapes. There are eight shapes to choose from. Note: all shapes in a chart will be the same selected type. New Controls (05 March 2017)! Render Spokes: deselect to stop spokes from being drawn. Render Center Bubble: deselect to stop central shape from being drawn. Spoke Length Increment: Use a value (+/-) to increase or decrease successive spoke lengths. Spoke Angle Increment: Use a value (+/-) to increase or decrease the successive spoke angles. New Shapes (10 Feb 2023): Pentagon, Hexagon & Octagon New UI (19 Feb 2023) - Many thanks to @BoltBait we have a new tabbed UI! Organigram.zip << New version (1.5) this is for PDN 5.0+ The old version (pre-5.0) is still in my Plugin pack...but not for long! Version 1.03 (27 Mar 2021) Increased maximum number of bubbles to 100. Reduced minimum bubble size to 10px (was 20px). Version 1.05 (5 March 2017) Added new controls: Render Spokes, Render Center Bubble, Spoke Length Increment & Spoke Angle Increment. Version 1.3 (10 Feb 2023) Added Pentagon, Hexagon and Octagon shapes. Version 1.5 (19 Feb 2023) UI changed to tabbed interface by @BoltBait
    1 point
  10. This plugin deletes small islands of pixels. When I use the magic wand, some pixels aren't deleted. The plugin deletes them, if they are surrounded by transparent pixels. : It has two parameters : - radius threshold : Delete island up to this size. - alpha threshold : A pixel will be considered transparent up to this value. @toe_head2001 has recompiled this plugin to make it compatible with PDN 4.0+. StrayPixelRemover.zip
    1 point
  11. Hey i have a question is there any way to create this effect that is marked in the picture and is all around the map with paint.net and can u explain me how to create this effect if it's possible?
    1 point
  12. Thank you so much @LWChris for that very detailed description of how your Plugin works. Thank you taking the time to explain it in such detail .
    1 point
  13. You're amaizing Sho. The last videos are pro editing. That is all from love I guess
    1 point
  14. I scale the current value based on its distance from the extreme values (min/max of a range) or the center. This is my version of sharpen, which shows a moderate and severe sharpen. Contrast, instead of shrinking the range towards the center, would expand it out from the center (it's the inverse operation). Thus, a max sharpen will shrink it to two values: black and white (which means the min or max values of the range). A max contrast would expand it so that only the center values are possible. That's how I came up with it and designed it; I looked at algorithms for these things, but couldn't find much. I found something about gamma, but it was rather mathematical. I think this method works in practice, but don't quote me on that
    1 point
  15. You can also use Shape3D effect to wrap text around a cylinder.
    1 point
  16. I am not completely sure, but I think I just ran into the same bug and already found the cause. In the method populating the dropdowns, my maximum index was off by 1, making "Minimum" available as source operation for binary operations such as "Minimum", "Maximum", "Add", "Subtract" etc. Actually only Constant, Identity, Invert or Absolute should be allowed. Fixed in version 1.0.1, available as of now.
    1 point
  17. Hello, Video i design for my Eyes, which doing great job of reading information and see everything they can
    1 point
  18. Nice kitty. Good choice of background colors and the frame design looks both cute and innovative
    1 point
  19. I am helping out DrewDale this week with the Poll. You can vote for 5 entries. Poll will close on Saturday 14th January 2017 at 7 PM (UK Time) To see how that equates to other countries, here is a link to the World Time
    1 point
  20. If you want to have fading edges there are several ways to do it. One ways is to use the eraser tool :
    1 point
  21. Hello, This image contain several effects: 1.Background which made of Free hand drawing on kaleidoscope + zoom blur + surface blur 2. The glob made of grid layer + 3D to sphere + glow + Trouser Flare Music also my personal creation: Enjoy
    1 point
  22. Dear LWChris! Firstly welcome and have fun here. Thank you (Dankeschön ) for the plugin.
    1 point
  23. Hi @LWChris. I have downloaded this plugin into PDN. It doesn't crash, but I have no idea of how to use it. A tutorial would be of great help. Thank you .
    1 point
  24. Hello LWChris, and thanks for this adjustment effect. I have been trying to use it but everytime I do, it crashes. I am posting the crash message I get :
    1 point
  25. No problem, I got the point and I'm also aware of the difficulties While I was experimenting with other things, I discovered a method to turn an anime picture into its manga version and below is the result, which I thought would be interesting to show. Anime tends to be colored because it's intended for TV broadcasting, whereas manga is intended to be printed in magazines at lower costs than those of the TV industry and therefore tends to be black and white with subtle shades or crosshatchings. I believe the shading turned out pretty acceptable and thought it worthy enough for a second entry in the contest: I believe you've done a pretty nice job, very manga-like, with blacks and whites and gray shades. The shorter hair came out nicely too
    1 point
  26. Happy New Year 2017 for all the Lovers. I wish you all the best you can get this year. and may all you wishes come true this year. I designate this Concept for the New year and called it "Travel in Time"
    1 point
  27. I don't know how many of you sew this animation but here it is again
    1 point
  28. You need to trace a circle that will match the arch of your text in your original image. This circle will be used as a guide. Copy this circle to a new square canvas.Make sure it is in the center. I am using the pink circle as an example. Use the Circle Text plugin and type your word and make it surround the pink circle guide as in the picture on the left. Duplicate your layer and erase the letter C on the upper layer. Erase the letters OMMUNITY on the lower layer. Go back to the upper layer and Select the entire canvas and rotate your text until the O of OMMUNITY is very close to the C. Merge the upper layer with the lower layer and... Repeat the same steps for the rest of the letters. When you are donne copy it to the clipboard and paste it on your original image.
    1 point
  29. The new paint.net 4 is substaaaaaaaaaantially the same as 3.5. Don't make an account and post just to be a jerk. It's far more productive to take a few minutes and learn a few new things.
    1 point
  30. Read: http://forums.getpaint.net/index.php?/topic/2932-a (Specifically #7)
    1 point
×
×
  • Create New...