The macosxhints Forums

The macosxhints Forums (http://hintsforums.macworld.com/index.php)
-   OS X Developer (http://hintsforums.macworld.com/forumdisplay.php?f=27)
-   -   NSImage and getting access into each pixel (http://hintsforums.macworld.com/showthread.php?t=112729)

hayne 07-24-2010 03:04 PM

Just follow the trail of data in your variables:

image -> bitmapImageRep -> width, height -> myBitmapContext -> myImage -> bitmapRep -> producedImage

You see that the only thing you take from the original image is its width & height. No where do you refer to the data in the image.

Clearly you need to do a lot more reading. Maybe google for more examples, or download open source programs that might be doing similar things, etc.


All times are GMT -5. The time now is 06:23 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.