Class
GimpImage
Description [src]
final class Gimp.Image : GObject.Object {
/* No available fields */
}
Operations on complete images: creation, resizing/rescaling, and operations involving multiple layers.
Constructors
gimp_image_new
Creates a new image with the specified width, height, and type.
gimp_image_new_with_precision
Creates a new image with the specified width, height, type and precision.
Available since: 2.10
Functions
gimp_image_convert_set_dither_matrix
Set dither matrix for conversion to indexed.
Available since: 2.4
gimp_image_metadata_load_thumbnail
Retrieves a thumbnail from metadata if present.
Available since: 2.10
Instance methods
gimp_image_add_hguide
Add a horizontal guide to an image.
gimp_image_add_vguide
Add a vertical guide to an image.
gimp_image_clean_all
Set the image dirty count to 0.
gimp_image_convert_color_profile
Convert the image’s layers to a color profile.
Available since: 2.10
gimp_image_convert_color_profile_from_file
Convert the image’s layers to a color profile.
Available since: 2.10
gimp_image_convert_grayscale
Convert specified image to grayscale.
gimp_image_convert_indexed
Convert specified image to and Indexed image.
gimp_image_convert_rgb
Convert specified image to RGB color.
gimp_image_crop
Crop the image to the specified extents.
gimp_image_delete
Delete the specified image.
gimp_image_delete_guide
Deletes a guide from an image.
gimp_image_duplicate
Duplicate the specified image.
gimp_image_find_next_guide
Find next guide on an image.
gimp_image_flatten
Flatten all visible layers into a single layer. Discard all invisible layers.
gimp_image_flip
Flips the image horizontally or vertically.
gimp_image_floating_sel_attached_to
Return the drawable the floating selection is attached to.
gimp_image_get_base_type
Get the base type of the image.
gimp_image_get_channel_by_tattoo
Find a channel with a given tattoo in an image.
gimp_image_get_channels
Returns the list of channels contained in the specified image.
gimp_image_get_colormap
Returns the image’s colormap.
gimp_image_get_component_active
Returns if the specified image’s image component is active.
gimp_image_get_component_visible
Returns if the specified image’s image component is visible.
gimp_image_get_default_new_layer_mode
Get the default mode for newly created layers of this image.
Available since: 2.10
gimp_image_get_effective_color_profile
Returns the color profile that is used for the image.
Available since: 2.10
gimp_image_get_exported_file
Returns the exported file for the specified image.
Available since: 2.8
gimp_image_get_floating_sel
Return the floating selection of the image.
gimp_image_get_guide_orientation
Get orientation of a guide on an image.
gimp_image_get_guide_position
Get position of a guide on an image.
gimp_image_get_height
Return the height of the image.
gimp_image_get_imported_file
Returns the imported file for the specified image.
Available since: 2.8
gimp_image_get_item_position
Returns the position of the item in its level of its item tree.
Available since: 2.8
gimp_image_get_layer_by_tattoo
Find a layer with a given tattoo in an image.
gimp_image_get_layers
Returns the list of root layers contained in the specified image.
gimp_image_get_name
Returns the specified image’s name.
gimp_image_get_resolution
Returns the specified image’s resolution.
gimp_image_get_sample_point_position
Get position of a sample point on an image.
Available since: 2.10
gimp_image_get_selected_layers
Returns the specified image’s selected layers.
Available since: 3.0.0
gimp_image_get_selection
Returns the specified image’s selection.
gimp_image_get_simulation_bpc
Returns whether the image has Black Point Compensation enabled for its simulation.
Available since: 3.0
gimp_image_get_simulation_intent
Returns the image’s simulation rendering intent.
Available since: 3.0
gimp_image_get_simulation_profile
Returns the image’s simulation color profile.
Available since: 3.0
gimp_image_get_tattoo_state
Returns the tattoo state associated with the image.
gimp_image_get_thumbnail
Retrieves a thumbnail pixbuf for image
.
The thumbnail will be not larger than the requested size.
Available since: 2.2
gimp_image_get_thumbnail_data
Get a thumbnail of an image.
gimp_image_get_unit
Returns the specified image’s unit.
gimp_image_get_vectors
Returns the list of vectors contained in the specified image.
Available since: 2.4
gimp_image_get_vectors_by_tattoo
Find a vectors with a given tattoo in an image.
Available since: 2.6
gimp_image_get_width
Return the width of the image.
gimp_image_grid_get_background_color
Sets the background color of an image’s grid.
Available since: 2.4
gimp_image_grid_get_foreground_color
Sets the foreground color of an image’s grid.
Available since: 2.4
gimp_image_grid_set_background_color
Gets the background color of an image’s grid.
Available since: 2.4
gimp_image_grid_set_foreground_color
Gets the foreground color of an image’s grid.
Available since: 2.4
gimp_image_insert_channel
Add the specified channel to the image.
gimp_image_insert_layer
Add the specified layer to the image.
gimp_image_insert_vectors
Add the specified vectors to the image.
gimp_image_is_dirty
Checks if the image has unsaved changes.
gimp_image_list_channels
Returns the list of channels contained in the specified image.
Available since: 3.0
gimp_image_list_layers
Returns the list of layers contained in the specified image.
Available since: 3.0
gimp_image_list_selected_layers
Returns the list of layers selected in the specified image.
Available since: 3.0
gimp_image_list_vectors
Returns the list of vectors contained in the specified image.
Available since: 3.0
gimp_image_lower_item_to_bottom
Lower the specified item to the bottom of its level in its item tree.
Available since: 2.8
gimp_image_merge_down
Merge the layer passed and the first visible layer below.
gimp_image_merge_layer_group
Merge the passed layer group’s layers into one normal layer.
Available since: 2.10.14
gimp_image_merge_visible_layers
Merge the visible image layers into one.
gimp_image_metadata_load_finish
Applies the metadata
previously loaded with
gimp_image_metadata_load_prepare()
to the image, taking into account
the passed flags
.
Available since: 3.0
gimp_image_metadata_load_prepare
Loads and returns metadata from file
to be passed into gimp_image_metadata_load_finish().
Available since: 2.10
gimp_image_metadata_save_filter
Filters the metadata
retrieved from the image with
gimp_image_metadata_save_prepare(),
taking into account the passed flags
.
Available since: 3.0
gimp_image_metadata_save_finish
Saves the metadata
retrieved from the image with
gimp_image_metadata_save_prepare()
to file
, taking into account
the passed flags
.
Available since: 2.10
gimp_image_metadata_save_prepare
Gets the image metadata for saving it using gimp_image_metadata_save_finish().
Available since: 2.10
gimp_image_pick_color
Determine the color at the given coordinates.
gimp_image_pick_correlate_layer
Find the layer visible at the specified coordinates.
gimp_image_raise_item_to_top
Raise the specified item to the top of its level in its item tree.
Available since: 2.8
gimp_image_remove_channel
Remove the specified channel from the image.
gimp_image_remove_layer
Remove the specified layer from the image.
gimp_image_resize
Resize the image to the specified extents.
gimp_image_rotate
Rotates the image by the specified degrees.
gimp_image_scale
Scale the image using the default interpolation method.
gimp_image_select_color
Create a selection by selecting all pixels (in the specified drawable) with the same (or similar) color to that specified.
Available since: 2.8
gimp_image_select_contiguous_color
Create a selection by selecting all pixels around specified coordinates with the same (or similar) color to that at the coordinates.
Available since: 2.8
gimp_image_select_ellipse
Create an elliptical selection over the specified image.
Available since: 2.8
gimp_image_select_polygon
Create a polygonal selection over the specified image.
Available since: 2.8
gimp_image_select_rectangle
Create a rectangular selection over the specified image;
Available since: 2.8
gimp_image_select_round_rectangle
Create a rectangular selection with round corners over the specified image;
Available since: 2.8
gimp_image_set_color_profile_from_file
Sets the image’s color profile from an ICC file.
Available since: 2.10
gimp_image_set_colormap
Sets the entries in the image’s colormap.
gimp_image_set_component_active
Sets if the specified image’s image component is active.
gimp_image_set_component_visible
Sets if the specified image’s image component is visible.
gimp_image_set_file
Sets the specified image’s file.
gimp_image_set_resolution
Sets the specified image’s resolution.
gimp_image_set_simulation_bpc
Sets whether the image has Black Point Compensation enabled for its simulation.
Available since: 3.0
gimp_image_set_simulation_profile_from_file
Sets the image’s simulation color profile from an ICC file.
Available since: 3.0
gimp_image_set_tattoo_state
Set the tattoo state associated with the image.
gimp_image_set_unit
Sets the specified image’s unit.
gimp_image_take_selected_layers
The layers are set as the selected layers in the image. Any previous selected layers or channels are unselected. An exception is a previously existing floating selection, in which case this procedure will return an execution error.
Available since: 3.0
gimp_image_undo_disable
Disable the image’s undo stack.
gimp_image_undo_enable
Enable the image’s undo stack.
gimp_image_undo_freeze
Freeze the image’s undo stack.
gimp_image_undo_group_end
Finish a group undo.
gimp_image_undo_group_start
Starts a group undo.
gimp_image_undo_is_enabled
Check if the image’s undo stack is enabled.
gimp_image_undo_thaw
Thaw the image’s undo stack.
gimp_image_unset_active_channel
Unsets the active channel in the specified image.
Properties
Gimp.Image:id
Signals
Signals inherited from GObject (1)
GObject.Object::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.