I'm looking at someone else's piece of code:
Monitor[
cnt = 1;
Table[Export[ToString[cnt++],
Show[orig,
ViewAngle -> (ViewAngle /. Options[orig])/(sectionsWide),
ViewCenter -> {{1, 1, 1}/2, ImageScaled[{y, x}]}], "PNG",
Background -> None, ImageSize -> sectionSize {1, 1}],
{x, 1 - sectionsWide/2, sectionsWide/2, 1}, {y, sectionsWide/2,
1 - sectionsWide/2, -1}],
cnt];
In the third line, it appears to be exporting to strings named "1", "2", "3", etc. I checked Directory[]
and see no such files. Nor in the notebook's directory.
The next piece of code attempts to assemble the results:
cnt = 1; exp =
ImageAssemble[
Table[ImageTake[
Import[ToString[cnt++], "PNG"], {1, sectionSize - 1}, {1,
sectionSize - 1}],
{x, 1 - sectionsWide/2, sectionsWide/2, 1}, {y, sectionsWide/2,
1 - sectionsWide/2, -1}]]
So my guess is that exporting without an extension exports to virtual files. But I'm unable to find relevant information in the documentation for Export
.
"SCRATCH"<>ToString[cnt++]
to be easier to search for. $\endgroup$ – george2079 Feb 14 '17 at 12:33