pictureDir
pictureDir():
Promise<string>
Defined in: path.ts:440
Returns the path to the user’s picture directory.
- Linux: Resolves to
xdg-user-dirs’XDG_PICTURES_DIR. - macOS: Resolves to
$HOME/Pictures. - Windows: Resolves to
{FOLDERID_Pictures}.
Promise<string>
import { pictureDir } from '@tauri-apps/api/path';const pictureDirPath = await pictureDir();1.0.0
© 2025 Tauri Contributors. CC-BY / MIT