Search found 309 matches
- 2007-09-30T07:23:19-07:00
- Forum: IMagick
- Topic: Merge two images / replicating Photoshop's "resize canvas"?
- Replies: 27
- Views: 73464
Re: Merge two images / replicating Photoshop's "resize canvas"?
Great thanks. There is still one problem though. When setImageExtent increases the image size the additional space is filled with black. How can I change this colour? I though setImageBackgroundColor would do it, but it doesn't work. Any ideas? I'm using 2.0.0rc1 presently. What is the image format...
- 2007-09-30T06:11:46-07:00
- Forum: IMagick
- Topic: Merge two images / replicating Photoshop's "resize canvas"?
- Replies: 27
- Views: 73464
Re: Merge two images / replicating Photoshop's "resize canvas"?
The latter way looks pretty good to me. My assumption is that that is the closest you get to resize canvas. If I understood the "resize canvas" correctly.
- 2007-09-23T16:58:44-07:00
- Forum: MagickWand for PHP
- Topic: MagickWand config.m4
- Replies: 1
- Views: 11876
MagickWand config.m4
I noticed that the issue with PHP version checking was fixed. The message is still a bit outdated:
AC_MSG_CHECKING(if PHP version is at least 5.1.3)
- 2007-09-22T03:03:47-07:00
- Forum: MagickWand for PHP
- Topic: Problem with magickwand installation in linux server
- Replies: 5
- Views: 21923
Re: Problem with magickwand installation in linux server
These lines should do it: AC_MSG_CHECKING(if PHP version is at least 5.1.3) tmp_version=$PHP_VERSION if test -z "$tmp_version"; then if test -z "$PHP_CONFIG"; then AC_MSG_ERROR([php-config not found]) fi MAGICKWAND_PHP_VERSION_ORIG=`$PHP_CONFIG --version`; else MAGICKWAND_PHP_VER...
- 2007-09-21T10:15:38-07:00
- Forum: MagickWand for PHP
- Topic: Problem with magickwand installation in linux server
- Replies: 5
- Views: 21923
Re: Problem with magickwand installation in linux server
My understanding is that MagickWand does not require PHP5. In Imagick we have this check because zend_std_object_init is not present before 5.1.3. I noticed that this check is still present in MagickWand beta 1.0.6.vinodkalpaka wrote:You need at least PHP version 5.1.3 to use Imagick.
- 2007-09-19T13:38:28-07:00
- Forum: IMagick
- Topic: Set font size
- Replies: 3
- Views: 15469
Re: Set font size
Either you are running a very old version of Imagick or you have a typo somewhere.
- 2007-09-19T03:32:48-07:00
- Forum: IMagick
- Topic: Mirror Text
- Replies: 1
- Views: 10433
Re: Mirror Text
I have 2 line text. In first line there is normal text but in second line there is mirror image of text. I am doing this creating 2 different image for both line and then compose those image into one. But is there any other way to create mirror text in one line without affecting another line. You c...
- 2007-09-19T03:31:26-07:00
- Forum: IMagick
- Topic: Set font size
- Replies: 3
- Views: 15469
Re: Set font size
Take a look at the Imagick::queryFontMetrics method.niketa wrote:I want to set font size automatically. It depends on text length and image height and width. How can I calculate font size like this so that text will be best fit in image.
- 2007-09-17T14:31:03-07:00
- Forum: MagickWand
- Topic: Making ImageMagick revision number easily accessable
- Replies: 4
- Views: 13792
Re: Making ImageMagick revision number easily accessable
You want the minor revision number then-- 6.3.5-9 rather than 6.3.5 which is returned by MagickGetVersion(). That information is not readily available now other than to use the MagickLibVersionNumber define. Yes, I noticed the same thing. Thats why I asked for an easy way to get -9 part. Using the ...
- 2007-09-17T01:24:45-07:00
- Forum: MagickWand
- Topic: Making ImageMagick revision number easily accessable
- Replies: 4
- Views: 13792
Making ImageMagick revision number easily accessable
Currently the only place where I found the revision number is #define MagickLibVersionNumber. It would be nice to have the full version with the revision (6.3.5-9) in an integer form.
- 2007-09-14T00:45:12-07:00
- Forum: MagickWand
- Topic: MagickSetImagePixels documentation
- Replies: 2
- Views: 9720
Re: MagickSetImagePixels documentation
Most ImageMagick methods return 0 on success 1 on failure. It seems like most of the MagickWand API methods return MagickTrue on success. That part of documentation was quoted from that manual: http://www.imagemagick.org/api/magick-image.php#MagickSetImagePixels Is this inconsistency compared to th...
- 2007-09-13T15:30:26-07:00
- Forum: MagickWand
- Topic: MagickSetImagePixels documentation
- Replies: 2
- Views: 9720
MagickSetImagePixels documentation
MagickSetImagePixels() accepts pixel data and stores it in the image at the location you specify. The method returns MagickFalse on success otherwise MagickTrue if an error is encountered. The pixel data can be either char, short int, int, long, float, or double in the order specified by map. There...
- 2007-09-13T15:23:37-07:00
- Forum: MagickWand
- Topic: MagickSetImageOpacity / MagickGetImageOpacity
- Replies: 1
- Views: 8010
MagickSetImageOpacity / MagickGetImageOpacity
I can find the method MagickSetImageOpacity but the Get counterpart seems to be missing.
Is this intentional?
Is this intentional?
- 2007-09-13T04:48:48-07:00
- Forum: IMagick
- Topic: trouble with getimageresolution and getimagegeometry
- Replies: 2
- Views: 13319
Re: trouble with getimageresolution and getimagegeometry
$im = new imagick( "a.jpg" );
var_dump( $im->getImageGeometry() );
array(2) {
["width"]=>
int(775)
["height"]=>
int(1386)
}
It is an associative array.
var_dump( $im->getImageGeometry() );
array(2) {
["width"]=>
int(775)
["height"]=>
int(1386)
}
It is an associative array.
- 2007-09-10T06:26:08-07:00
- Forum: MagickWand
- Topic: Getting revision number in preprocessor statement - figured
- Replies: 1
- Views: 8200
Re: Getting revision number in preprocessor statement - figured
This is maybe like the tenth time I edit this post. Finally after banging my head to the wall I got it right (had some help along the way): #define IMAGICK_RETRIEVE_REVISION(a,b,c,d) d #define IMAGICK_CHECK_MAGICKLIB_REVISION(a) IMAGICK_RETRIEVE_REVISION(a) IMAGICK_CHECK_MAGICKLIB_REVISION(MagickLib...