Get('page') to get the page geometry (page width, height, x, and y). Without resorting to split-ing or other perly string manipulations (which wouldn't be difficult, I'll grant), are the x and y ready to Get separately? E.g., $image->Get('pagex', 'pagey') ? How's this? if (LocaleCompare(attribute,&...
Use $image->Get('columns') to return the image width, Get('rows') for the image height, and Get('page') to get the page geometry (page width, height, x, and y). The page width/height may be different from the image width/height because it represents the image virtual canvas. Thanks, yes, 'page' is ...
Hi Blair, $Response->writeblock(0); use Image::Magick; $Response->writeblock(1); error '80004005' I get the very same result with that script. Nothing in Windows Event Viewer. If I run demo.asp again without stopping and starting IIS, then IIS hangs. I think I'll pass on that experiment! But my othe...
What's the right way to get all the image geometry, including page info? I tried $geom = $image->Get('geometry'); but this returns zilch (I'm still with 6.3.1-4). Using ($w,$h) = $image->Get('width', 'height'); and ($c,$r) = $image->Get('columns', 'rows'); both return identical (synonymous?) results...
Howdy Rick, I am able to run perlMagick using ImageMagick-6.2.9-7-Q8-windows-dll.exe under Windows 2003 Server and IIS. I am not able to run any more recent version... IIS crashes hard. Have you been able to do so? Thanks, Blair Hi Blair, Hmmm, I'm perplexed again. Multiplexed. I was running Window...
You are welcome of course to take a look at magick/drawing.c and fix the problem. I looked. I shrank back in horror! Actually, I remember looking at this a long time ago and feeling more brave. It is a heroic undertaking to attempt this. I am no hero. Its perplexed us for a number of years now and ...
You can specify text as a drawing primitive in Draw(), however, there is currently no way to specify the content to render. Does "currently no way" imply a future way? Should the doc mention the "no way" part? (It would have saved me a bunch of time, maybe others.) The doc (at D...
Here's a nit-picky little thing (I'm using 6.3.1). Here's something less picky, more complicated. There seems to be an inconsistency in the type of lines produced with various strokewidths. In the following image, the numbers correspond to the strokewidths set for various Draw/line/strokewidth comm...
Here's a nit-picky little thing (I'm using 6.3.1). If you don't specify -stroke on the command line, then setting -strokewidth has no effect and a strokewidth of 1 is produced (in the default stroke color black). So the following produces a black line of strokewidth 1. convert logo: -strokewidth 10 ...
Simple question, surely I'm overlooking the obvious: Can Draw( ) be used to add text? The PerlMagick doc lists the 'text' primitive as being available to Draw, but I do not see what to use to set the text string. primitive=>{point, line, rectangle, arc, ellipse, circle, path, polyline, polygon, bezi...
In your case you could try $x = $image->Get('origin'); and if see if it returns an error. How did you know I was trying to use 'origin'?? You really are a wizard, just like your picture. But seriously, in my case, both of the following return the same thing, namely a blank string. So trying to Get ...
Sorry 'bout that. :oops: But since we're gathered here on this fine Second Day of Christmas, is there a safe way of telling sub-builds apart, say 6.3.1.4 from earlier ones built on the same day, such as 6.3.1.3 (the final digit not being found in the version string)? Or barring that, suppose my nee...