Make thumbnails for jpeg images in pure Lua?
-
25-06-2021 - |
Pergunta
Lua -> Is it possible to Shrink Larger Image ?
I need it to make thumbnails for jpeg images.
I don't need a "binding". Is there any module writed in pure Lua ? Is it difficult to write one ?
I have found these:
- https://github.com/tnodir/luafreeimage
- http://www.tecgraf.puc-rio.br/im/
- http://ittner.github.com/lua-gd/manual.html#intro
but they all use C libraries. Also, do you think it is possible to read Exif Data of Photographs in pure LUA ?
Solução
It is possible, but no one has done it, because it is difficult and kindof pointless, since Lua interfaces very nicely with C.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow