Declaring a image as bitmap image

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

  1. iphonejudy macrumors 6502

    iphonejudy

    Joined:
    Sep 12, 2008
    #1
    I want to declare a image as a bitmap image

    For UIImage we declared as UIImage *image1;

    Like that can we declare a bitmap image?
     
  2. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    Short answer is you can't. If your image is a vector you can't just "declare" that it's a bitmpat: you need to convert it. I would note that UIImage only claims to support bitmap image formats...
     

Share This Page