Search found 4 matches

by neohunter
2011-12-05T08:54:32-07:00
Forum: Bugs
Topic: setcolorimage differences with command line
Replies: 4
Views: 10620

Re: setcolorimage differences with command line

Yay! this make the trick:

Code: Select all

$im = new imagick();
$im->setColorSpace( imagick::COLORSPACE_RGB );
$im->readImage( $pdf.'[0]' );
$im->setImageFormat( "jpg" );
header( "Content-Type: image/jpeg" );
echo $im;
i have to create the imagick without file.

Thanks ;)
by neohunter
2011-12-05T08:52:17-07:00
Forum: Bugs
Topic: setcolorimage differences with command line
Replies: 4
Views: 10620

Re: setcolorimage differences with command line

Mmmm thats not valid PHP code, i cant execute a method on $im if is not created yet, also the method is not static, so i cant call it like:

Code: Select all

imagick::setColorSpace( imagick::COLORSPACE_RGB );
maybe i can use loadImage or something to create the $im without the image. i will try.
by neohunter
2011-12-05T07:55:23-07:00
Forum: Bugs
Topic: setcolorimage differences with command line
Replies: 4
Views: 10620

setcolorimage differences with command line

hi, i think i found a bug on imagemagick after many testing, im runing this command on bash: convert -colorspace RGB -interlace none testcard.pdf test1.jpg it gives me a perfect image, if i dont put the -colorspace RGB the colors look so bright, it looks bad now im trying to do the same from php wit...
by neohunter
2011-12-05T07:52:50-07:00
Forum: MagickWand for PHP
Topic: problem with setImageColorSpace
Replies: 0
Views: 17764

problem with setImageColorSpace

hi, im runing this command on bash: convert -colorspace RGB -interlace none testcard.pdf test1.jpg it gives me a perfect image, if i dont put the -colorspace RGB the colors look so bright, (bad). now im trying to do the same from php with this: $pdf='testcard.pdf'; $im = new imagick($pdf.'[0]'); $im...