• 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: CGImage, CIImage and NSImage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CGImage, CIImage and NSImage


  • Subject: Re: CGImage, CIImage and NSImage
  • From: sebi <email@hidden>
  • Date: Thu, 5 Aug 2010 16:25:58 +0200

Hello,

If you are still learning I would recommend NSImage, it's the easiest to use.
If you need many images and high framerates I would recommend to use OpenGL. CGImage, CIImage are rarely used for special purposes.. I wouldn't bother with them at the beginning.

Regards,
Sebastian Mecklenburg

On 04.08.2010, at 19:26, Mas Habibi wrote:

> Hello, i'm a student who still learning how to program with Cocoa API, i have a little problem for what is the best way to displaying an image into NSView between CGImage, CIImage or NSImage, and what's the different?
>
> I have use the CGImage with this code, but there's an error when i execute it,
>
> 	CGContextDrawImage(context, imageRect, drawnImage);
>
> which one is the best one to draw an image directly into NSView?
>
> - sorry for my bad english, and thanks -



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >CGImage, CIImage and NSImage (From: Mas Habibi <email@hidden>)

  • Prev by Date: Re: Is this the correct way to cache an IMP?
  • Next by Date: Resolution of an NSImage(Rep)?
  • Previous by thread: Re: CGImage, CIImage and NSImage
  • Next by thread: MKMapView
  • Index(es):
    • Date
    • Thread