Search found 6 matches

by yazilim
2013-02-10T15:36:44-07:00
Forum: Users
Topic: Canvas wrap transformation
Replies: 44
Views: 98616

Re: Canvas wrap transformation

edit after errors ==>

Code: Select all

Array
(
    [0] => convert: geometry does not contain image `right.miff' @ warning/attribute.c/GetImageBoundingBox/241.
)

1

Array
(
    [0] => convert: geometry does not contain image `top.miff' @ warning/attribute.c/GetImageBoundingBox/241.
)

1
by yazilim
2013-02-10T15:34:35-07:00
Forum: Users
Topic: Canvas wrap transformation
Replies: 44
Views: 98616

Re: Canvas wrap transformation

I pressume you can get simple Imagemagick commands to work like a straight forward resize? Have you changed the permissions on the folder you are saving to - 777 or 755 It looks like the code is failing here: // Crop for the edges $cmd = " temp.png -clone 0 -crop ".$width."x".$h...
by yazilim
2013-02-10T14:29:12-07:00
Forum: Users
Topic: Canvas wrap transformation
Replies: 44
Views: 98616

Re: Canvas wrap transformation

You could try changing all the exec( ) lines to this style and see if you get any errors. $array=array(); echo "<pre>"; exec("convert $cmd highlights.miff 2>&1", $array); echo "<br>".print_r($array)."<br>"; echo "</pre>"; errors=> Array ( ) 1 Ar...
by yazilim
2013-02-10T13:39:05-07:00
Forum: Users
Topic: Canvas wrap transformation
Replies: 44
Views: 98616

Re: Canvas wrap transformation

Bonzo wrote:Are you on a Windows machine?

I would suggest commenting this line out and see which images were generated OK.

Code: Select all

// Cleanup
// foreach ( glob("*.miff") as $filename ) { unlink($filename); }
i doing to but did not

machine=> Linux
by yazilim
2013-02-10T12:07:34-07:00
Forum: Users
Topic: Canvas wrap transformation
Replies: 44
Views: 98616

Re: Canvas wrap transformation

Bonzo wrote:What version of Imagemagick are you using?

Have you tried the code with a different image as this one may be to small?
thank bonzo

ime using version =>
ImageMagick-6.7.6

i'm testing to different image , but did not :(
by yazilim
2013-02-07T23:46:27-07:00
Forum: Users
Topic: Canvas wrap transformation
Replies: 44
Views: 98616

Re: Canvas wrap transformation

hello i'm use to php canvas print screen => http://www.dgnhosting.net/oscommerce/image/canvas1.png http://www.dgnhosting.net/oscommerce/image/canvas2.png use code => // Input image $image = 'resim.jpg'; // Resize to a png to stop quality loss exec("convert $image -thumbnail 500x500 temp.png&quo...