if I understand all here right, then you open a png file,
work with it and then you want to save it as jpg, right?
In that case, its not the 'Defaut of mtpaint' to store in png-format,
it is because the opened file was already a png.
Same, if you create a new blanc image to paint in it.
The 'new file' out of the menu, sets the fileformat to png,
and thats why saving it starts with png-format.
So, changing the default of mtpaint (if its possible) would not
help in that cases
When I remember right, you can set in the start-call of mtpaint
scripting commands, which leads mtpaint not to open his
usual window, for example to read a png-file and save it
as a jpg file and exits then. After that you can start mtpaint in normal
way with only the jpg-file as parameter, then after edit the image
you need only Strg+s for saving it - as jpg.
Code: Select all
root in ~
#: mtpaint --help
mtPaint 3.50.09
Usage: mtpaint [option] [imagefile ... ]
Options:
--help Output this help
--version Output version information
--flist Read a list of files
--sort Sort files passed as arguments
--cmd Commandline scripting mode, no GUI
-s Grab screenshot
-v Start in viewer mode
-- End of options
Type mtpaint --help in console, if the --cmd parameter
is showed in the helptext, then your mtpaint-version
is able to do so.
In that case you can make a bash-script, which has
the two times starting mtpaint in it, with
the filename as parameter to the script.
Hope it helps - Eastler