Re: patching images together
Re: patching images together
- Subject: Re: patching images together
- From: "David Piasecki" <email@hidden>
- Date: Fri, 4 Feb 2005 11:44:41 -0800
Wow! That does sound easy. Glad I asked!
Thanks,
David
On Feb 4, 2005, at 11:37 AM, j o a r wrote:
* PGP Signed by an unverified key: 12/31/1969 at 04:00PM
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
* Joar Wingfors <email@hidden>
* Issuer: Thawte Consulting (Pty) Ltd. - Unverified
_______________________________________________
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