diff options
author | gchanan <gregchanan@gmail.com> | 2017-04-20 21:03:58 +0300 |
---|---|---|
committer | Soumith Chintala <soumith@gmail.com> | 2017-04-20 21:03:58 +0300 |
commit | deef94cbf0e02a647b87544f0c693ffcda7e4e7d (patch) | |
tree | 654974e95ac97a2a0865aec89452c1ce7e95fead | |
parent | 705393fabf51581b98142c9223c5aee6b62bb131 (diff) |
compressPNG should require 'liblua_png' rather than 'libpng'. (#219)
All other PNG calls require 'liblua_png' and the test currently
fails on compression.
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -205,7 +205,7 @@ function image.getPNGsize(filename) end local function compressPNG(tensor) - if not xlua.require 'libpng' then + if not xlua.require 'liblua_png' then dok.error('libpng package not found, please install libpng', 'image.compressPNG') end |