Versions lower than 0.5 to write the temporary file:
c: \ Documents and Settings \ ~ ~ \. gimp-2.6 \ tmp \
Version 0.5 saves the temporary file to:
c: \ Documents and Settings \ ~ ~ \ Local Settings \ Temp \
What is due? On which it depends?
Maybe the next version of the file selection tmp / Temp? (application without a direct return to the Gimp - for example delienate [
http://delineate.sourceforge.net/])
or an indication that piece of code decides this?
Code:
from gimpfu import *
import math
def pyTmp(image, drawable, visible):
pdb.gimp_file_save(image, drawable, visible, "")
register(
"python_fu_temp_png",
"Temp",
"Temp",
"MrQ",
"",
"2011",
"<Image>/File/TEMP(png)",
"RGB*, GRAY*",
[
(PF_STRING, "png_filename", "Filename to export", "C:\\TEMP\\walk.png"),
],
[],
pyTmp)
main()
A piece of code to write in a specific location work - if it can connect to se ShellOut?