by bobomb » Mon Mar 07, 2016 01:42
There are several mods which are forced to include various lua image libraries to varying degrees of success, such as my mod, realterrain, and it would make a world of difference if the image functions built-in to minetest core could be partly accessed by the modding API. in particular it would be nice to be able to read the value of a pixel or range of pixels from 8 and 16 bit grey and rgb files of all standard formats (tiff, png, bmp), preferably without loading the entire image into memory. It might also be nice to be able to change pixel values and write an image to file for certain mods, but for realterrain, imageloader, and other mods, pixel-access to standard image formats would change our world.