• 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: Flip an NSBitmapImageRep
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Flip an NSBitmapImageRep


  • Subject: Re: Flip an NSBitmapImageRep
  • From: Ricky Sharp <email@hidden>
  • Date: Fri, 13 Oct 2006 17:11:25 -0500


On Oct 13, 2006, at 2:49 PM, Simon Raisin wrote:

I can't seem to find a way to flip an NSBitmapImageRep horizontally. And
yes, I *have* looked through the documentation... I am just missing it.

Have you looked into CoreImage?

If CI is not an option for you, I would recommend doing direct pixel access. You can see this at work in:

<http://developer.apple.com/samplecode/Monochrome_Image/index.html>

Specifically, look at NSImage_monochrome.m. You could keep it as-is in terms of producing a new "h-flipped" image. You could, however, modify it to do a more in-place flip on the same rep.

___________________________________________________________
Ricky A. Sharp         mailto:email@hidden
Instant Interactive(tm)   http://www.instantinteractive.com

_______________________________________________
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


  • Follow-Ups:
    • Re: Flip an NSBitmapImageRep
      • From: "Simon Raisin" <email@hidden>
References: 
 >Flip an NSBitmapImageRep (From: "Simon Raisin" <email@hidden>)

  • Prev by Date: Re: Window frame autosave
  • Next by Date: Are there 'sizers' in Cocoa?
  • Previous by thread: Flip an NSBitmapImageRep
  • Next by thread: Re: Flip an NSBitmapImageRep
  • Index(es):
    • Date
    • Thread