Attached is ora2png, a tool I recently wrote that flattens .ora files
and saves them as png.
it requires Python and the commandline version of G'MIC (http:/gmic.sf.net)

It's used like this:

ora2png tricu.ora

(outputs a png 'tricu.png')

or multiple files:

ora2png snime.ora tricu.ora bisli.ora fagri.ora

(outputs snime.png tricu.png bisli.png fagri.png)

(note it is not multiple-invocation/ threadsafe yet, see the lines
mentioning /tmp/ora2png.png
; also, it occasionally produces files that are spatially larger than
the png's mypaint produces;
and finally, old (saved with MyPaint <0.70?) are not handled
correctly, as they seem to be encoded with nonstandard gamma)

There you go. ('whereever you go, there you are.') :)
I've gotten a lot of use out of this for building galleries, hopefully
you-all will too.

Have an awesome Christmas. :)

Attachment: ora2png
Description: Binary data

_______________________________________________
Mypaint-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-discuss

Reply via email to