调整大小 – 在纯Lua中制作jpeg图像的缩略图?

Lua – >是否有可能收缩更大的图像?

我需要它来制作jpeg图像的缩略图.

我不需要“绑定”.在纯Lua中是否有任何模块?
写一个难吗?

我找到了这些:

> https://github.com/tnodir/luafreeimage
> http://www.tecgraf.puc-rio.br/im/
> http://ittner.github.com/lua-gd/manual.html#intro

但他们都使用C库.
另外,您认为可以在纯LUA中阅读Exif数据照片吗?

最佳答案 这是可能的,但是没有人这样做,因为它很难且毫无意义,因为Lua与C接口非常好.

点赞