save_to_tiff_bytes


Description:

[ Version ( since = "4.6" ) ]
public Bytes save_to_tiff_bytes ()

Store the given this in memory as a TIFF file.

Use [ctor@Gdk.Texture.new_from_bytes] 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 [ method@Gdk.Texture.save_to_png_bytes].

Parameters:

this

a `GdkTexture`

Returns:

a newly allocated `GBytes` containing TIFF data