gfx = require 'gfx.js'
gfx.image(image.lena())
Wrong JPEG library version: library is 80, caller expects 62
/usr/local/share/lua/5.1/gfx/js.lua:59: attempt to index local 'img' (a nil value)
stack traceback:
/usr/local/share/lua/5.1/gfx/js.lua:59: in function 'image'
stdin:1: in main chunk
[C]: at 0x0109a7e100
I have tried to remove and reinstall graphicsmagick and imagemagick via brew:
brew install graphicsmagick
removed and reinstalled image/gfx rocks but no avail. Anything I can do to debug and fix this issue?
I had a similar issue created by installing GDAL on OS X. Look for other libjpeg.dylib versions to which the build could be pointing, which should show in the logs.
luajit -lgfx.start [gfx.js] server started on port 8000, graphics will be rendered into http://localhost:8000
luajit LuaJIT 2.0.3 -- Copyright (C) 2005-2014 Mike Pall. http://luajit.org/
| | | |
| | _| |_
| |/ | '**/ | ' \ | | () | | | (| | | | //|| _**|| |_|
JIT: ON CMOV SSE2 SSE3 SSE4.1 fold cse dce fwd dse narrow loop abc sink fuse
I have tried to remove and reinstall graphicsmagick and imagemagick via brew:
brew install graphicsmagick
removed and reinstalled image/gfx rocks but no avail. Anything I can do to debug and fix this issue?