file_load_layers


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "2.4" ) ]
public (unowned Layer)[] file_load_layers (RunMode run_mode, Image image, File file)

Loads an image file as layers for an existing image.

This procedure behaves like the file-load procedure but opens the specified image as layers for an existing image. The returned layers needs to be added to the existing image with insert_layer.

Parameters:

run_mode

The run mode.

image

Destination image.

file

The file to load.

Returns:

The list of loaded layers. The returned value must be freed with g_free.


Namespace: Gimp
Package: gimp-3.0