• 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: NSImage get / set Pixels
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSImage get / set Pixels


  • Subject: Re: NSImage get / set Pixels
  • From: goessly <email@hidden>
  • Date: Fri, 17 Mar 2006 17:37:53 +0100

What are you trying to accomplish?

Actually I'm recycling an old project of mine, a GIMP-Plugin for removing perspective distortions form input pictures, to Cocoa. From a given set of reference points I calculate a calibration matrix of sorts. This is used to obtain - for each pixel in the output-pic - the color of the corresponding, non-distorted point from the source- image.
I receive the correct values from my math-routines, but am quite unable to write them to a visible output. I'm attempting to write them to a (focussed) NSBitmapImageRep *outRep, which in turn is passed to an NSImage outputImage in order to be drawn into an NSImageView. But the ImageView remains empty, and I don't know why.


Any hints?

goessly
_______________________________________________
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: NSImage get / set Pixels
      • From: "John C. Randolph" <email@hidden>
References: 
 >NSImage get / set Pixels (From: goessly <email@hidden>)
 >Re: NSImage get / set Pixels (From: Ricky Sharp <email@hidden>)
 >Re: NSImage get / set Pixels (From: goessly <email@hidden>)
 >Re: NSImage get / set Pixels (From: "John C. Randolph" <email@hidden>)

  • Prev by Date: Locking/synchronization conundrum
  • Next by Date: Re: How to find out if a TCP port is in use?
  • Previous by thread: Re: NSImage get / set Pixels
  • Next by thread: Re: NSImage get / set Pixels
  • Index(es):
    • Date
    • Thread