how to load images from a list of images

65 views
Skip to first unread message

Uli

unread,
Apr 17, 2023, 12:08:51 PM4/17/23
to PTGui Support
Hi,

Is there a way to load images from a text file like:
C:\my_images1\image.png
C:\my_images2\image.png
C:\my_images3\image.png
C:\my_images4\image.png

The GUI does not allow to load multiple images from different folders.

And dropping PNGs from W10 explorer does not work at all.

Thanks,
Uli

Erik Krause

unread,
Apr 17, 2023, 3:58:31 PM4/17/23
to pt...@googlegroups.com
Am 17.04.2023 um 18:08 schrieb Uli:

> Is there a way to load images from a text file like:
> C:\my_images1\image.png
> C:\my_images2\image.png
> C:\my_images3\image.png
> C:\my_images4\image.png

I haven't found any, other than passing the image files to PTGui on the
command line like so:

"c:\path\to\ptgui.exe" "C:\my_images1\image.png" "C:\my_images2\image.png"

> The GUI does not allow to load multiple images from different folders.

Works perfectly here. I tried to open the folders one after the other
and dropping images from there on PTGui as well as searching for *.png
in the parent folder (C:\ in your example) and dropping multiple files
from different folders.

> And dropping PNGs from W10 explorer does not work at all.

No problem here either. Do the files open if you load them via Image ->
Add Images from the menu?

What exactly do you do and what is the outcome (error message etc)?

--
Erik Krause
http://www.erik-krause.de

Uli

unread,
Apr 18, 2023, 5:43:15 AM4/18/23
to PTGui Support
Hi Erik, 

passing via command line is a good option, thanks. 

I am using collection of images in different folders. The files are looked up by a Python script, thats why I asked for importing via a file list.

Another way I tried: I patched a template project using "filename". I skipped all the other fields, which are filled by PTGUI after the first SAVE-AS.

The PNG images are now working. The problem was on W10 side: the path length was >256. As there was no error message it took me awhile to find out.

Thanks,
Uli
Reply all
Reply to author
Forward
0 new messages