dm_gm_create Function

public function dm_gm_create(path, width, height, color) result(rc)

Uses

  • proc~~dm_gm_create~~UsesGraph proc~dm_gm_create dm_gm_create module~dm_string dm_string proc~dm_gm_create->module~dm_string module~dm_error dm_error module~dm_string->module~dm_error module~dm_kind dm_kind module~dm_string->module~dm_kind module~dm_error->module~dm_kind module~dm_ascii dm_ascii module~dm_error->module~dm_ascii iso_fortran_env iso_fortran_env module~dm_kind->iso_fortran_env

Creates image file of given dimensions and color with GraphicsMagick.

The function returns the following error codes:

  • E_EXIST if the image file already exists.
  • E_IO if calling GraphicsMagick failed.
  • E_WRITE if command preparation failed.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: path

Image file path.

integer, intent(in) :: width

Image width.

integer, intent(in) :: height

Image height.

character(len=*), intent(in), optional :: color

Background color.

Return Value integer


Calls

proc~~dm_gm_create~~CallsGraph proc~dm_gm_create dm_gm_create proc~dm_file_exists dm_file_exists proc~dm_gm_create->proc~dm_file_exists proc~dm_string_is_present dm_string_is_present proc~dm_gm_create->proc~dm_string_is_present