I need to automatically process images by loading IEN layers. If the background image size changes, size and position of the layers need to be adapted.
Is there any function inside ImageEn which helps to calculate layer size and pos based on the background image size?
in the specific case, I need to apply an IEN file as watermark on a selection of images.
If some of the selected images got a different size as the background image the IEN file had been build on (e.g. 960x720 or 200x200 instead of 1080x720), I'ld like to optimize the watermark by resizing and reposition the layers while loading the IEN file.
Normally, I would compare the original background size with the size of the selected image, calculate a ratio and apply it on the single layers. But I would prefer if there is something similar ready to use in ImageEn.
Another example I'll need it for is the automatic applying of a time stamp where position and font size depend on the image size.