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: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: MagickTextureImage is not doing anything..wtf?

Post by magick »

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 »

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