abu-abdu
New Creator

Deleting Cropped Image Cache

Hello together,
As part of the image conversion feature provided with version 2022.4, it is now possible to convert images in FirstSpirit to another format.
If I want to use this in existing projects, the image cache must first be deleted. With a script provided by eSpirit, this can be done via the RepoViewer.
Unfortunately the script does not delete the cropped image cache.

 

Therefore I tried to solve this via the API.

Unfortunately this call only deletes the cropping information and not the cache itself.

 

picture.getPictureResolution(resolution).setCropData(null);

Does anyone know how I can delete the cropped image?

 

Thank you and best regards,

Ahmed

0 Replies