Edit image size and/or quality.
Edited images are duplicates of the originals. All modified images are stored in a shared folder, which makes it easy to delete them without impacting the originals.
beans_edit_image( $src, $args, $output = 'STRING' )
Source
function beans_edit_image( $src, array $args, $output = 'STRING' ) {
require_once( BEANS_API_PATH . 'image/class-images.php' );
$instance = new _Beans_Image_Editor( $src, $args, $output );
return $instance->init();
}