what is the difference between setFormat and setImageFormat

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Post Reply
woshiadai

what is the difference between setFormat and setImageFormat

Post by woshiadai »

If the Imagick object only contains one image, which function to use setFormat or setImageFormat?

In general, which one to use in what circumstances? I am quite confused between the two.

Really appreciate any clarification.
mkoppanen
Posts: 309
Joined: 2007-06-09T07:06:32-07:00

Re: what is the difference between setFormat and setImageFormat

Post by mkoppanen »

Hello,

usually "Image"-variants of the image affect the current image sequence where as the ones without image are global properties for the object.
Mikko Koppanen
My blog: http://valokuva.org
el_supremo
Posts: 1015
Joined: 2005-03-21T21:16:57-07:00

Re: what is the difference between setFormat and setImageFormat

Post by el_supremo »

See the response by magick in this post:
viewtopic.php?f=3&t=14899
where a similar question was asked.

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