• 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: iPhoto-like view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iPhoto-like view


  • Subject: Re: iPhoto-like view
  • From: Shawn Erickson <email@hidden>
  • Date: Thu, 10 Feb 2005 12:15:27 -0800


On Feb 10, 2005, at 12:01 PM, Michael Becker wrote:

Hi!

I am trying to recreate (as much as possible) iPhoto's main thumbnail-view, especially its real-time zoom-slider. But I am not sure which technology to use. I have these in mind:

- Quartz 2D
- OpenGL
- simple plain old Cocoa-objects (NSBitmapImageRep etc.)

So far I could reproduce the behaviour with the NSBitmapImageRep classes, and even with a couple of hundred pictures it works alright. But I would just like to know if I could do even better by using a slicker technology. Since I do not want to draw any lines, rectangles or shades, I was wondering if I should still use e.g. Quartz for performance improvements.

iPhoto uses Cocoa for much of it UI and drops down to using Quartz 2D for (much of) its image drawing (not sure if it uses NSImage, etc. at all) because of optimizations and drawing quality options they wanted to use.


Of course NSImage and friends leverages Quartz 2D so it depends on what you find you need to do... it is more about impedance matching on which API you use.

I personally see no reason to jump into OpenGL to do what you want to do since Quartz 2D does that on your behalf and at a higher level of abstraction. Also keep an eye towards Core Image coming with Tiger for capabilities that you may want to use and by dropping down into OpenGL it may make that more difficult.

-Shawn

_______________________________________________
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


References: 
 >iPhoto-like view (From: Michael Becker <email@hidden>)

  • Prev by Date: Re: Objective C class prefix
  • Next by Date: Re: Philosophy of FSRef - way
  • Previous by thread: iPhoto-like view
  • Next by thread: Re: Welcome to the "Cocoa-dev" mailing list
  • Index(es):
    • Date
    • Thread