pass Image by value or by reference?

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

There is no method called ExportImage(). What exactly are you trying to do?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

Yes you are passing an image reference. In addition, images are referenced counted and only the image meta data is cloned. Only when an image pixel is updated is the pixel cache cloned.
Post Reply