dm_gm_convert Function

public function dm_gm_convert(input_file, input_args, output_file, output_args) result(rc)

Converts image file with GraphicsMagick.

The function returns the following error codes:

  • E_FORMAT if command preparation failed.
  • E_IO if calling GraphicsMagick failed.

Arguments

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

Input image path.

character(len=*), intent(in) :: input_args

Input convert arguments.

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

Output image path.

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

Output convert arguments.

Return Value integer


Called by

proc~~dm_gm_convert~~CalledByGraph proc~dm_gm_convert dm_gm_convert proc~dm_gm_create dm_gm_create proc~dm_gm_create->proc~dm_gm_convert