Search found 11 matches

by JohnSmith
2012-10-31T09:45:40-07:00
Forum: IMagick
Topic: PHP Imagick cannot set image background color
Replies: 5
Views: 15577

Re: PHP Imagick cannot set image background color

Image was transparent, so red convas in middle and around it is transparency. I dont know about how i can use command line arguments here because i am working with PHP extension and i dont want to use shell_exec() etc. setBackgrounColor() described here http://www.php.net/manual/en/imagick.setbackgr...
by JohnSmith
2012-10-30T18:06:57-07:00
Forum: IMagick
Topic: PHP Imagick cannot set image background color
Replies: 5
Views: 15577

PHP Imagick cannot set image background color

I load transparent png image and i every time i try to set bg color using `setimagebackgroundcolor()` it still transparent $input_img = new Imagick(); $input_img->setBackgroundColor("#ff0000"); $input_img->readImage("transparent.png"); $input_img->setimagebackgroundcolor("#0...
by JohnSmith
2012-10-16T14:11:15-07:00
Forum: IMagick
Topic: Imagick PHP image set question
Replies: 0
Views: 6928

Imagick PHP image set question

I read pdf file and go get set of images ($img_set) with 6 images in it. Each property i supply is going towards particular image in set not entire set. $img_set = new Imagick(); $img_set = readImage("test.pdf"); $img_set->setImageUnits(1); echo "<br> First: ".$img_set->getImageU...
by JohnSmith
2012-10-16T12:18:57-07:00
Forum: IMagick
Topic: Why PDF read into imagick always small resolution.
Replies: 3
Views: 10534

Re: Why PDF read into imagick always small resolution.

Would be great if it could be same size as when you open pdf in adobe reader and set zoom to 100%...

By the way i use imagick for php i dont want to run shell commands for security reasons.
by JohnSmith
2012-10-16T10:35:42-07:00
Forum: IMagick
Topic: Why PDF read into imagick always small resolution.
Replies: 3
Views: 10534

Why PDF read into imagick always small resolution.

I kind of hate how imagick works with psf's at this point. When i $im->readImage($pdf_file_path); size is about 600x400px why its so small?
by JohnSmith
2012-10-10T19:27:43-07:00
Forum: IMagick
Topic: Load image from imagick object rather than file.
Replies: 0
Views: 6144

Load image from imagick object rather than file.

I have created two imagick objects $obj_one add $obj_two and loaded image from file image.jpg into $obj_one.
Now i need to load image from $obj_one to $obj_two pretty much the same way as i did with file.
How can i do it?

Note $obj_two resolution is twice more than $obj_one.
by JohnSmith
2012-10-02T17:16:18-07:00
Forum: MagickWand for PHP
Topic: PHP Imagick cannot use trimImage() function
Replies: 5
Views: 82108

Re: PHP Imagick cannot use trimImage() function

I managed to install 3.1.0.RC1 but there was problem too /usr/bin/php: symbol lookup error: /usr/local/lib/php/extensions/no-debug-non-zts-20090626/imagick.so: undefined symbol: MagickWandGenesis Premature end of script headers: get_page.php File does not exist: /home/500.shtml I read here that it c...
by JohnSmith
2012-10-02T11:08:35-07:00
Forum: MagickWand for PHP
Topic: PHP Imagick cannot use trimImage() function
Replies: 5
Views: 82108

Re: PHP Imagick cannot use trimImage() function

Yes it was not available before 6.2.9 i guess, but by complile they mean i compile or the author who wrote imagick should have? The problem is not the functionality, but the fact that it gives me fatal error every time it gets to line with $im->trimImage(0); I tried to install Imagick v3.1.0RC2 and ...
by JohnSmith
2012-10-01T22:10:43-07:00
Forum: MagickWand for PHP
Topic: PHP Imagick cannot use trimImage() function
Replies: 5
Views: 82108

Re: PHP Imagick cannot use trimImage() function

I want to use stable version for production site, they release updates once half year so it might be some waiting. Besides on php.net website its saying function works since imagick v2.0 also they say on php.net that "works if imagick compiled against ImageMagick version 6.2.9 or newer." w...
by JohnSmith
2012-10-01T18:27:39-07:00
Forum: MagickWand for PHP
Topic: PHP Imagick cannot use trimImage() function
Replies: 5
Views: 82108

PHP Imagick cannot use trimImage() function

First i installed ImageMagick v6.7.9-9 as described here then installed Imagick extension v3.0.1 stable from pecl install did not work so i follwed this steps Then i had nasty problem with libWand.so.10 and libMagic.so.10 not found that i solved by creating symlinc for both files in /usr/lib/ to /us...
by JohnSmith
2012-10-01T17:12:54-07:00
Forum: Bugs
Topic: PHP integration CentOS "libWand.so.10" not found
Replies: 0
Views: 7937

PHP integration CentOS "libWand.so.10" not found

Frack i spent like 5 hours trying to fix this one issue. Not a linux guru but i found this work around because i have CentOS (RHEL) and when i install trough YUM it only has up to v6.2.8 that dont have "trimImage" command support. Also in pecl package imagick was not downloading for some s...