Please do not mark this as duplicate question. I looked at previous posts and could not solve the problem. I have this line in my tex script:
It produces this error:
Error: TeX capacity exceeded, sorry [parameter stack size=10000].
When I comment the line, I can compile the script successfully. I also included these packages for it to work:
EDIT: My image has reasonable size. It is about 150 KB.