MagickTextureImage is not doing anything..wtf?

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
User avatar
magick
Site Admin
Posts: 11076
Joined: 2003-05-31T11:32:55-07:00

Re: MagickTextureImage is not doing anything..wtf?

Post by magick » 2008-11-12T07:57:26-07:00

Are you using ImageMagick 6.4.5? If so there is a transient texture bug which we have a patch for. The patch release will be available within the week.

el_supremo
Posts: 1015
Joined: 2005-03-21T21:16:57-07:00

Re: MagickTextureImage is not doing anything..wtf?

Post by el_supremo » 2008-11-12T08:21:58-07:00

I don't know why MagickTextureImage doesn't do anything but you can do the same thing this way:

Code: Select all

	$magickWand=NewMagickWand();
	
	MagickNewImage($magickWand,400, 400, 'white');           
	MagickReadImage($magickWand,'tile:someTexture.jpg');
	             
	MagickWriteImage($magickWand,'somefilename.png'); 
Pete
Sorry, my ISP shutdown all personal webspace so my MagickWand Examples in C is offline.
See my message in this topic for a link to a zip of all the files.

Post Reply