graphicsmagick package has bug in the definition of FilteTypes. I will send PR to fix that bug. This commit is related to it. You should upgrade graphicsmagick package. $ luarocks install graphicsmagick