Martin Osieka

Members
  • Content Count

    136
  • Joined

  • Last visited

  • Days Won

    13

Everything posted by Martin Osieka

  1. 'Portable Document Format' FileType Plugin (.PDF) Summary Set of two FileType plugins which allow the digital image editor 'Paint.NET' to open and save PDFs (Portable Document format). Open means to render the PDF via Ghostsctipt to bitmap layers in Paint.NET Save means to embed the bitmap layers into a PDF container. It is important to understand that you can not edit vector graphics embedded in PDFs inside of Paint.NET using these plugins to open and save PDFs. Paint.NET is a bitmap editor. Author Martin Osieka Download Find the latest version of the plugins here: ImPDF.Open.FileType v1.0 (15.3.2014) ImPDF.Save.FileType v1.4 (15.3.2014)) Installation Follow the instructions carefully Installation of ImPDF.Open.FileType Install Ghostscript (http://www.ghostscript.com/download/). The plugin has been tested with Ghostscript 9.10. If Paint.NET is running as an 64bit application then you have to install "Ghostscript for Windows (64 bit)" else the 32bit version. The plugin identifies the installed ghostscript version via the registry. If you are using the plugin w/o Ghostscript a messagebox will popup telling you that Ghostscript is required. Copy the two files OptionBasedLibrary vX.X.dll/.dlc to the Paint.NET\ folder (NOT to Paint.NET\FileTypes\ !!!) Copy the two files 'ImPDF.Open.FileType.dll/dlc' to the Paint.NET\FileTypes\ folder Remove old ImPDF version from Paint.NET\FileTypes\ folder. If you need the save functionality then update to ImPDF.Save.FileType. Do not remove older versions of the OptionBasedLibrary if they are required from other plugins. Installation of ImPDF.Save.FileType Unzip "ImPDF.Save.FileType vX.X.zip" and copy the two files "ImPDF.Save.FileType.dll" and "ImPDF.Command.exe" into the "FileTypes" folder of your Paint.NET installation. A typical location is "C:\Program Files\Paint.NET\FileTypes". WARNING: Don't forget to remove older version of the ImPDF plugin (ImPDF.FileType.dll)! Compatibility Paint.NET 3.5.11 and 4.0.5 Supported languages The language used in the plugin depends on the language setting of Paint.NET and the support of this language by the plugin. The fallback is the first supported language of the plugin. Languages are defined in the .dlc files. ImPDF.Open.FileType supports the following languages in the moment: English Deutsch ImPDF.Save.FileType supports the following languages in the moment: English Dialog options ImPDF.Open.FileType tbd ImPDF.Save.FileType There are many options which control the features supported by this application. The following section tries to describe the options and features together with their dependencies. Document Settings Set the general options of the PDF. Content Defines how many pages will be generated in the PDF. Flat (Composite Only): 1 page Separated Layers: (number of layers) pages Flat + Separated: 1 + (number of layers) pages The 'only visible' option (which is checked by default) controls if all or just the visible layers will be added. The order of converting the layers to pages is bottom to up. Conformity PDF Basic: Allows all supported features and minimizes the storage size. PDF/A-1B: ISO standard for long-term archiving of documents Some organizations require that you are delivering PDFs in PDF/A format. This standard is more strict about the structure and elements of the PDF. The goal of the standard is to view the content of the PDF in the future on new devices as today on the current ones. To use this option you have to provide an RGB color profile (best would be the one of your display). See http://www.color.org for the idea of color profiles. By default the plugin looks for the profile "ImPDF.Default.icc" in the Filetypes folder of Paint.NET. So you may place a copy of a profile there using the default name. Hint: PDF/A does not allow encryption. Encoding Defines the compression method used to compress the images in the PDF. None: Uncompressed Zip (lossless): Compressed JPEG (... quality) Compressed with quality loss Info Settings Allows to set some info in the PDF: title, author, subjects, keywords. The application sets the creator and producer entries of the pdf. Layout Settings These settings define the size of the generated pages and the size and position of the images on the pages. Remember a pdf is a vector file format which is able to embed pixel images. So if you are talking about the size of a pdf then you are talking about a real world size using a unit. The 'Final Size' depends on the layout settings. Page Size set to '(Based on image)' The application calculates the page size from the pixel size of the image and the dpi value stored with the image. In Paint.NET you may set the dpi value in the 'Resize...' dialog. If the 'Borders' checkbox is checked then the size increase by the values for the top, left, right, and bottom border. Page Size set to '(User-defined)' Set the W x H values to define the 'Final Size'. If the 'Borders' checkbox is checked then the size available for the image is the user-defined size minus the border values.Use the 'Image' position and the 'Scaling' option to place the image on the page. Page Size set to a fixed format like 'A4' or 'Letter' If you select a given format then the 'Final Size' depends on the format and the 'Orientation' option. If the 'Borders' checkbox is checked then the size available for the image is the format size minus the border values.Use the 'Image' position and the 'Scaling' option to place the image on the page. Viewer Settings The viewer settings are providing hints how a pdf viewer application should show the pdf to the user. The viewer may use the hints or ignore them. Rotation This option tells the viewer to rotate all pages in the pdf by 0, 90, 180, or 270 degrees. In some cases it is better to keep landscope orientated pages in portrait mode and let the viewer do the rotation. This make printing more simple. Open PDF in 'Window View' This is the default used by PDFs. The viewer application opens a window on the display and shows the PDF inside of this window. You may provide additional hints to the viewer. 'Don't set' in a popup or an indeterminate state of a checkbox means that you do not like to provide this hint to the viewer. Panels Beside the PDF pages the viewer may view a panel showing additional info about the PDF. You may set this option to the following values: Don't set, No panels, Bookmarks panel, Pages panel, Layers panel. Pages Here you can define how many pages are visible in the window at the same time and how these pages are presented: Don't set, Single page, Single page continous, Two-up, Two-up continous, Coverpage + Two-Up, Coverpage + Two-Up continous. Zoom This setting describes the size of a page in the window: Don't set, Fit page, Fit page width, Fit page height, Fit visible, Fit visible width, Fit visible height, Actual size, Zoom to. Zoom to also uses the 'factor' option (a percentage value). If you do not select 'Don't set' the you should also provide a start page index. Window flags Fit: Adapts the window size to the page size Center: Centers the window on the display Show Title: Shows the Info.Title entry above in the window title Hide flags Menu: Hides the menubar of the viewer Tools: Hides the toolbar of the viewer Controls: Hides the controls of the viewer (you may not be able to scroll, ...) Open PDF in 'Fullscreen View' Ask the viewer to open the pdf in fullscreen mode of the viewer. The viewer may ask the user if he accepts this. There are no additional options. Open PDF as 'Presentation' A presentation is a kind of slide show. The viewer will show one page after the other in fullscreen mode. You are able to define transition effects between the pages and timings. Hint: Not all pdf viewers are supporting the presentation mode. Security Settings Setting the 'Encryption' option to Low (40 bit) or High (128 bit) allows you to protect the content of the PDF. The owner password is needed if there is the need to modify the PDF later. If the user password is set then the viewer application will ask for this password to open and decrypt the PDF. The 'Allow' flags define what the user is allowed to do with the PDF. Known issues ImPDF.Save.FileType v1.1: You have to set the user environment variable ImPDFArguments (v1.1 only) the "Defaults" button may cover other dialog controls => resize the dialog a bit Rick will check if this is a plugin or an application issue. Final Page Size' may show 'Unknown' => change any dialog setting forth and back This is because the dialog has no idea about the document size temporary. "OK" button is not diabled if the set of settings are not in a good state Only the application is able to disable the "OK" button. "Cancel" just cancels the operation but not any changed setting. I guess this an application issue. The preview does not show a preview of the page or the degeneration caused by JPEG encoding. The application generates the preview using the standard load method of the filetype plugin. But this plugin does not provide load because it is not able to load all variants of PDFs (just the ones the plugin generates). Maybe the application could add an OnSavePreview method in the future. Examples None History History of ImPDF.Open.FileType ImPDF.Open.FileType 1.0 (15.3.2014) - Removed one conflict with the PDF-Export pugin ImPDF. - Individual filter entry for each file extensions in OpenFileSelector dialog - Derived from the general ImPS.Open.FileType plugin. History of ImPDF.Save.FileType ImPDF.Save.FileType 1.4 (15.3.2014) - Renamed dll from ImPDF.FileType.dll to ImPDF.Save.FileType.dll - Changes to avoid conflicts with ImPDF.Open.FileType ImPDF.FileType v1.3 (22.7.2012): - Added Content option which allows to store the composite (flat) image or the layers or both - Added Viewer settings for open pdf in window mode. This allows to define things like the visible panel, the layout of the pages in the window, the view size of the image, the zoom value, the start page and more - Added Viewer setting to open pdf in presentation mode (slide show). Here you can define transition effects, transition time, view duration, looping, and background color. This feature embeds JavaScript into the pdf. So be prepared to check your viewer settings. - Added Security Settings: This allows you to encrypt the PDF using 40bit and 128bit password protection. You may define a password required to open the pdf and restrict the access to the pdf. Encryption is not possible if you like create PDF/A documents ImPDF.FileType v1.2: - Added conformance to PDF/A-1B ISO standard for long-term archiving of documents. Select this feature via the "Conformity" combo box in the "Save configuration" dialog. In additon you have to select an RGB color profile (best would be the one of your display). See www.color.org for the idea of color profiles. By default the plugin looks for the profile "ImPDF.Default.icc" in the Filetypes folder of Paint.NET. So you may place a copy of a profile there. ImPDF.FileType v1.1: - Adds some layout and viewer options. - Select the page size from some presets or choose a user-defined size or the image size. - Borders may be added to restrict the part of the page used for displaying the image. - The image can be scaled and positioned relative to the page. - Viewer options allow you to view the page rotated or in full screen view at the time when you are opening the PDF. v1.0: The first version is quite simple. It just allows to create a one page PDF in the size of the original image showing the composite image. The encoding and some PDF description entries can be set. Future version may generate layered PDFs.
  2. Martin Osieka

    Print It (Tools Effect)

    ::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 overlayed 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) here 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 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. 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. 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. 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. 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
  3. 'Scalable Vector Graphics' FileType Plugin (.SVG, .SVGZ) Summary Imports SVG files (and the compressed variant SVGZ) and renders them to Paint.NET bitmap layers. This plugin does not require an external renderer like Inkscape. The SVG specification is a living standard, do not expect that this plugin supports all features. (Some do not make sense in an image editor like interactivity or animation elements). Using the plugin you can open the downloaded files in any resolution you like w/o loss of quality. Author Martin Osieka Download >>ImSVG.FileType v0.18 (23.3.2014) Installation Follow the instructions carefully Copy the two files OptionBasedLibrary vX.X.dll/.dlc to the Paint.NET\ folder (NOT to Paint.NET\FileTypes\ !!!) Copy the two files ImSVG.Open.FileType.dll/.dlc to the Paint.NET\FileTypes\ folder Remove other plugins supporting the same file type (.svg) from Paint.NET\FileTypes\ folder (to avoid possible conflicts) I.e. 'SVGImport.dll' plugin. Remove older ImSVG*.* files. Do not remove older versions of the OptionBasedLibrary if they are required from other plugins. To verify the installation you should restart Paint.NET and check that in the filetype popup of the open file selector dialog is an entry starting with SVG. Compatibility Paint.NET 3.5.11 and 4.0.5 Supported languages The language used in the plugin depends on the language setting of Paint.NET and the support of this language by the plugin. The fallback is the first supported language of the plugin. Languages are defined in the .dlc files. This plugin supports the following languages in the moment: English Deutsch Dialog options Size settings given in SVG file (readonly) Some SVG files provide hints about the canvas to create by the application. Viewport is the size to use on the canvas. Width and height may show a unit or a percentage. Viewbox is the range of coordinates used in the SVG file. The viewbox will be stretched to the viewport respecting aspect ratio (or not). Size selection by user Resolution: The DPI value is used to setup the document and to calculate coordinates and lengths in the SVG file. If the viewport has values with units then changing the dpi value will change the canvas pixel size. This allows you to get a better quality of the rendered SVG graphic. Canvas: The pixel size used for the document. Keep Aspect Ratio: Keeps the ratio between canvas width and canvas height Options Background: Typically the background of an SVG file is transparent. This option allows you to select your own background. If the 'Layers' option is not set to 'flat' then the background will be placed in a seperate layer. Layers: If this option is not set to 'flat' then a new layer will be generated for each top-level element in the svg file. If you created the file with Inkscape it will show you the inkscape layer structure. Be warned: Depending on the file the not 'flat' option will generate a lot of layers. This may slow down the application. File folder: Paint.NET does not provide the file path to the plugin (just a data stream). If an SVG file uses relative references to other files (like bitmap images) then this option allows you to specify the SVG file folder. File Infos (read only) (only visible if they are defined in the SVG file) Title: The 'title' element of the svg file. Description: The 'desc' element of the svg file. Known issues Paint.NET does not provide a load dialog template to filetype plugins. So to allow ImSVG to show a dialog it delegates its dialog (derived from PdnBaseForm) to the thread of the main window. This works fine but not perfect. So you will not get an error beep if you are clicking to the main window while the ImSVG dialog is open. If you are cancelling the option dialog you will get an unspecified error. But this just means that Paint.NET has no idea about cancelling the open operation. Paint.NET 4.0 shows in the "Error details" that the user cancelled the action. Paint.NET 3.5.11: If you try to 'Save' (not 'Save As') a loaded svg then Paint.NET will not fallback to 'Save As' automatically. The 'Save' dialog opens and shows an error. This is fixed in Paint.NET 4.0. To Do list Add support for filter element (Minimum Gaussean blur). Improve text support (Font handling, text areas and text on path) Better support for SpreadMethod attribute used for gradients. Examples Here are two examples of SVG files from Wikipedia.de 'Smiley' http://upload.wikimedia.org/wikipedia/commons/d/d5/Face-angel.svg http://upload.wikimedia.org/wikipedia/commons/7/70/Face-devil-grin.svg Remark: For some reason the image tag of the thread editor does not allow the .svg extension. Therefore here are the .png versions History 0.18 (23.3.2014) - Dll name changed from ImSVG.FileType.dll to ImSVG.Open.FileType.dll - Changed the handling of the resolution and canvas options. - Updated to OptionBasedLibraray 0.6 0.10 (15.10.2013) - Patches to support Paint.NET 4.0 0.9 (14.10.2013) - First public release
  4. 'Parallel Lines and Patterns' Render Effect Plugin Summary This Paint.NET effect plugin allows you to fill the selection of the current layer with parallel lines or patterns. Ok there are two plugins already allowing to fill with parallel lines (Scan Lines, Diagonal lines) but maybe you like this basic one too. Keywords Render, Fill, Parallel Lines, Diagonal Lines, Waves, Hatches, Patterns, Moire effect Author Martin Osieka Download >> ParallelLines v1.6 (8.3.2015) Installation Follow the instructions carefully Unzip "ParallelLines.Effect vX.X.zip" Copy the two files OptionBasedLibrary vX.X.dll/.dlc to the Paint.NET\ folder (NOT to Paint.NET\Effects\ !!!) A typical location is "C:\Program Files\Paint.NET". Copy the two files 'ParallelLines.Effect.dll/dlc' to the Paint.NET\Effects\ folder. A typical location is "C:\Program Files\Paint.NET\Effects". 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->Render->Parallel Lines and Patterns... (oder für deutsche Anwender unter Menu->Effekte->Rendern->Parallele Linien und Muster... ;-) Compatibility Paint.NET 3.5.11 and 4.0.5 Supported languages The language used in the plugin depends on the language setting of Paint.NET and the support of this language by the plugin. The fallback is the first supported language of the plugin. Languages are defined in the .dlc files. This plugin supports the following languages in the moment: English Deutsch You may add your own translation to the .dlc file. Dialog options The options of the effect are subdivided in three sections: Proportions, Orientation, and Colors. You can select a section via the tabulators on top of the dialog. Proportions Section The options in this section define the proportions of the final fill pattern. A line is composited from line segments. A line segment has several options which define shape and size of the segment and because the segment is repetitive also of the whole line. Parallels Count: You may select 'Infinite' to fill the area above and below of the reference vector 'One line' which means there are no parallel lines just one single line. 'Custom' which enables the value control below. There you can enter the number of lines you like to get. Distance: The distance between the parallel lines depends on the setting 'Center of lines' and 'Border of lines'. 'Border of lines' means somehow the maximum bounding box of a single line. This value is an estimate because it depends on a lot of options and the way the rendering engine works. if 'Center of lines' is selected then the lines may overlap. Drift: This value defines how much a line is shifted horizontally compared to its neighbour line. Whole Line Length: Choose between 'Infinite' which means there is no limitation of the length in the visible area 'One period' the length is defined by the 'Period' option of the 'Repetitive line segment' 'Custom' s user defined length. But repect that the real length is in most cases a multiple of a 'Period'. Thickness: The width of the pen used to draw a line. Joining: Defines how vertices of a line segment are drawn. Only used for lines with vertices. Caps: The caps at the start and the end of a continous line. Repetitive Line Segment Shape: Defines the basic look of the segment. There are basic lines, waves and closed shapes. Amplitude: The distance between top and bottom of lines with vertical elements. Period: The length of a line segment before it repeats Split at: Some shapes are divided in a first and a second half. Changing the split value changes the ratio of the two parts. Here a Square Wave using different split values: Tilt: Some shapes show a tilted line element in the shape. Respect changing the tilt value does not change the amplitude instead the length of the tilted element will change. Orientation Section In this section you are defining the reference vector of the lines, and optional scale factor, and the dpi value of the layer (if you like to use cm or inch input values). Reference vector 'Origin at center of pixel If set then - the position (0,0) is at the center of the top/left pixel of the bounding rectangle of the selection - reference point values will be rounded to integer values without fractional parts If not set then - the position (0,0) is at top/left of the top/left pixel of the bounding rectangle of the selection - reference point values will not be rounded So if the switch is off you get more precise results but maybe not what a user expects at first glance. Check the difference by drawing a one pixel line. Starting Point and angle: These values define the origin and orientation of the basic line segment. All other line segments are drawn relative to the basic line segment. Length: Not used in the moment Show while dialog is open: If checkmarked then the layer will show a red rectangle and a small circle. The circle is the origin and the rectangle is calculated from amplitude, period and reference angle. In the final rendering of the layer these indicators will never be visible. Reference Scale Scaling happens in the final drawing. Means if you enter a value of 1cm somewhere and the scale factor is set to two then 2cm will be used in the drawing! Pressing the 'Apply' button will scale the depending options and reset the scale factor to one. Image Resolution: The resolution option is only of interest if you like to enter cm or inch values in the dialog. You should set the value used in the image here. Makes most sense if you like to print the image later in the specified resolution. Best is to use the 'Print It' plugin ;-) Colors Section You may set the color of the lines and the background here. The default values are: Use Paint.NETs Primary Color for the lines and the original layer content for the background. Lines are always rendered against the selected background. So changing the opacity of the line color will show you the selected background color below. Hints You may use units like cm and inch to specify values in the controls (see the tooltip of the control). Converting from the current value in the control to a different unit is done by just typing the new unit into the edit field without a value. Clearing the editfield will return to the current value with the base unit (the first unit in the tooltip. Some controls provide additional features if you are pressing shift while the mouse is used. I.e. the slider values will be catched to fixed values. Instead of shift you may press the right mouse button together with the left one. Known issues Paint.NET does not provide the dpi value of the current image to effect plugins. The plugin uses the dpi value to allow the user to enter values in cm or inch. To get correct values you have to enter the dpi value of the image in the reference tab of the dialog. The default value is 96 dpi. Examples History 1.6 (8.3.2015) - The Circle, square, dieamond, and hexagon shape use the center parameter. - The dialog can be resized. - The interference layer angle got the option to 'spread' the reference vector or to ' add' to the vector 1.5 (18.1.2015) - Added 'Interference layer' option: Allows to overlay a duplicate of the line pattern with a different angle. This may be used to create a moire effect. 1.4 (4.1.2015) - Reorganized the shape line types to make it easier to use regular shape types and their stretched parts. The size of Circles, Squares, Diamonds and Hexagons is defined only by the amplitude option now. The streched variants like ellipse, rectangle, streched diamonds and stretched hexagons work as before. - Added Hexagon Shapes - Length of whole line allows to select 'One Period' now. This makes it easier to render just one single line segment like a single hexagon. - Added reference scaling. Scaling happens in the final drawing. Means if you enter a value of 1cm somewhere and the scale factor is set to two then 2cm will be used in the drawing! Pressing the 'Apply' button will scale the depending options and reset the scale factor to one. - The reference point option control allows to enter pixel or other unit values now (instead of percent). - Added switch 'Origin at center of pixel (else in-between pixels)' If set then - the position (0,0) is at the center of the top/left pixel of the bounding rectangle of the selection - reference point values will be rounded to integer values without fractional parts If not set then - the position (0,0) is at top/left of the top/left pixel of the bounding rectangle of the selection - reference point values will not be rounded So if the switch is off you get more precise results but maybe not what a user expects at first glance. - Tooltip of NumericUpDown controls shows the value of the control in different units now (before just the possible unit names). - Added a work-around to avoid that sometimes the first tab page of the dialog shows a slider. The basic issue is still not fixed in OptionBasedLibrary but it should be OK for this dialog. 1.3 (19.12.2014) - Diamond, Ellipse and Rectangle Shape cover now the whole period if 'Center at' is set to 50% (the default value) This makes it easier to create overlapping shapes without loosing any of the old functionality. - Changed the start point of the Spiral Wave so that it looks more symmetric in limited length mode. - Added 'Fill Color of Lines'. Because waves do not have closed shapes they will look half-filled. 'Stroke color of Lines' allows to set the value 'None'. - Added 'Fir Tree' shape 1.2 (17.12.2014) - Added option to limit the length of the parallel lines to reference section. - Added start end end caps for limited continous lines (without gaps). - Added 'Spiral' line type - Added keywords to the code used by plugin browser 1.1 (11.12.2014) - Fixed the wrong symbol image of the 'Divided Line' shape (an error in the OptionBasedLibrary) - Added the option to specify an amount of parallel lines - Added dash-dotted line shape 1.0 (10.12.2014) - First public release
  5. 'ZIP Archive' FileType Plugin (.ZIP) Summary Loads/saves the content of a Paint.NET document (layers and metadata) from/to a compressed ZIP Archive. Each layer will be a separate file in the archive (or if the tiling feature is used a set of files where each file contains one tile). Several formats for the layer files are supported: PNG, BMP, GIF, and JPEG. Additionally a thumbnail and a composite image can be stored in the archive. Tiling of the image is possible. Save may chop up the layers into tiles and load will glue the tiles together to the original image. This file format may be used - to export the layers to an other application in a standard format. - to zip the image if an upload location does not allow .pdn format. - as a replacement for the external Paint.NET tool LayerSaver Keywords FileType, ZIP, Archive, Save layers, Load Layers, Split layers, Tiles Author Martin Osieka This software includes the class ZipOutputStream from DotNetZip distribution to do the zipping. See DotNetZip.License.Combined.rtf. Download Find the latest version of the plugin ImZip.FileType v1.0 (8.7.2015) here: ImZIP.FileType v1.0.zip Installation Follow the instructions carefully Copy the two files 'ImZIP.FileType.dll/.dlc' to the Paint.NET\FileTypes\ folder Remove other plugins supporting the same file type (.zip) from Paint.NET\FileTypes\ folder (to avoid possible conflicts) I.e. 'TileImageFileType.dll' plugin. To verify the installation you should restart Paint.NET and check that the filetype popup of the 'Open...' file dialog contains an entry starting with ZIP. Compatibility Paint.NET 3.5.11 and 4.0.5 Supported languages The language used in the plugin depends on the language setting of Paint.NET and the support of this language by the plugin. The fallback is the first supported language of the plugin. Languages are defined in the .dlc files. This plugin supports the following languages in the moment: English Deutsch 'Save dialog' options Format of embedded images The following formats are available in the moment PNG 32-bit ARGB BMP 32-bit ARGB GIF 8-bit RGB opaque (loosy) JPEG opaque (loosy) Only PNG ARGB and BMP ARGB allow you to load the zip back in the original quality. Because GIF and JPEG do not support an alpha channel, the layers will be rendered against a white background before saving. You can see this in the preview window. Thumbnail (preview image) If checked then a file 'Thumbnail.png' will be added as the first entry to the zip. This allows shell extensions of Windows File Explorer to show a preview of the zip. A thumbnail is not required to restore the Paint.NET document. Composite (flattened image) If checked then a file 'Composite.EXT' will be added to the zip. The êxtension depends on the selected image format. The composite has the same size as the layers. A composite is not required to restore the Paint.NET document. Tiling of layers The layer content can be splitted in square or rectangular tiles. Typically this is used on flattened images but it works on a layered image too. Decreasing the size of the tiles will slow down the processing and increase the number of files in the archive. 'Load dialog' options None ZIP file content A ZIP file describing a Paint.NET v3 document may contain the following files: 'PaintDotNet.txt' A txt file in UTF-8 format (starting with an UTF-8 BOM: 0xEF 0xBB 0xBF) In the moment the file just contains the signature text "PDN3" which means that the zip file describes a version 3 Paint.NET document completely. 'Thumbnail.png' A 32-bit ARGB png image containing the composite image of the document scaled down to a maximum size of 256 x 256 pixels (respecting the aspect ratio). Thumbnail.png should be the first file in the zip archive to support shell viewers which show the first image in the zip file in Windows FileExplorer. 'Composite.EXT' A composite (flattened) image in the requested image format. 'L{id},R{row},C{column},{name},{visibility},{mode},{opacity}.EXT' All layers of the document are stored in the selected image format. The file name of a layer starts with the character 'L' and contains the following elements {id}: The decimal index of the layer in the range [1..Z]. 1 is the bottom layer. The index may be preceeded by '0' characters. {row}: The decimal index of the row in the range [1..Y]. {column}: The decimal index of the column in the range [1..X]. {name}: The name of the layer. Unicode letters and digits are used directly but all other characters will be replaced with their 32-bit hexcode preceded with the character %. I.e. a comma in the name will be replaced with %002C. {visibility}: may be 'visible' or 'hidden' {mode}: Is the blend mode of the layer in lowercase letters, I.e. 'normal' {opacity}: The opacity value of the layer in the range [0..255]. 255 is opaque. The loader checks all file names in the archive for the pattern L{z},R{y},C{x} sorts them and glues all tiles of a layer together. The image with id 'L1' defines width, height, and dpi value of the document. Known issues Paint.NET does not inform the filetype plugin that the save operation has been aborted because the user changed a parameter of the dialog. This slows down the time needed to compute the size of the file. So avoid to change the parameters too fast. History 1.0 (8.7.2015) - First public release
  6. Released. See 'ZIP Archive' FileType Plugin (.ZIP) --- Maybe some users are missing LayerSaver in 4.0. I created a filetype ImZip.FileType as an alternative to LayerSaver: ImZip.FileType v0.2.zip It saves and loads the pdn document as a zip archive which contains - a thumbnail png. - pngs of all layers (The filename of the pngs contain the layer index, name, visibility, blendmode and opacity. This is a test version. There are error checks missing and more. In the moment the layer attributes are coded in the filenames. I'm thinking about to put them in an xml file 'Paint.NET.pdni' to describe the file structure. There should be a unique file in the archive to identify the archive as a PDN zip. This filetype may conflict with the 'Image Tiling FileType' because both are using the extension .zip. Maybe I'm incorporating the tiling feature into ImZip. ImZip.FileType has no UI. Feedback is welcome.
  7. 'Portable Anymap' FileType Plugin (.PAM, .PBM, .PGM, .PPM) Summary Paint.NET FileType plugin which loads and saves image files in one of the PNM (Portable Anymap) file formats: PAM - Portable Arbitrary Map (Black and White, Grayscale, RGB; Alpha channel; raw only; up to 16bits per channel) PBM - Portable Bit Map: (Black and White; plain and raw) PGM - Portable Gray Map: (Grayscale; plain and raw; up to 16bits per channel) PPM - Portable Pixel Map: (RGB; plain and raw; up to 16bits per channel) These are quite old image formats used mainly in the academic area. They do not support any kind of packing the pixels. For more information see 'The Netpbm Formats' Author Martin Osieka Download Find the latest version of the plugin ImPNM.FileType v1.1 (19.2.2015) here. Installation Follow the instructions carefully Copy the file ImPNM.FileType.dll to the Paint.NET\FileTypes\ folder Remove other plugins supporting the same file types (.pam, .pbm, .pgm, .ppm) from Paint.NET\FileTypes\ folder (to avoid possible conflicts) I.e. 'PNMPlugin.dll' plugin. After a restart of Paint.NET you will find the plugin in the 'Save as type' selector of the 'Save' and 'Save As' dialog. 'Load' does not use a dialog. Compatibility Paint.NET 3.5.11 and 4.0.5 Supported languages English Dialog options Save as .PAM dialog options Output color model selector You may choose between: RGB+Alpha, RGB, Gray+Alpha, Gray, Black and White + Alpha, and Black and White. Because the internal color model of Paint.NET is RGB+Alpha the plugin has to convert the existing image data if you are choosing a different output model. RGB+Alpha: Outputs RGB + A. RGB: Blends the image against the background color (w/o effect if the image is opaque). Outputs RGB. Gray+Alpha: Calculates gray values from RGB values. Outputs G + A. Gray: Blends the image against the background color (w/o effect if the image is opaque) and calculates gray values from the resulting RGB values. Outputs G. Black and White + Alpha: Calculates gray values from RGB values. Converts Gray to BW. Outputs BW + A. Black and White: Blends the image against the background color (w/o effect if the image is opaque) and calculates gray values from the resulting RGB values. Converts Gray values to BW values. Outputs BW. 'Maximum value in channel' numeric control In Paint.NET the maximum value in all channels (R, G, B, and A) is 255. This control allows you to use any value between 1 and 65535. The formula to map the channel values is dstValue = (srcValue * maxValue + 127) / 255 For sure if you are scaling the value up then you will not get more details in the picture. No magic. The maximum value used by 'Black and White' is always 1. Background color selector This color is used if one of the color models w/o alpha is selected. Save as .PBM, .PGM, and .PPM dialog options There is only one difference against the .PAM dialog. Instead of the color model (which is fix by the file type) you are able to select between a raw (binary) and a plain (Ascii text) mode. Known issues The color wheel control used to set the background color does not match the size available in the dialog. It looks somehow OK in Paint.NET 3.5.11 but not quite good in Paint.NET 4.0 BETA. Maybe this will change in a later version of Paint.NET. To Do list Optimize for speed Examples Paint.NET forum logo in PAM format.zip History 1.1 (19.2.2015) Fixes the issue that the plugin opens the web page of the plugin w/o a request of the user. 1.0 (27.2.2014) First public release
  8. 'Interchange File Format' FileType Plugin (.IFF, .ILBM, .LBM, .ANIM) Summary Paint.NET FileType plugin which loads images and animations in some of the IFF file formats. Some because IFF is a container format which may contain all kind of data (images, animations, documents, audio, video, ...). This format was used on Atari and Amiga computers in the Nineties of the 20th century. Supported open formats: - IFF-ILBM: Interleaved images with 1 to 8, 24, and 32 planes. HAM-6 and HAM-8 subformats are supported. - IFF-PBM: Non-interleaved images - ILBM images containing color cycles. Color cycles are a method to create animations by changing entries in the color map instead of the image data. Each possible cycle will create a new frame. - IFF-ANIM: Animations providing a base frame and additional delta frames. Delta operations 5,7, and 8 are supported. Supported save formats: - None. Each frame of an animation will be loaded as a layer in Paint.NET. The layer name will me marked with !ST<duration>, where duration is the time the frame should be shown in milliseconds. If a layer is not marked with !ST<duration> then the time of the previous frame will be assumed. This marker is recognized by the PDNAnimator tool and can be used to transform the animation in a more modern file format (like APNG). Author Martin Osieka Download Find the latest version of the plugin here >> ImIFF.FileType v1.0 (31.10.2014) Installation Follow the instructions carefully Copy the file ImIFF.FileType.dll to the Paint.NET\FileTypes\ folder Remove other plugins supporting the same file types (.iff, .ilbm, .lbm, .anim) from Paint.NET\FileTypes\ folder (to avoid possible conflicts) I.e. 'PDNIFFPLUGIN.dll' plugin. After a restart of Paint.NET you will find two new entries in the file types popup of the 'Open' dialog: IFF Images (.iff,*.ilbm,*.lbm) IFF-Animations (*.anim). Be aware any of these extensions may load all kinds of supported IFFs. The selected extension is just used as dialog filter. Compatibility Paint.NET 3.5.11 and 4.0.5 Supported languages English Known issues If the file contains color cycles with different frequencies then only the frames for the first color cycle will be generated. The reason is that trying to generate all possible combinations of the different color cycles may generate an infinite number of frames. Unknown issues If you are not able to load an iff image or animation and you are 99% sure that the file is not damaged then provide a copy for testing. To Do list Some options to adapt the imported files (like respecting the aspect ratio). Examples None History 1.0 (31.10.2014) First public release
  9. 'GiMP Native Format' FileType Plugin (.XCF, .XCFGZ, .XCFBZ2) Summary Plugin which allows the digital image editor "Paint.NET" to load and save images in the GIMP native file format XCF (and its packed variants XCFGZ and XCFBZ2). Author Martin Osieka Download >> ImXCF.FileType v1.4 (31.12.2014) Installation Follow the instructions carefully Unzip "ImXCF.FileType vX.X.zip" and copy the two files "ImXCF.FileType.dll" and "ImXCF.Command.exe" into the "FileTypes" folder of your Paint.NET installation. A typical location is "C:\Program Files\Paint.NET\FileTypes". f the "FileTypes" folder does not exist in your Paint.NET installation then create this folder first. Compatibility Paint.NET 3.5.11 and 4.0.5 Supported languages English Options Mapping between XCF and PDN format The load conversion includes all layers and some properties (name, opacity, visibility, blendmode, and alpha channel). A layer mask will be merged to the alpha channel. Layers will be clipped to the canvas and filled-up with transparent pixels. Indexed and grayscale images will be converted to RGB images. Blend modes not known in PDN will be converted to Normal mode. Compression modes RAW and RLE are supported. Packing modes GZ and BZ2 are supported. The save conversion includes all layers and some properties (name, opacity, visibility, blendmode, and alpha channel). Blend modes not known in XCF will be converted to Normal mode. Compression mode is always RLE. Packing modes GZ and BZ2 are supported. Known issues None History 1.4 (31.12.2014) - Fix to support Paint.NET 4.0.5 which is more strict in the order of serialized data 1.3 (14.7.2014) - Minimal support for XCF format v003 (GIMP 2.8 layer groups) - Updated to ImXCF.Command 1.3 1.2 (30.3.2014) - Updated internal links - Changed order of sub-filetypes in SaveAs selector - Small improvements in ImXCF.Command. Updated to ImXCF.Command 1.2 1.1.1 (20.3.2013) Security update ImXCF.Command.exe (overflow issues) v1.1: Bug fix: Pathname of the temp folder may now contain spaces v1.0: Load XCF, XCFGZ, or XCFBZ2: - The load conversion includes all layers and some properties (name, opacity, visibility, blendmode, and alpha channel). - A layer mask will be merged to the alpha channel. - Layers will be clipped to the canvas and filled-up with transparent pixels. - Indexed and grayscale images will be converted to RGB images. - Blend modes not known in PDN will be converted to Normal mode. - Compression modes RAW and RLE are supported. - Packing modes GZ and BZ2 are supported. Save XCF, XCFGZ, or XCFBZ2: - The save conversion includes all layers and some properties (name, opacity, visibility, blendmode, and alpha channel). - Blend modes not known in XCF will be converted to Normal mode. - Compression mode is always RLE. - Packing modes GZ and BZ2 are supported Known issues v1.0: - Pathname of the temp folder does now allow spaces
  10. 'Windows Metafile' FileType Plugin (.EMF, .WMF, .EMZ, .WMZ) Summary Imports Windows metafiles and renders them to Paint.NET bitmap layers. Supported types are WMF, EMF, EMF+, and the compressed variants WMZ and EMZ. The compressed variants are not documented but MS Word is able to insert them. There is a very basic implementation of export to EMF. It embeds the bitmap layer of Paint.NET into an EMF. Because it is not possible to generate vectors from the bitmap this feature is of limited use. Author Martin Osieka Download Find the latest version of the plugin ImEMF,WMF.FileType v1.1 (8.3.2015) >> HERE << Installation Follow the instructions carefully Copy the two files OptionBasedLibrary vX.X.dll/.dlc to the Paint.NET\ folder (NOT to Paint.NET\FileTypes\ !!!) Copy the two files 'ImEMF,WMF.FileType.dll/dlc' to the Paint.NET\FileTypes\ folder Do not remove older versions of the OptionBasedLibrary if they are required from other plugins. To verify the installation you should restart Paint.NET and check that in the filetype popup in the open file selector dialog are entries starting with EMF and WMF. Compatibility Paint.NET 3.5.11 and 4.0.5 Supported languages The language used in the plugin depends on the language setting of Paint.NET and the support of this language by the plugin. The fallback is the first supported language of the plugin. Languages are defined in the .dlc files. This plugin supports the following languages in the moment: English Deutsch Dialog options File Infos section This section just shows settings loaded from the file. Typically the resolution is the physical resolution of the screen attached to the computer where the metafile has been created. The pixel values are somehow virtual because a metafile contains a vector grafic. There are three basic variants of Windows metafiles: - WMF (Windows Metafile) is the oldest and supports GDI 16bit only. - EMF (Enhanced Metafile) is the update to GDI 32bit. - EMF+ (Enhanced Metafile Plus) adds the features of GDI Plus (i.e. anti-aliasing and alpha channel) Render section The default values of resolution and extent are the values in the File Infos section. By increasing or decreasing the dpi value you are changing the quality of the final image. The anti-alias option allows you to improve the quality of the old formats WMF and EMF. This is done by translating all commands in the file from GDI to GDI Plus. This feature is off by default because the translation may have unexpected effects in the final image. The background color defines the filling of the image canvas before the rendering starts. The default color is transparent white. Known issues Paint.NET does not provide a load dialog template to filetype plugins. So to allow the plugin to show a dialog it delegates its dialog (derived from PdnBaseForm) to the thread of the main window. This works fine but not perfect. I.e there will not be an error beep if you are clicking to the main window while the load dialog is open. If you are canceling the option dialog you will get an unspecified error. But this just means that Paint.NET has no idea about canceling the load operation. PDN4 allows you to check the error details. If it tells "Canceled by user" then no error happened. If you try to 'Save' (not 'Save As') a loaded metafile then Paint.NET will not fallback to 'Save As' automatically. The 'Save' dialog opens and shows an error. This is fixed in Paint.NET 4.0. Examples Example Bike.wmf is an example metafile found on the web. Load it with the anti-aliasing option switched off and on to see the difference. Example Sheet.emf and Example Sheet.emz contain the same graphic but the compressed variant is just 10% in size. History 1.1 (8.3.2015) - Replaced in 'File Infos' section the dpi values line with a line showing the physical size given in the metafile. - Use of virtual pixels to describe the device units in the meta file. 1.0 (22.2.2014) - First public release
  11. ::PluginIndex::Effect::Color Harmonies::0.7::2014-07-25::Martin Osieka::Select set of harmonic colors or pick single color:: The 'Color Harmonies' plugin allows to choose a single base color or a harmonic set of colors derived from a base color. Download Find the latest version Color Harmonies v0.7 (25.7.2014) HERE Installation - Copy the two files OptionBasedLibrary vX.X.dll/.dlc to the Paint.NET\ folder (NOT to Paint.NET\Effects\ !!!) - Copy the two files ColorHarmonies.Effect.dll/.dlc to the Paint.NET\Effects\ folder - Do not remove older versions of the OptionBasedLibrary if they are required from other plugins. - But do remove older version of the ColorHarmonies effect if it used a different dll name. After a restart of Paint.NET you will find the plugin at Menu->Effects->Tools->Color Harmonies... (oder für deutsche Anwender unter Menu->Effekte->Werkzeuge->Farbharmonien... ;-) Compatibility Paint.NET 3.5.11 and 4.03 Supported languages English, Deutsch Keywords Color harmonies, Color picker, Color palette, Color set, Farbharmonien, Farbwähler, Farbpalette, Farbmenge Configuration options Choose the type of harmonic colors on top of the dialog. Depending on this type the color area below will show some markers. The largest marker marks the base color. All other markers are derived from the base color marker. Below the color area there are the colors and hexadecimal rgb values of all the colors in the set. The leftmost color is the base color. This is the single entry you may edit. If 'Single Color' is choosen then a color picker symbol is right to the color box. Next are the boxes of the three possible color models (RGB, HSV, and HSL). Each box shows the values of the three channels building the color model. Selecting one of the channels by clicking the radi button changes the color area and the slider right to the color area. The slider allows to change the value of the selected channel. Right click to the color area shows a context menu. - Square or Wheel (or Square): Select which variant you like to use for the color area. - Full adaptive: If checked then the color area will be adjusted depending on the slider value. - Dark theme: Sets a dark dialog background On OK the base color will be copied to the clipboard and the set of colors will be stored as a palette file in your palette folder. The 'Colors' window of Paint.NET allows you to load the palette file. Remark: The selected base color will not be your primary color automatically. If you like to use it then you have to paste the value in the box below of the RGB values in the expanded 'Colors' window. If you are used to the Windows build-in color selector then you may select the L channel of the HSL model. Then select 'Square' in the context menu of the color area. You will get the following view: Color models Issues depending on the Paint.NET plugin API - It is not possible to request the localized name of the palette folder via the API. Because of this the subfolder name is stored in the .dlc file of the effect. If you are using a different language setting than English or Deutsch then the complete .dlc file must be translated to your language and environment . History 0.7 (25.7.2014) see download link above - rotated the color wheels so that the warm colors (red..yellow) are on top and the cold colors (cyan..blue) are on bottom - if the palette subfolder does not exist then the palette will be stored in the localized Paint.NET user folder - if 'Single color' is selected on OK then no palette file will be created. - Added 'Screen Color Picker' to 'Single Color' mode. Clicking the button activates the color picker. The picking interval is 200ms. Mouse click or any keypress stops picking the color (Escape restores the previous color). Remark: Outside of the application the cursor does not show the picker symbol but is still working. No idea in the moment how to fix this. 0.6 (20.07.2014) - First public release
  12. Plugin which allows the digital image editor "Paint.NET" to take measurements of the active selection or of the whole image. This works for regular shapes like rectangles, for irregular ones, and for not connected shapes. You may set unit, dpi and scale if you have to do measurements in a map or a technical drawing. Measured values are area and centroid of the selection area, width, height, diagonal, and angles of the bounding rectangle. So if you like to measure the distance between two points in the image just use a selection rectangle form one point to the other and check the value for 'Diagonal' in Measure Selection. You may use the resulting angle value to straighten your image using the rotate tool. Or if you need the area of a cirle just use a circle selection. Download >> Measure Selection version v1.5 (26.3.2014) Example Installation Unzip "MeasureSelection.Effect vX.X.zip" and copy the following files MeasureSelection.dll, MeasureSelection.dlc into the Effects folder of your Paint.NET installation. A typical location is "C:\Program Files\Paint.NET\Effects". OptionBasedLibrary vY.Y.dll, OptionBasedLibrary vY.Y.dlc into the folder of your Paint.NET installation (not into the Effect folder!). A typical location is "C:\Program Files\Paint.NET". After a restart of Paint.NET you will find the plugin under Menu->Effects->Tools. Compatibility Paint.NET 3.5.11 and 4.0Beta Language support English Deutsch: Ist in Paint.NET als Sprache 'Deutsch' ausgewählt, dann sind auch die Dialogtexte und die Texte auf der erzeugten Seite in deutscher Sprache. You may add your own translation to MeasureSelection.dlc Package content The effect dll file The effect dlc file (unicode txt file containing keywords) The OptionBasedLibrary dll file The OptionBasedLibrary dlc file (unicode txt file containing keywords) A readme file An image of the effect dialog Instructions Do or do not a selection in an image Open plugin (Menu->Effects->Tools->Measure Selection...) Select unit, resolution, and scale value which will be used to show the results of the measurement. If you close the dialog using OK, the settings of unit, resolution, and scale will be saved and used in the next call of the plugin. Release History 1.5 (26.3.2014) - Added top/left and bottom/right coordinate - Updated to OptionBasedLibrary 0.6 1.4 (15.10.2013) - Patches to support Paint.NET 4.0 1.3 (12.10.2013) - Added angles of the diagonal inside of the minimal bounding rectangle. - Replaced simple text controls with a drawing showing the results. 1.2 (9.5.2013) - Added 'Centroid of selection' information - Moved the OptionBased part of the plugin to a separate dll. 1.1 (2.4.2013) - Renamed MeasureSelection.txt to MeasureSelection.dlc - Added optional default value keys to the .dlc file - Moved some information from code to the assembly part of the dll 1.0 (1.4.2013) - Initial realease based on OptionBasedEffect library.
  13. 'Chop Up and Save' Tools Effect Plugin Summary Chop up the current layer into tiles and save them to files. The resulting files may be packed into a single zip archive. Supported tile image formats: PNG - ARGB PNG w/o transparency - RGB BMP - ARGB BMP w/o transparency - RGB GIF JPG You may restrict the area to chop up by the current selection. Keywords Tiles, Save Tiles Author Martin Osieka Download >> ChopUp.Effect v1.2 (15.10.2013) Installation Follow the instructions carefully Unzip "ChopUp.Effect vX.X.zip" Copy the two files OptionBasedLibrary vX.X.dll/.dlc to the Paint.NET\ folder (NOT to Paint.NET\Effects\ !!!) A typical location is "C:\Program Files\Paint.NET". Copy the two files 'ChopUp.dll/dlc' to the Paint.NET\Effects\ folder. A typical location is "C:\Program Files\Paint.NET\Effects". 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 under Menu->Effects->Tools. Compatibility Paint.NET 3.5.11 and 4.0.5 Supported languages The language used in the plugin depends on the language setting of Paint.NET and the support of this language by the plugin. The fallback is the first supported language of the plugin. Languages are defined in the .dlc files. This plugin supports the following languages in the moment: English Deutsch You may add your own translation to the .dlc file. Dialog options This software includes the class ZipOutputStream from DotNetZip distribution to do the zipping. See DotNetZip.License.Combined.rtf. Known issues None Examples None History 1.1 (11.10.2013) - Added zipping to archive 1.0 (10.10.2013) - Initial version
  14. Martin Osieka

    Turbulent.Effect plugins

    The following plugins allow the digital image editor "Paint.NET" to render lines and circles combined with some turbulence effect. Useful to create textures like marble, wood slides, flowers, ... Download >> Turbulent.Effect v1.1 (10.11.2012) Installation Unzip "Turbulent.Effect vX.X.zip" and copy the plugins (.dll files) into the "Effects" folder of your Paint.NET installation. A typical location is "C:\Program Files\Paint.NET\Effects". After a restart of Paint.NET you will find the plugins under Menu->Effects->Render. 'Turbulent Lines' Effect Plugin + 'Turbulent Circles' Effect Plugin Options Line/Circle distance: Distance between two lines Line angle: Angle of the line (-180..180) (0 means horizontal) Transition between lines: Defines the wave form used for the pixels between the lines. Depending on the height of the wave the color of the pixel is mapped to the primary or secondary color (or transparency) Available forms are: Half sine wave, Triangle wave, Sine wave, Sawtooth wave and Square wave Invert the transition wave between the lines: Checkbox to select between inverted and not inverted Turbulence amplitude: 0: No turbulance to N: Maximum of chaos Turbulence period: Stretching of the turbulence on the lines Turbulance pattern: Reseed button: Clicking generates a new 3d noise pattern used to render the turbulence Primary color: Color of the lines (Default: Current primary color of Paint.NET) Secondary color: Color of the area between the lines (Default: Current secondary color of Paint.NET) Set transparency instead of secondary color: Checkbox to generate alpha values instead of secondary color .If not selected than the alpha channel is always set to opaque. Go to effect on the web: Clicking the button will open your browser in the location hosting the plugin. Check the location for newer or test versions, help, examples and background information. Examples of rendered lines Examples of rendered circles
  15. 'PostScript' FileType Plugin (.PS, .EPS, .AI) Summary Imports .PS (PostScript) , .EPS (Encapsulated PostScript), and .AI (Adobe Illustrator) files and renders them to Paint.NET bitmap layers. This plugin requires that Ghostscript is installed. Ghostscript is used to render the vector graphics to bitmap layers. Sometimes the rendering of a layer takes a long time (especially for high resolution). Be patient ;-) Author Martin Osieka Download >> ImPS,EPS,AI.FileType v1.0 (15.3.2014) Installation Follow the instructions carefully Install Ghostscript (http://www.ghostscript.com/download/). The plugin has been tested with Ghostscript 9.10. If Paint.NET is running as an 64bit application then you have to install "Ghostscript for Windows (64 bit)" else the 32bit version. The plugin identifies the installed ghostscript version via the registry. If you are using the plugin w/o Ghostscript a messagebox will popup telling you that Ghostscript is required. Copy the two files OptionBasedLibrary vX.X.dll/.dlc to the Paint.NET\ folder (NOT to Paint.NET\FileTypes\ !!!) Copy the two files 'ImPS,EPS,AI.Open.FileType.dll/dlc' to the Paint.NET\FileTypes\ folder Do not remove older versions of the OptionBasedLibrary if they are required from other plugins. To verify the installation you should restart Paint.NET and check that in the filetype popup of the open file selector dialog are entries starting with PS. EPS, and AI. Compatibility Paint.NET 3.5.11 and 4.0.5 Supported languages The language used in the plugin depends on the language setting of Paint.NET and the support of this language by the plugin. The fallback is the first supported language of the plugin. Languages are defined in the .dlc files. This plugin supports the following languages in the moment: English Deutsch Dialog options tbd Known issues None Examples None History 1.0 (15.3.2014) - First public release
  16. 'Spirit Level' Photo Effect Plugin Summary This Paint.NET effect plugin allows you to rotate a layer using a virtual spirit level. If you need to rotate an image then flatten it first. The rotation is limited to the range +/- 45°. This restriction allows the plugin to distinguish between horizontal and vertical leveling automatically. Auto Scale modes allow you to define how the rotated layer will be scaled in the exiting image. Respect that the rotated image will be cropped to the current image dimension. Padding modes define how areas uncovered after the rotation will be filled up. Padding does not have any effect to the rotated area itself. So a transparent area in the image will stay transparent. If you need the rotated image in its rotated size (without scaling or cropping) then use the 'Copy' to clipboard command in the plugin, cancel the dialog, and execute Paint.NETs 'Paste into New Image' command. Or use 'Save As ...' to store the rotated image in a file. Keywords Straighten, Rotate, Spirit Level, Plumb Bob, Horizontal, Vertical, Horizon Author Martin Osieka Download >> SpiritLevel v1.0 (16.5.2015) Installation Follow the instructions carefully Unzip "SpiritLevel.Effect vX.X.zip" Copy the two files SpiritLevel.Effect.dll/.dlc to the Paint.NET\Effects\ folder .dll contains the module code .dlc contains the module configuration (like translated text) After a restart of Paint.NET you will find the plugin at Menu->Effects->Photo->Rotate using a spirit level... oder für deutsche Anwender unter Menu->Effekte->Foto->Rotieren mit Wasserwaage... Compatibility Paint.NET 3.5.11 and 4.0.5 Supported languages The language used in the plugin depends on the language setting of Paint.NET and the support of this language by the plugin. The fallback is the first supported language of the plugin. Languages are defined in the .dlc files. This plugin supports the following languages in the moment: English Deutsch русский (provided by ReMake) You may add your own translation to the .dlc file. Dialog options Choose the object in the image you like to align horizontal or vertical by drawing a line to the image. After releasing the mouse button the image will be rotated so that the line is horizontal or vertical in the main canvas. You may drag the start and end points of the line later to correct the position. If the angle of the line you have drawn is less than +/- 45 degrees compared to a horizontal line then a horizontal leveling will be done else a vertical one. Tip: The precision of the rotation depends on the length of the line. Longer is better in this case. Auto scaling modes: If you rotate an image then parts of the image will no longer be inside of the original image dimensions and other parts will be uncovered. A plugin can not change these dimensions but you can choose one of the auto scaling modes to define how the rotated image will fit into the original image. Scale In: Increases the size of the image so that there are no uncovered areas Off: No scaling Scale Out: Decreases the size of the image so that there are no parts outside. Padding modes: If there are uncovered areas after the rotation then the padding mode defines how these areas will be filled. Transparent Primary color Secondary color Keep: The uncovered areas show the pixels of the original unrotated image Mirror: Mirrors the rotated image at the borders. This provides the most natural effect on photos. The basic user interface of the canvas will be explained in an other message. Known issues None History 1.0 (16.5.2015) - First release
  17. This plugin allows the digital image editor "Paint.NET" to create nets for kaleidocycles. A kaleidocycle is a ring of pyramids which can be twisted inwards and outwards to show different sides of the pyramids. See the simple example of an animated kaleidocycle: In Paint.NET you are able to fill the visible sides of the models with your own images. Then save and print the net. Cut out the model, fold it, glue it together, and play with the result. Or do a 3D visualization of your kaleidocycle. Download Find the latest version >> PaperKaleidocycles 1.3 (24.1.2013) Installation Unzip "PaperKaleidocycles vX.X.zip" and copy the plugin (.dll file) into the "Effects" folder of your Paint.NET installation. A typical location is "C:\Program Files\Paint.NET\Effects". After a restart of Paint.NET you will find the plugin under Menu->Effects->Tools. Language support English Deutsch: Ist in Paint.NET als Sprache 'Deutsch' ausgewählt, dann sind auch die Dialogtexte und die Texte auf der erzeugten Seite in deutscher Sprache. Package content The effect dll PaintDotNET.DinA4Landscape300dpi.pdn and PaintDotNET.LetterLandscape300dpi.pdn are empty template files for Paint.NET PaperKaleidocycleDinA4Example.pdf and PaperKaleidocycleLetterExample.pdf are examples to skip the process of generating a kaleidocycle net in Paint.NET. So if you just like to test printing, cutting, folding, and glueing then use an example. PaperKaleidocycleDinA4Smileys.pdf and PaperKaleidocycleLetterSmileys.pdf are examples PaperKaleidocycleRYGB.gif is an animated GIF file to demonstrate the cycling. Instructions Create a new image in the size of the paper you like to use (here Din A4) Open the Paint.NET 'New' dialog Set 'Resolution' to 300 dpi (pixels/inch) Set 'Pixel size.Width' to 3508 Set 'Pixel size.Height' to 2480 This will create a landscape A4 page (29.7cm x 21cm) You may save this empty image in Paint.NET file format (.pdn) and set it to read only. This way you can double click the file to open it in Paint.NET as a paper template. Open plugin (Menu->Effects->Tools->Paper Kaleidocycles) Because effect plugins are not able to figure out unit and resolution of the image you have to set both values first. Now set the mode to 'Design' and choose your model. If you selected 'Hexagonal kaleidocycle' then you will see the shape of four hexagons in the selected size in the main window. The content of the shape is the previous layer data. Instead of 'Keep layer data in template' you may choose one of the examples. The image above shows the 'Letter & numbers' example in the top views. Click OK to finish this step. Fill in the hexagons with your own images. It doesn't matter if you are overpainting the area outside of the hexagons. The plugin will ignore these areas later. An other way is to do step 2. on a new transparent layer. Then you can place your images on the layer below, move them to the right position and merge the layers. Open plugin (Menu->Effects->Tools->Paper Kaleidocycles) again. Now set the mode to 'Output' (don't change the other parameters). The plugin will render the net. If you used the 'Leters & numbers' example before then you will get the following result in the main window:Click OK to finish this step. Print the image. OK this sounds easier than it is because the build-in printing is limited. You will get better result by saving the image as PDF using the ImPDF plugin (with the default settings). Then print the PDF with a PDF viewer (Set 'Page Scaling' to 'None' in the print dialog). But as long as the aspect ratio of the printed page is not destroyed and you do not care about the exact size of the kaleidocycle you can still go on. Follow the instructions on the paper. Take the model in both hands so that top view 'A' is visible. Now twist the model to see top view 'B', 'C', and 'D'. Visualization There is an additional mode called 'Visualization'. It renders top, front, right, and bottom view of the model to the main window. By changing the cycle state property you can see your model in different states. Here is an example of an star kaleidocycle: More options Instead of 'Design based on top views' you may choose 'Design based on mirroring/rotating a triangle'. This way it is easier to fill the faces with a pattern. 'Model orientation and rotation': Allows you to adapt the 'Rotatable view' in visualization mode.
  18. Plugin which allows the digital image editor "Paint.NET" to take measurements of an object in the active layer. An object is defined by all pixels inside the selection which are not transparent. Because the selection restricts the detection of an object, you may measure different objects in the active layer. Measured values are area, location, width, height, diagonal, and angles of the bounding rectangle. While the dialog of the effect is open the bounding area of the detected object will be colored in red. The drawing inside of the dialog shows a one bit mask of the detected objected (w/o respecting the aspect ratio). A one bit mask is used because it makes only sense to distinguish between transparent and non-transparent pixels. Transparent pixel means its alpha value is zero. Download Find the latest version >> Measure Object v1.5 (26.3.2014) Example The following example shows which area the plugin detects inside of the selected area: Copyright © 2014 by Martin Osieka, ComSquare AG, Switzerland (www.comsquare.ch) License Free for all users to use it as plugin for of the digital image editor Paint.NET. Installation Unzip "MeasureObject.Effect vX.X.zip" and copy the following files MeasureObject.dll, MeasureObject.dlc into the Effects folder of your Paint.NET installation. A typical location is "C:\Program Files\Paint.NET\Effects". OptionBasedLibrary vY.Y.dll, OptionBasedLibrary vY.Y.dlc into the folder of your Paint.NET installation (not into the Effect folder!). A typical location is "C:\Program Files\Paint.NET". After a restart of Paint.NET you will find the plugin under Menu->Effects->Object. Compatibility Paint.NET 3.5.11 and 4.0Beta Supported languages English, Deutsch You may add your own translation to the .dlc file. Release History 1.5 (26.3.2014) - Added top/left and bottom/right coordinate - Derived from MeasureSelection v1.5
  19. Martin Osieka

    Print It (Tools Effect)

    Hi Elli, I would expect there may be an issue with your printer drivers on Windows 10. But because I will never switch to W10 (thanks to the policy of MS) I can't even guess if there is an other issue. Sorry.
  20. Martin Osieka

    Alternative to LayerSaver

    Released. See 'ZIP Archive' FileType Plugin (.ZIP)
  21. Martin Osieka

    'ZIP Archive' FileType Plugin (.ZIP)

    Thanks to Pratyush to remind me that there was no release yet. See Alternative to LayerSaver.
  22. 'Color Matrix' Adjustment Plugin Summary Adjusts all individual pixels in the selected area of the active layer using a color transformation matrix. The plugin contains a set of predefined matrices to manipulate the individual RGBA channels, adapt transparency or to simulate the effect of different color blindness defects. Changing the matrix will show 'User defined' in the preset selector. Here the list of presets: Identity - Does nothing RGB (solid) - Sets the alpha channel to solid RGB (inverted) - Inverts the RGB channels and keeps alpha RGB to Gray - Converts RGB to gray and keeps alpha RGB to Gray (inverted) RGB to Transparency RGB to Transparency (inverted) RGB to BGR (or back) RGB to Sepia Red to Gray (solid) Red only (solid) Green to Gray (solid) Green only (solid) Blue to Gray (solid) Blue only (solid) Transparency to Gray (solid) Transparency to Gray (solid, inverted) Transparency only Cyan only (solid) Magenta only (solid) Yellow only (solid) Red-Blind (Protanopia) Red-Weak (Protanomaly) Green-Blind (Deuteranopia) Green-Weak (Deuteranomaly) Blue-Blind (Tritanopia) Blue-Weak (Tritanomaly) Monochromacy (Achromatopsia) Weak Monochromacy (Achromatomaly) How does it work? The following formula is applied to each pixel: (R,G,B,A,255) = (((R,G,B,A,255) / 255) * matrix) * 255 Result values <0 or >255 are clamped. The render code is simple because it just provides the image and the matrix to Windows GDI+. Keywords Adjustment, Color matrix, Color blindness Author Martin Osieka Download Find the latest version of the plugin ColorMatrix v1.1 (25.6.2015) here Installation Follow the instructions carefully Unzip "ColorMatrix.Effect vX.X.zip" Copy the two files ColorMatrix.Effect.dll/.dlc to the Paint.NET\Effects\ folder A typical location is "C:\Program Files\Paint.NET\Effects". .dll contains the module code .dlc contains the module configuration (like translated text) Copy the two files OptionBasedLibrary vX.X.dll/.dlc to the Paint.NET\ folder (not to the Effects folder!) A typical location is "C:\Program Files\Paint.NET". After a restart of Paint.NET you will find the plugin at Menu->Adjustments->Color Matrix... oder für deutsche Anwender unter Menü->Korrekturen->Farbmatrix.. Compatibility Paint.NET 3.5.11 and 4.0.5 Supported languages The language used in the plugin depends on the language setting of Paint.NET and the support of this language by the plugin. The fallback is the first supported language of the plugin. Languages are defined in the .dlc files. This plugin supports the following languages in the moment: English Deutsch You may add your own translation to the .dlc file. Known issues None Example Using the matrix preset "RGB inverted" -1 0 0 0 0 0 -1 0 0 0 0 0 -1 0 0 0 0 0 1 0 1 1 1 0 1 Applying the formula R' = R/255; G' = G/255; B' = B/255; A' = A/255 R" = R' * -1 + G' * 0 + B' * 0 + A' * 0 + 1 = 1 - R' G" = R' * 0 + G' * -1 + B' * 0 + A' * 0 + 1 = 1 - G' B" = R' * 0 + G' * 0 + B' * -1 + A' * 0 + 1 = 1 - B' A" = R' * 0 + G' * 0 + B' * 0 + A' * 1 + 0 = A' R = R"*255; G = G"*255; B = B"*255; A = A"*255 History 1.1 (25.6.2015) - Added 'RGB (solid)' entry to set the alpha channel to opaque - Added column titles - Renamed the dll file. You have to remove the old ColorMatrix.dll/.dlc file - Updated OptionBasedLibrary 1.0 (16.5.2015) - First release
  23. Martin Osieka

    'Color Matrix' Adjustment Plugin

    What the hell happened with the Cancel button? ;-) Sorry for some reason OptionBasedLibrary 0.7.9 moved the button out of the dialog window. This happened a while ago but nobody complained ;-) So we have to update some tools like 'Parallel Lines and Pattern', 'Color Harmonies'... Back to topic. Thanks for the replies. Maybe an additional explanation: There are two basic internal operations used in image processing. One is the 'Color Matrix' used to manipulate single pixels and second the 'Convolution Matrix' used to build filters like emboss. Typically a user can not access these matrices because no one likes to think about the math to reach a certain effect. So providing such plugins is just to offer people the possibility to play on this level (a basic kind of programming) and maybe to understand what's going on in the background. racerx pointed to Channel Mixer. This PhotoShop tool is already one level above and a little bit more restricted. But for sure easier to use. There is an advanced channel mixer plugin here. I'm not sure if it is much easier to handle like Color Matrix. But there are sliders ;-)
  24. Martin Osieka

    'Color Matrix' Adjustment Plugin

    Because setting the alpha channel of the selection to opaque is not an unusual operation, I added a preset for this to the dialog and did some clean-up. Update: 1.1 (25.6.2015) - Added 'RGB (solid)' entry to set the alpha channel to opaque - Added column titles - Renamed the dll file. You have to remove the old ColorMatrix.dll/.dlc file !!! - Updated OptionBasedLibrary
  25. Martin Osieka

    'Spirit Level' Photo Effect

    Maimilian, Nitenurse, ReMake I hope you and others will find it usefull at some time. Special thanks to ReMake who did the translation to русский. This triggers me to provide a little bit statistic about the amount of work. The c# source code is around 600kb or 14'000 lines of code. Just 3% of the code handles rotation, clipboard and file functions. The remaining part handles the User Interface. Around 70% precent of the code has been derived from other projects like the OptionBasedLibrary of PrintIt and the new code will be reintegrated to the code base. So hopefully most stuff can be reused in more sophisticated plugins. Maybe these numbers give you an idea about the amount of work, Rick invested in Paint.NET over the years.