magickreadimage($mw,'tile:pic.jpg') don't work

MagickWand for PHP is an object-oriented PHP interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning MagickWand for PHP.
Post Reply
no8chat

magickreadimage($mw,'tile:pic.jpg') don't work

Post by no8chat » 2008-12-09T18:56:42-07:00

thanks

Code: Select all

magickreadimage($mw,'tile:pic.jpg')
got the follow error: :(

Code: Select all

Fatal error: magickreadimage(): C API cannot read the format "tile:pic.jpg" (reason: MustSpecifyImageSize `D:\My Documents\Visual Studio 2005\WebSites\WebSite2\old\pic.jpg') [on C source line 217] in D:\My Documents\Visual Studio 2005\WebSites\WebSite2\old\test2.php on line 12
but magickreadimage($mw,'pic.jpg') is working
What is the difference magickreadimage($mw,'pic.jpg') and magickreadimage($mw,'tile:pic.jpg') :(

thanks again!

User avatar
magick
Site Admin
Posts: 11095
Joined: 2003-05-31T11:32:55-07:00

Re: magickreadimage($mw,'tile:pic.jpg') don't work

Post by magick » 2008-12-09T19:05:59-07:00

You need to set the tile size with magicksetsize() before you call magickreadimage().

no8chat

Re: magickreadimage($mw,'tile:pic.jpg') don't work

Post by no8chat » 2008-12-10T05:03:56-07:00

magick wrote:You need to set the tile size with magicksetsize() before you call magickreadimage().
Thank you,magick!!!!

Post Reply