Re: patching images together
Re: patching images together
- Subject: Re: patching images together
- From: j o a r <email@hidden>
- Date: Fri, 4 Feb 2005 20:37:17 +0100
On 2005-02-04, at 20.32, David Piasecki wrote:
I have a set of adjacent PNG or TIFF images that I want to patch
together into a single image. Is there a way to do this in Cocoa,
perhaps by positioning each image as data at a specified (x,y)
position in the final result image?
It's easy. Create a new image, the size of the combined area of all
images, lock focus on the new image, and then use
"-compositeToPoint:operation:" on each one of the source images in turn
to copy their data into the new image.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden