Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/10/2015 in all areas

  1. 'ZIP Archive' FileType Plugin (.ZIP) Download Find the latest version of the plugin here: ImZIP.FileType.v1.4.zip[2021-11-04] 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 / Copyright Martin Osieka 2015-2021, Martin Osieka, Switzerland You may use this plugin together with Paint.NET w/o any restriction. Installation Follow the instructions carefully Copy the folder 'ImZIP.FileType' together with its content into FileTypes folder of paint.net Remove other plugins supporting the same file type (.zip) from 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 >= 4.3.2 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 Layer subset Select 'All layers', 'Visible layers', or 'Hidden layers'. If the resulting layer set is empty you will get an error message box. Just continue and select an other layer set. Save formats of 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 extension 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 splited 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 preceded 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.4 [2021-11-04] - Replaced ionic zip class with ZipArchive class 1.3 [2021-11-02] - Modified to support paint.net 4.3 and .NETCore 5 1.2 [2021-08-17] - Refactored. Added 'Layers subset' option 1.0 [2015-07-08] - First public release
    1 point
  2. You mean like this? ....Sorry, I couldn't resist.
    1 point
  3. Hello Red, I think I found a little problem (at least on my pc). When I click on the little arrow to increase the phase shift, the counter gets stuck. I can move the slider without problems it is also OK when I decrease the phase shift. It is only when I increase it that the counter gets stuck at several points.
    1 point
  4. I can't believe this is the first time I check your gallery, Red! How careless of me!
    1 point
×
×
  • Create New...