Re: Vector Graphic Dock Icon?
Re: Vector Graphic Dock Icon?
- Subject: Re: Vector Graphic Dock Icon?
- From: "Eric E. Dolecki" <email@hidden>
- Date: Wed, 6 May 2009 15:12:14 -0400
That's where I first saw PDFs used like that. Coming from Flash, we take
vector as a given but bitmaps are more processor friendly. Is there a clear
advantage using PDFs instead of bitmaps? Do PDFs remain vector in their
rendering, or are they simply converted to bitmap and then used?
On Wed, May 6, 2009 at 3:08 PM, Shawn Erickson <email@hidden> wrote:
> On Wed, May 6, 2009 at 11:45 AM, Eric E. Dolecki <email@hidden>
> wrote:
>
> > I don't want to hijack this thread, but is it acceptable to use small PDF
> > files for things like game assets, or does vector artwork bog the
> processor
> > down and bitmaps are preferred?
>
> It shouldn't cause any problems unless you are constantly reloading
> and rasterizing the images from their PDF form. NSImages (and other
> APIs) can cache a rasterized version of a PDF image once draw
> destination context is hit. I know many sprite based games that have
> switched to using PDFs.
>
> For example checkout the asteroids example on the following...
>
> http://cocoawithlove.com/search/label/CoreAnimation
>
> -Shawn
>
--
http://ericd.net
Interactive design and development
_______________________________________________
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