• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: patching images together
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >patching images together (From: "David Piasecki" <email@hidden>)
 >Re: patching images together (From: j o a r <email@hidden>)

  • Prev by Date: Re: patching images together
  • Next by Date: Re: Stopping edition of a NSTableView's row after hitting return
  • Previous by thread: Re: patching images together
  • Next by thread: NSMenuValidation properly
  • Index(es):
    • Date
    • Thread