-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Hello there!
I am using latest docker version of SIPI and I want add a watermark to my images but have following error:
Sipi: ERROR IN TIFF! Module: TIFFOpen
2024-06-24T13:36:44.597759186Z Sipi: watermark.tif: No such file or directory
2024-06-24T13:36:44.597851083Z terminate called after throwing an instance of 'Sipi::SipiImageError'
2024-06-24T13:36:44.597868936Z what(): std::exception
I've created an image with suffix "_watermarked" into images folder so sipi.init.lua execute following piece of code:
elseif string.find(identifier, "watermarked") then
local filepath = config.imgroot .. '/' .. identifier
local settings_for_sipi = {}
settings_for_sipi['type'] = "restrict"
settings_for_sipi['watermark'] = config.imgroot .. '/' .. "watermark.tif"
return settings_for_sipi, filepath
Error message seems to be clear: "watermark.tif file not present into images folder" but that's wrong, I have open a shell using docker exec and check file presence.
I check that config.imgroot is equal to "./images" too.
What I am doing wrong?
Thank you all for help
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels