Problem in importing NSBitmapImageRep.h

Discussion in 'iOS Programming' started by iphonejudy, Jun 18, 2009.

  1. iphonejudy macrumors 6502

    iphonejudy

    Joined:
    Sep 12, 2008
    #1
    Code:
    #import "NSBitmapImageRep.h"
    When i import the above file ,I got error No such file .


    Code:
    I tried #import <Appkit/NSBitmapImageRep.h>
    then also I got the error y?
     
  2. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    For the last time (I've told you this more than once as have other people).

    YOU CAN'T USE THE APPKIT ON THE IPHONE

    NSBitmapImageRep is part of the Mac OS AppKit not the iPhone OS UIKit.

    Once again I suggest you give up and pay someone who has some degree of competence to do whatever it is you are doing.
     
  3. iphonejudy thread starter macrumors 6502

    iphonejudy

    Joined:
    Sep 12, 2008
    #3

    SORRY SORRY SORRY.I AM REALLY SORRY.
     
  4. bad-dog Guest

    #4
    I was trying to figure that out too. Granted I'm a beginner to iPhone, and looked around a while but didn't grasp the problem until reading that unnecessarily rude reply. Thanks!

    We are competent and don't need to always find someone else to do something we can't immediately grasp! Plus I don't got $ to do that.

    My need for NSBitmapImageRep functionality was to write and read single pixels to a imageRef (basically). And now that I know I should be looking elsewhere to accomplish that, I think I'm competent enough to find a solution. .

    Though any pointers would save time..
     
  5. ChOas macrumors regular

    Joined:
    Nov 24, 2006
    Location:
    The Netherlands
    #5
    Look up iphonejudy's posthistory.

    Robbieduncan was not unnecessarily rude, really. It's just that iphonejudy is not competent and doesn't want to grasp anything.
     
  6. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #6
    As iphonejudy had already been told on these forums, more than once, that that specific header was not available on the iPhone I felt it was necessarily rude. In addition the level of question posted by this individual demonstrates their apparent competence well.

    With respect to pointers I'd suggest the phrase "world of pain" and this technical Q&A. Once you have the raw pixels you can manipulate them at a byte level taking care to respect the various parameters like bytes-per-row, bits-per-component and so on. As I said "world of pain".
     
  7. bad-dog Guest

    #7
    Thanks robbieduncan. Yeah I was hoping to avoid that world of pain but will need to go with it.. Best -
     

Share This Page