This is a git diff patch : http://popolon.online.fr/mypaint/patchs/mypaint-multiplepng.3.patch
This patch (for git version) allow to save each layer as a separate PNG by choosing in save as dialog : 'Multiple PNG transparant (*.XXX.png)' * PNG saved are all aligned on an overall document boundary (not like in ORA, where the goal is compact file), to be easier to reload in random graphic software. * this does not replace ORA as working file format, but it's more an exporter * by default 3 digits are added to the filename ex: toto.png for 15 layers become: toto.001;png, toto.002.png, ..., toto.015.png * You can choose an existinf file with numbers or type a 0 padded number, the saving will be done, keeping the same number of digits and starting to number given. ex: toto.0034.png for 3 layers will result in: toto.0034.png, toto.0035.png, toto.0036.png * lower/uppercase are respected for prefix file name and extention. Know bug : if a file name without number is given and this file already exists, GTKfilechooser dialog will ask if the user wants to overwrite it, but it will not overwrite it, because numbers are added to filename. If anyone has got an idea for this bug, we would appreciate. Next step if it's accepted and found interesting : * open multiple png as multiple layer (the reverse function), to import from another application that doesn't support ora for example. * save a specific layer as png ? * open (import) file as layer ? Other suggestions, do the same operation with opaque PNG (filled with bg ?) and with JPG ? Popolon _______________________________________________ Mypaint-discuss mailing list [email protected] https://mail.gna.org/listinfo/mypaint-discuss
