https://bugs.kde.org/show_bug.cgi?id=404615
Bug ID: 404615 Summary: Dimensions of Images output by "Export Layers" vary wildly depending on the layers alpha Product: krita Version: 4.1.7 Platform: MS Windows OS: MS Windows Status: REPORTED Severity: normal Priority: NOR Component: Scripting Assignee: krita-bugs-n...@kde.org Reporter: bradsummerqu...@hotmail.com Target Milestone: --- Created attachment 118230 --> https://bugs.kde.org/attachment.cgi?id=118230&action=edit this has three layers, each layer will have high variation in dimensions when exported via the Export-Layers script. SUMMARY scripts->"Export Layers" downsizes the exported image dimensions, depending on the alpha values of the layer. This is most apparent when the layer has fully transparent pixels around the border of the image. STEPS TO REPRODUCE 1. Create a 1024x1024 px krita document. 2. Clear all the layers so that you have a completely transparent document. 3. Paint a small (for example, 2 pixel by 2 pixel) black dot in the center of the image. 3. Run the export layers command (from Tools->Scripts->"Export Layers") on the recently created document/layer. 4. inspect the images that were output by the 'Export Layers' script. OBSERVED RESULT The output images are down-sized depending on the layer's alpha. So, if you only have a 2px-by-2px dot in the layer, the output image size is 2px by 2px. EXPECTED RESULT We'd expect the dimensions of the output image to have the same dimensions as the images in the document (1024x1024, in the case of the repro steps). That's the way that 'File->Export' works. If the downsizing is a 'feature', we'd expect the feature to be configurable via the "Export Layers" dialog box (it currently isn't). SOFTWARE/OS VERSIONS Windows: MacOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION project that repros this is attached, just open it and run "Tools->scripts->export layers" -- You are receiving this mail because: You are watching all bug changes.