Re: NSImage get / set Pixels
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