Page 1 of 1

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

Posted: 2008-12-09T18:56:42-07:00
by no8chat
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!

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

Posted: 2008-12-09T19:05:59-07:00
by magick
You need to set the tile size with magicksetsize() before you call magickreadimage().

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

Posted: 2008-12-10T05:03:56-07:00
by no8chat
magick wrote:You need to set the tile size with magicksetsize() before you call magickreadimage().
Thank you,magick!!!!