Search found 22 matches

by sambessey
2012-01-07T18:33:53-07:00
Forum: MagickWand for PHP
Topic: How to debug MagickWand?
Replies: 0
Views: 19354

How to debug MagickWand?

Hi, I have some problems when trying to create a number of large PDFs using Magick Wand. -The process converts PNGs to PDFs, and kicks off one job, then the next sequentially. - If I have more than a handful of PDFs to create at once, I can almost guarantee that some of them will not generate ...
by sambessey
2011-05-13T10:38:35-07:00
Forum: MagickWand for PHP
Topic: Capturing MagickWriteImage errors
Replies: 0
Views: 12462

Capturing MagickWriteImage errors

Hello, I am randomly getting tiny (like 600 byte) PDFs being output by MW. They are definately broken as contain no EOF. I have tried using MagickGetException() to see something worthwhile, but I never get anything back. I am using MagickWriteImage() to write the pdfs to disk, and notice the ...
by sambessey
2011-04-13T15:15:29-07:00
Forum: Bugs
Topic: Is this a bug in convert? (6.6.9-3)
Replies: 3
Views: 8798

Re: Is this a bug in convert? (6.6.9-3)

Ok good to know. Just wanted to raise the flag on this. This is on a hosting account and they currently run 6.6.9.3. I will ask them about an upgrade, but as it is shared hosting, they are not able to just upgrade straight away.

Thanks.
by sambessey
2011-04-13T14:12:03-07:00
Forum: Bugs
Topic: Is this a bug in convert? (6.6.9-3)
Replies: 3
Views: 8798

Is this a bug in convert? (6.6.9-3)

Hi, When I run the following command on 6.6.9.3, the text does not resize to fill the area any more. It does in older versions such as 6.6.7.6. Is there a bug in this bit of functionality? (This is on CentOS 5.6) convert -size 420x420 -gravity northwest -fill '#000000' caption:'The string is meant ...
by sambessey
2010-08-22T14:57:41-07:00
Forum: MagickWand for PHP
Topic: Funny behaviour when writing on high DPI images
Replies: 0
Views: 11128

Funny behaviour when writing on high DPI images

Hi, I have an image that I am sampling at 300DPI. I am then trying to write some text on it. It works OK, but the issue is that it looks like the text was written on to an image which is in fact 72DPI or something... i.e. the text is relatively tiny compared to the actual height and width of the ...
by sambessey
2010-03-23T16:17:23-07:00
Forum: Users
Topic: Convert/ Caption- Working out whether to resize text
Replies: 12
Views: 29266

Re: Convert/ Caption- Working out whether to resize text

I fully understand your point, however: Imagine an HTML form linked to ImageMagick and two extreme scenarios..... A) If the user can choose point size 36 and then write 50 lines into a box that is 200x100 pixels, it is clearly going to overflow, right? B) If the user chooses point size 36 and writes ...
by sambessey
2010-03-23T15:24:33-07:00
Forum: Users
Topic: Convert/ Caption- Working out whether to resize text
Replies: 12
Views: 29266

Re: Convert/ Caption- Working out whether to resize text

Hi fmw, I fully understand what you are saying, but if the user can choose the font size, vertical and horz. alignment, but the overall dimensions of the image are fixed (and the text is specified by the user too). The problem is I want to accommodate the user's chosen font size where possible, but ...
by sambessey
2010-03-23T13:58:41-07:00
Forum: Users
Topic: Convert/ Caption- Working out whether to resize text
Replies: 12
Views: 29266

Re: Convert/ Caption- Working out whether to resize text

The user can adjust the text both vertically and horizontally, and I only want to do something in the event that the user writes text that it too big to fit in the box.

Thanks
by sambessey
2010-03-22T16:56:37-07:00
Forum: Users
Topic: Convert/ Caption- Working out whether to resize text
Replies: 12
Views: 29266

Re: Convert/ Caption- Working out whether to resize text

Thanks

Unfortunately the user can control the vertical alignment too, so that's a non- starter- thanks though.
by sambessey
2010-03-22T15:40:32-07:00
Forum: Users
Topic: Convert/ Caption- Working out whether to resize text
Replies: 12
Views: 29266

Convert/ Caption- Working out whether to resize text

Hi, I have a convert command I am running to write some text using "caption:" . The actual caption to be written, and the font size to be used is fed in via an HTML form which is submitted to ImageMagick. The image size is fixed. The text must always fit in the given image size. If the text ...
by sambessey
2009-10-17T09:17:27-07:00
Forum: Users
Topic: Problem creating correctly proportioned image for this....
Replies: 2
Views: 9142

Re: Problem creating correctly proportioned image for this....

Thanks that worked a treat!! :lol:
by sambessey
2009-10-17T09:16:06-07:00
Forum: MagickWand for PHP
Topic: MagickLevelImage parameters
Replies: 2
Views: 19782

Re: MagickLevelImage parameters

Yep I can't get this to work either... The image is always white. Could you be a bit more specific in what parameters it accepts please?

Thanks
by sambessey
2009-10-16T18:00:01-07:00
Forum: Users
Topic: Problem creating correctly proportioned image for this....
Replies: 2
Views: 9142

Problem creating correctly proportioned image for this....

Hi, I have a background image like the one attached, which I would like to try and impose an image onto using ImageMagick. The problem is that none of the edges are parallel to eachother as it is a card stood on a table. Is there any way I can make this work? as extensive reading seems to lead me to ...
by sambessey
2009-03-04T02:20:56-07:00
Forum: MagickWand for PHP
Topic: Displaying MAgickWand modified images from POST
Replies: 1
Views: 12112

Re: Displaying MAgickWand modified images from POST

I have realised this is pretty much impossible, as the doctype has to be image, but it is already set to html/ text. Therefore, the only solution is to write the file to a jpg or stream to another php file and load it in image tags and do a refresh using Javascript
by sambessey
2009-03-03T01:28:09-07:00
Forum: MagickWand for PHP
Topic: Displaying MAgickWand modified images from POST
Replies: 1
Views: 12112

Displaying MAgickWand modified images from POST

Hi, I have a form which uses a JQUery POST command to submit the form contents to a PHP script. This works fine, but the PHP script is then supposed to be displayed on the page as an image (Using Image Magick/ Magick Wand). The problem is that when I post, I cannot get the new image to display with ...