hi Popolon, On Sat, Jul 25, 2009 at 03:02:37PM +0200, Popolon wrote: > This is a git diff patch : > http://popolon.online.fr/mypaint/patchs/mypaint-multiplepng.3.patch
I would much prefer if you put the patch inline or as attachement, so I can quote it as part of your email. And like I said, a git commit is the prefered format when it is ready for inclusion. > 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)' I like the functionality this patch provides. While it is a bit better than your first version that I commented in IRC earlier, I still can tell easily that you are not very experienced with Python. I did heavily rework/simplify it and pushed a commit based on it, please test. Most notable change: saving always starts at 1, not at the number of the file you choose. (That's even more confusing. and is it even useful?) There are still way too many things broken, especially involving "Save" instead of "Save As...", and the filename. But saving PNGs has similar problems. Maybe make a "Export..." menu? > 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. Could be a bit harder to implement, but would be logical to do this now. > * save a specific layer as png ? Seems to be very very special need? > * open (import) file as layer ? That would only clutter the menu, better implement drag&drop instead. And you can already copy/paste from another application. > Other suggestions, do the same operation with opaque PNG (filled with bg > ?) and with JPG ? Might make sense for animation, but for nothing else. Saving every layer as JPG does not seem useful at all to me. bye, Martin _______________________________________________ Mypaint-discuss mailing list [email protected] https://mail.gna.org/listinfo/mypaint-discuss
