I know it's probably not the best idea since maybe some layers just may have empty images inside, but I'd like to know if I could get some help integrating this feature.
My idea is to use the tv_imagegetbound function to perform a check at the very end before saving. This is that attempt:
Code: Select all
tv_imagegetbound "xyxy" "Y2" bound
bound = result
IF (bound > 0)
tv_saveimage finalPath
ELSE
END
If you have any improvements to suggest or if you could just point me to a tutorial, I would greatly appreciate it. Thank you.