You are here

function bynder_custom_resolution in Bynder 7

Filter effect function

1 call to bynder_custom_resolution()
bynder_custom_resolution_effect in includes/bynder.formatters.inc
Implements callback 'effect callback' will return the image from the API, instead of modifying the image as intended

File

includes/bynder.formatters.inc, line 147
bynder/includes/bynder.formatters.inc Formatters for Media: Bynder.

Code

function bynder_custom_resolution(stdClass $image) {
  return imagefilter($image->resource, null);
}