Search found 309 matches

by mkoppanen
2009-05-10T14:51:36-07:00
Forum: MagickWand for PHP
Topic: Conversion of Multipage TIF to JPG thumbnail very pixellated
Replies: 1
Views: 21652

Re: Conversion of Multipage TIF to JPG thumbnail very pixellated

Have you tried calling MagickSetResolution(300, 300); before reading in the TIFF image? Not sure if it helps..
by mkoppanen
2009-05-10T14:50:34-07:00
Forum: IMagick
Topic: How to do forced scaling with change of aspect ratio?
Replies: 1
Views: 6667

Re: How to do forced scaling with change of aspect ratio?

If you provide width and height the aspect ratio is not maintained.
by mkoppanen
2009-05-04T05:53:32-07:00
Forum: IMagick
Topic: PHP IMagick thinks NEF files are 160x120 TIFF
Replies: 5
Views: 14161

Re: PHP IMagick thinks NEF files are 160x120 TIFF

Hi,

can you link me to example NEF image?
by mkoppanen
2009-04-10T07:26:52-07:00
Forum: IMagick
Topic: Dealing with High Load from Huge Images
Replies: 3
Views: 10717

Re: Dealing with High Load from Huge Images

I think it is quite safe to say that the two palettes are close enough :)
by mkoppanen
2009-04-04T18:06:51-07:00
Forum: Bugs
Topic: ImageMagick 6.5.0 crop behavior
Replies: 2
Views: 6875

Re: ImageMagick 6.5.0 crop behavior

Yes, looks like it was an issue with a virtual canvas. Thanks!
by mkoppanen
2009-04-04T18:05:21-07:00
Forum: IMagick
Topic: Names of thumbnails (foto.jpg as foto-small.jpg)
Replies: 0
Views: 5064

Re: Names of thumbnails (foto.jpg as foto-small.jpg)

Code: Select all

$filename = basename($small -> getImageFilename());
$name = substr($filename, 0, strrpos($filename, ".")) ."-small". substr($filename, strrpos($filename, "."));'
$small -> writeImage ('img/test/'.$name);
by mkoppanen
2009-04-01T11:55:16-07:00
Forum: Bugs
Topic: ImageMagick 6.5.0 crop behavior
Replies: 2
Views: 6875

ImageMagick 6.5.0 crop behavior

Hello, I am staring at the following code but can't really see how I end up the geometry at the end: #include <stdio.h> #include <stdlib.h> #include <wand/MagickWand.h> int main() { MagickWand *m_wand; PixelWand *pixel; MagickWandGenesis(); m_wand = NewMagickWand(); pixel = NewPixelWand(); MagickNew...
by mkoppanen
2009-03-08T14:56:42-07:00
Forum: MagickWand
Topic: DrawSet/GetTextKerning and DrawSet/GetInterwordSpacing
Replies: 1
Views: 8688

DrawSet/GetTextKerning and DrawSet/GetInterwordSpacing

Here is a patch (against current trunk) to implement the DrawSet/GetTextKerning and DrawSet/GetInterwordSpacing into MagickWand API:

http://valokuva.org/patches/imagemagick ... .patch.txt

Regards,
Mikko
by mkoppanen
2009-02-27T06:19:43-07:00
Forum: IMagick
Topic: Building php_imagick.dll from imagick-2.2.2.tgz
Replies: 8
Views: 21813

Re: Building php_imagick.dll from imagick-2.2.2.tgz

Do the two files exist if you compile a static version of ImageMagick?
by mkoppanen
2009-02-27T02:40:25-07:00
Forum: IMagick
Topic: Building php_imagick.dll from imagick-2.2.2.tgz
Replies: 8
Views: 21813

Re: Building php_imagick.dll from imagick-2.2.2.tgz

First of all, amazing that you managed to compile on Windows! A few questions: a) Can you provide the changes as a patch you did to the standard config.w32? b) Are you sharing the binaries somewhere? I could link to your builds from here http://valokuva.org/?page_id=50 if you have them somewhere onl...
by mkoppanen
2009-02-24T02:40:11-07:00
Forum: IMagick
Topic: ps2pdf (vector to vector)
Replies: 2
Views: 8611

Re: ps2pdf (vector to vector)

Hi,

you can add new delegates into the delegates.xml file. You can read using the delegate using:

$im->newPseudoImage(100,100, 'xyz:file.jpg');

and writing

$im->writeImage('xyz:file.jpg');
by mkoppanen
2009-02-20T13:30:58-07:00
Forum: IMagick
Topic: Command line CMYK <=> RGB works, Imagick does not.
Replies: 10
Views: 23294

Re: Command line CMYK <=> RGB works, Imagick does not.

Yep thats exactly it! Were you able to get that output via Imagick? Yes, I was. Here is the script I used: <?php $img = new Imagick("Test_CMYK.psd"); $icc = file_get_contents('sRGB.icc'); $img->profileImage('ICC', $icc); $img->setImageColorspace(imagick::COLORSPACE_RGB); $img->setImageFor...
by mkoppanen
2009-02-20T13:27:39-07:00
Forum: IMagick
Topic: Windows installation : Dynamic lib issue
Replies: 1
Views: 6852

Re: Windows installation : Dynamic lib issue

Sounds like ImageMagick configuration is not found for some reason. Try setting the MAGICK_HOME env variable.
by mkoppanen
2009-02-18T14:40:46-07:00
Forum: MagickWand for PHP
Topic: How to get a Image from a URL?
Replies: 8
Views: 41193

Re: How to get a Image from a URL?

Missed an svn up there. Thanks! Here is the patch: Index: magickwand.c =================================================================== --- magickwand.c (revision 14082) +++ magickwand.c (working copy) @@ -97,6 +97,9 @@ If one of the pseudo-formats is found, an attempt to read it into the MagickW...