php_bw_jpg_from_scm_ratio

void php_bw_jpg_from_scm_ratio(string mpq_dir, string map_path, string output_path, int ratio, int quality=REPASM_LOW_QUALITY, int jpeg_quality=90, int rendering_mode=RENDER_ALL)

php_bw_jpg_from_scm_ratio creates an image file specified by the output_path variable from the SCM/SCX file that was found at map_path using the specified ratio. On jpg_from_scm functions, all starting locations are rendered. Here's a description of each parameter :

See example here