I have MapTiler 5.0.3 pro, and hundreds of 8-bit per band .tiff files with transparent channel Alpha. After batch conversion:
"C:\Program Files\Maptiler Pro\maptiler.exe" -f png -nodata 0 0 0 -zoom 10 18 -store mbtiles -o "outfiles.mbtiles" input_files.tif
and so on...
For some reason some of the output mbtiles have transparency (when load in QGIS, I see only image, without black and\or bounding box). Some output mbtiles have both white and black background (white bg is much bigger), and some only white. What is that?
The input .tiff files have the same metadata (4 bands, no compression). Documentation to MapTiler says, that if input files doesn't have transparency (e.g. jpeg or 3 band png (png8, png24)), MapTiler adds default White background. But, I have alpha band in input. I also tried make bgcolor black (0 0 0 ) and set nodata value (0 0 0), selected different -f options: png, png32, png24, png8, jpeg the result is the same. I also tried tileserver.php but nothing helps. Nodata parameter works fine in most cases, but the white giant background - I don't need it.