Search found 309 matches
- 2007-11-30T18:43:13-07:00
- Forum: IMagick
- Topic: Fill text with a pattern from an external image
- Replies: 6
- Views: 17041
- 2007-11-30T07:17:06-07:00
- Forum: IMagick
- Topic: Fill text with a pattern from an external image
- Replies: 6
- Views: 17041
Fill text with a pattern from an external image
Is there any way i can fill te text with a pattern from an external image?
- 2007-11-27T03:14:23-07:00
- Forum: MagickWand for PHP
- Topic: Upgrade Dll of MagickWand for php5.x.x windows (NEW DLL)
- Replies: 18
- Views: 66374
Re: Upgrade Dll of MagickWand for php5.3.0-dev windows
I build new DLL files for MagickWand for PHP on windows. download this file from: http://www.upload-x.com/file/59/php-magickwand6-3-6-10-Q16-st-dll-bz2.html SHA1:34629858a3dec456c0521f20473aeaddff31088f SIZE:1504725 TIME:2007-11-14 14:37 introduction: 1).Built with: WinXpSp2 + VC++6.0 + PHP 5.3.0-D...
- 2007-11-27T03:09:39-07:00
- Forum: IMagick
- Topic: Can someone please help me with this ?
- Replies: 6
- Views: 18224
Re: Can someone please help me with this ?
I think you've tripped over a bug in IM's MagickWand. There is no MagickGetQuantumDepth in MagickWand because the code which defines it in magick-property.c has an error: [ code] WandExport const char *MagickGetMAGICKCORE_QUANTUM_DEPTH(unsigned long *depth) { return(GetMagickQuantumDepth(depth)); }...
- 2007-11-27T03:06:05-07:00
- Forum: IMagick
- Topic: Absolute beginner help with install of imagick using pecl
- Replies: 11
- Views: 29005
Re: Absolute beginner help with install of imagick using pecl
If the extension works from command line then it should work with apache also. Are you sure you run php5 with your apache?
- 2007-11-06T01:04:29-07:00
- Forum: IMagick
- Topic: Need testers! Imagick windows build.
- Replies: 4
- Views: 13410
Re: Need testers! Imagick windows build.
Using the traditional php error handling would lead to something like this: /* Can not pass image name to constructor since if exceptions are not used it is not possible to catch error in construction */ $im = new Imagick(); if ( $im->readImage( "foo.png" ) === FALSE ) { /* Do something wi...
- 2007-11-03T07:05:18-07:00
- Forum: IMagick
- Topic: Need testers! Imagick windows build.
- Replies: 4
- Views: 13410
Re: Need testers! Imagick windows build.
You need to try catch the exception thrown.
Try this:
Try this:
Code: Select all
$im = new Imagick();
try
{
$im->readImage( "broken.jpg" );
} catch ( ImagickException $e ) {
echo "Caught exception: " . $e->getMessage() . "<br />\n";
}
- 2007-10-30T01:58:37-07:00
- Forum: Bugs
- Topic: Drawing a rectangle fails with de_DE locale
- Replies: 0
- Views: 4188
Drawing a rectangle fails with de_DE locale
#include <stdio.h> #include <string.h> #include <wand/magick-wand.h> #include <locale.h> int main () { setlocale (LC_ALL, "de_DE"); MagickWandGenesis(); char *description; ExceptionType severity; DrawingWand *draw_wand; MagickWand *magick_wand; PixelWand *color; draw_wand = NewDrawingWand...
- 2007-10-29T14:32:48-07:00
- Forum: MagickWand
- Topic: Setting caption font properties using MagickWand API
- Replies: 6
- Views: 18960
Re: Setting caption font properties using MagickWand API
I found the MagickSetBackgroundColor accessor. Next thing might be font color? (I think then all is done for caption:)
- 2007-10-29T13:42:24-07:00
- Forum: IMagick
- Topic: calling imagick_blob2image - undefined function error
- Replies: 1
- Views: 8852
Re: calling imagick_blob2image - undefined function error
Imagick 2.x supports only the object oriented interface. Please use 0.9.x series if you need the procedural approach.
- 2007-10-29T13:35:00-07:00
- Forum: Bugs
- Topic: Expected behavior? (MagickColorizeImage)
- Replies: 0
- Views: 4084
Expected behavior? (MagickColorizeImage)
#include <stdio.h> #include <string.h> #include <wand/magick-wand.h> int main() { MagickWandGenesis(); PixelWand *color_wand = NewPixelWand(); PixelWand *opacity_wand = NewPixelWand(); MagickWand *magick_wand = NewMagickWand(); MagickReadImage( magick_wand, "magick:logo" ); /* no effect *...
- 2007-10-29T08:02:33-07:00
- Forum: MagickWand
- Topic: Setting caption font properties using MagickWand API
- Replies: 6
- Views: 18960
Re: Setting caption font properties using MagickWand API
Thanks!
I was wondering should there be other accessors also? And I couldn't find anything to set polaroid properties trough magickwand (polaroid could use some space for a caption in the bottom side).
I was wondering should there be other accessors also? And I couldn't find anything to set polaroid properties trough magickwand (polaroid could use some space for a caption in the bottom side).
- 2007-10-29T07:04:43-07:00
- Forum: MagickWand
- Topic: Setting caption font properties using MagickWand API
- Replies: 6
- Views: 18960
Re: Setting caption font properties using MagickWand API
The patch got incredibly messy because there are some chars that my editor seems to be stripping. Nano shows them as ^L. This is the first time I checking to code in the ImageMagick side so this might not be the optimal way: But here is magick-property.c: /* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%...
- 2007-10-28T14:38:52-07:00
- Forum: MagickWand
- Topic: Setting caption font properties using MagickWand API
- Replies: 6
- Views: 18960
Re: Setting caption font properties using MagickWand API
Well, I had some extra time during the evening so I came up with this solution: Adding MagickSetFont and MagickSetFontSize to wand/magick-property. This however does not seem to be a complete solution (MagickSetFontFamily? Font color?). I got a semi-ready patch for adding MagickSetFont and MagickSet...
- 2007-10-28T13:22:29-07:00
- Forum: MagickWand
- Topic: A minor documentation error
- Replies: 1
- Views: 8211
A minor documentation error
from wand/magick-wand.c /* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % % % N e w M a g i c k W a n d F r o m I m a g e % % % % % % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % NewMagickWandWithImage() returns a wa...