Package: gdk
Function gdk:texture-save-to-tiff-bytes
Lambda Listgdk:texture-save-to-tiff-bytes (texture) ArgumentsReturn ValueA newly allocated g:bytes instance containing TIFF data. Details
Store the given texture in memory as a TIFF file. Use the gdk:texture-new-from-bytes function to read it back. This function is intended to store a representation of the texture’s data that is as accurate as possible. This is particularly relevant when working with high dynamic range images and floating-point texture data. If that is not your concern and you are interested in a smaller size and a more portable format, you might want to use the gdk:texture-save-to-png-bytes function. Since 4.6 | See also |
#2023-5-25