Hi there!

I'm a complete Drupal neophyte, but I am very comfortable in Standards-based (X)HTML and CSS and quite comfortable in PHP.

I'm using this module in conjunction with image exact sizes and img_assist. What I want to do is have those lovely thumbnails from Image Exact Sizes generate in black-and-white.

I tried adding the following PHP to the image module's "image.imagemagick.inc":

/**
* Convert an image to black and white
*/
function image_imagemagick_monochrome($source, $dest) {
  $filter = ' -monochrome ' ;
  return _image_imagemagick_convert($source, $dest, $filter); 
}

The idea is to be able to add that flag to the thumbnail creation script from Exact Sizes, as per the ImageMagick documentation. What I'm not sure of is how to make this happen from image_exact.module...

Thoughts?

Contact me for help

(Cross-posted to the Image Exact Sizes area)

Comments

drewish’s picture

Status: Active » Closed (fixed)

this is an option in the image_im_advanced.module that's now in HEAD.