Martin Osieka

Members
  • Content count

    136
  • Joined

  • Last visited

  • Days Won

    13

Martin Osieka last won the day on July 10 2015

Martin Osieka had the most liked content!

Community Reputation

86

1 Follower

About Martin Osieka

  1. 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.
  2. Alternative to LayerSaver

    Released. See 'ZIP Archive' FileType Plugin (.ZIP)
  3. 'ZIP Archive' FileType Plugin (.ZIP)

    Thanks to Pratyush to remind me that there was no release yet. See Alternative to LayerSaver.
  4. '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
  5. '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 ;-)
  6. '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
  7. '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.
  8. 'Spirit Level' Photo Effect

    Overview: Keyboard , mouse, and touch handling tbd
  9. 'Spirit Level' Photo Effect

    Overview: Scaling and padding modes Starting image: Auto scale: Scale In; Padding Mode: Transparent and Mirror (no difference) Auto scale: Off; Padding Mode: Transparent and Mirror Auto scale: Scale Out; Padding Mode: Transparent and Mirror
  10. '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 Find the latest version of the plugin SpiritLevel v1.0 (16.5.2015) here 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
  11. 'What's It?' Tools Effect Plugin

    Thanks Remake. I added it to the first post. If you like we could do it in advance for the next release.
  12. 'What's It?' Tools Effect Plugin Summary This Paint.NET effect plugin allows you to identify files by looking for a file type specific signature in the file content. If Paint.NET fails to open an image then you may check with this tool if the file extension is wrong and correct it. Warning: If a file can be identified by the plugin then this does not mean that the file can be loaded by a Paint.NET native or plugin file type. The file may be corrupt or use an unsupported sub format. If you are missing a specific file type or get a wrong identification just tell and we will see what can be done. Keywords Identify Files, File type, File extension Author Martin Osieka Download Find the latest version of the plugin WhatIsIt.Effect v1.0 (11.4.2015) here WhatIsIt.Effect v1.0.zip Installation Follow the instructions carefully Unzip "WhatIsIt.Effect vX.X.zip" Copy the two files WhatIsIt.Effect.dll/.dlc to the Paint.NET\Effects\ folder After a restart of Paint.NET you will find the plugin at Menu->Effects->Tools->What's It?... oder für deutsche Anwender unter Menu->Effekte->Werkzeuge->Was ist es?... ;-) 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) WhatIsIt.Effect.dlc.ru.zip You may add your own translation to the .dlc file. Dialog options The basic windows just shows a list view panel and two buttons. One to identify a file and a second to exit the application. The list view shows all file types which can be identified by the plugin. The effect window has a hidden menu line. To show the menu line press the ALT key or click to the icon on the top left corner of the window frame. Known issues None History 1.0 (11.4.2015) - First public release - Supports around 50 well-known file signatures
  13. Print It (Tools Effect)

    If it hangs then maybe this change - 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. may create a timeout problem with some network printer drivers. I know a Brother printer where the status change takes ten minutes. But it does not hang in the startup. The problem may be that it is not possible to provide a timeout to all the driver functions in C# you have to use managed code hacks to get to the underlying os functions. OptionBasedLibrary should not be involved in this issue. It is responsible for managing UI functionality. I will check some methods after easter. Thanks for reporting.
  14. 'Windows Metafile' FileType Plugin (.EMF, .WMF, .EMZ, .WMZ)

    Getting old, forgot this announcement yesterday. Version update: 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.
  15. Parallel Lines and Patterns

    Thanks Seerose. Little bit late for a coffee in Switzerland just now but there is a Monday morning near.