Imagemagick

Events happening in the community are now at Drupal community events on www.drupal.org.
steveoliver's picture

Lightning Talk Idea: ImageMagick in Drupal 7

Hey I just started doing some pretty amazing stuff with ImageMagick in Drupal 7 (not that it's specific to D7, it can be done in D6) ... would love to present on it at an upcoming Meetup.

Read more
rising-gdo's picture

Imagemagick på one.com

Hallå,

Jag sitter och meckar på en sida som ligger på one.com´s servrar, vilket innebär rätt lite php-minne och vissa begränsningar. Detta innebär också i sin tur att imageAPI GD2 är ute ur leken när det gäller att imagecacha bilder till lagom storlek, den är på tok för krävande för de 24M man får i PHP-minne. Jag har kollat en del på nästa inbyggda imageAPI - imagemagick, men får inte riktigt till inställningarna. Någon som har koll exakt hur det funkar i kombination med one.com´s servrar? Eller möjligtvis finns något likvärdig smidig metod som inte är så minneskrävande?

Read more
zoo33's picture

Now available: better control over ImageMagick operations

Image Enhanced Scaling is dead – long live ImageMagick Advanced Options! Yes, the Long Module Names Movement is back with longer names than ever before!

As of Octover 10, Image module comes with a new contributed module: ImageMagick Advanced Options. This is good news for anyone who needs fine-grained control over their images in Drupal, such as photographers or managers of image archives – regardless of wheter they use Image module or not. This post describes how it came into existence and why you should use it.

Read more
zoo33's picture

New module: better quality of scaled images!

I just finished a simple but powerful module that really improves the quality of thumbnails and preview images. It adds a touch of sharpening and converts all derivative images to a color profile of your choice (such as sRGB). This is especially useful if you're using "professional" color profiles such as AdobeRGB since colors often look faded with those profiles if the browser isn't color profile aware.

I know people have been doing sharpening and stuff like this before in Drupal, but I don't think there is a module that does it for you, without patches... until now! All you need besides image.module is ImageMagick.

I haven't uploaded this to CVS yet, 'cause I was hoping that some of you would like to try it out and give me some feedback. Bad spelling, bad name, fundamental flaws? Good stuff? Let me know!

Update: Project added: image_enhanced_scaling

Read more
arava_phani's picture

Imagemagick Api calls

Single Function call:

<?php
function image_imagemagick2_resize($source,$dest,$width,$height){
$convobj=new stdClass();
  
$convobj->source=$source;
  
$convobj->dest=$dest;
  
$convobj->functioncall='resize';
 
$convobj->params=array('width'=>$width,'height'=>$height);
    return
image_imagemagick2_convert($convobj);
}
?>

Multiple functions call:

<?php
function image_imagemagick2_resize_and_flip($source,$dest,$width,$height){
$convobj=new stdClass();
$convob->multiple = TRUE;
$convobj->source=$source;
$convobj->dest=$dest;
$convobj->functioncall=array('resize','flip');

Read more
Subscribe with RSS Syndicate content