saving tux paint pictures to different file locations under saving
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
we have a computer lab with computers running windows 10 Pro 22H2, tuxpaint version: 0.9.32 -2024-01-30, windows installer exe.
I was wondering where the pictures are saved? is it the C: \program files\tuxpaint? We wanted to save the pictures under save and export directories to shared folder on the network. Is this possible?
Also we wanted to see if there is a quicker way of deleting all the pictures rather than clicking on each one and hit the erase button.
Is the "savedir" option not suitable? https://tuxpaint.org/docs/en/html/OPTIONS.html#saving
Also, I don't currently have plans to add a "delete all" option; that seems a bit dangerous. :) Since the saved files are just PNGs in a folder, I'm hoping it's sufficient to just delete that folder (or its contents), either manually or via a script (e.g. batch file or whatnot).
I admit I'm not a Windows user, and focus on Linux, so if you need further help I'll summon @dolphin6k who has been maintaining the Windows port of Tux Paint for many years. Thanks!
Do you know the exact path of the folder where the PNGs are kept. I assume they are in C:\Program Files\TuxPaint\?
See https://tuxpaint.org/docs/en/html/README.html#loading_into
On Windows, it's normally the user's "AppData" folder (so e.g.,
C:\Users\username\AppData\Roaming\TuxPaint\saved\
)Hello William Kendrick,
I was able to locate the save pictures file path. I was able to clean them up. My next issue with saving to a directory. From the pictures attached I tried changing the path on one computer to a network path W:Tuxpaint\saved which is a path on the network.[cid:9af0a252-7735-4ef7-b0e8-b576bba45883]
[cid:bfdd587d-cb64-4de7-86e5-3100fe941f29]
Last edit: William Kendrick 2025-06-07
On Mon, Dec 09, 2024 at 05:07:39PM -0000, Alexander Paul wrote:
I'm glad to hear it!
Does the path already exist on that W: drive? At the very least, the
"Tuxpaint" folder will need to be created. Currently, Tux Paint does not
try to create the full path, if any part of it doesn't exist.
Thanks,
-bill!
I will give that a shot.
Last edit: William Kendrick 2025-06-07
Hello Mr. Kendrick,
I was able to input the right file path on the network have the picture or file save in the correct location. My next question is it possible when saving a file to prompt a save as box so that the picture or image can be named properly? Otherwise I was going to inform the teacher that we will have to rename the file in the folder path manually.
Thanks,
ALex
Last edit: William Kendrick 2025-06-07
Currently there is not a "Save as" -accessing the filesystem- dialog.
Tux Paint saves its drawings as YYYYMMDDmmss.png, yearmonthdayminuteseconds.
If the path were the students save their drawings is common to all of them, then they may run into trouble when 2 or more students try to save a drawing exactly at the same time and that drawing get the same name of the drawing of another student.
I wonder if it would be useful to include some kind of unique session ID as a (optional) prefix or postfix to filenames when we construct them...?