Closed CharlyPoppins closed 7 years ago
HI,
I'm trying to define the cache_dir on the fly.
photo1 need to be cached in /my_dir_1 and photo2 need to be cached in /my_dir_2
I tried with .setCacheDir('my_dir_1') but it changes cache_dir for every photo generated after.
Is there a way to define cache_dir only for photo ? Or maybe to store the original cache_dir with something like .getCacheDir()
HI,
I'm trying to define the cache_dir on the fly.
photo1 need to be cached in /my_dir_1 and photo2 need to be cached in /my_dir_2
I tried with .setCacheDir('my_dir_1') but it changes cache_dir for every photo generated after.
Is there a way to define cache_dir only for photo ? Or maybe to store the original cache_dir with something like .getCacheDir()