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 <shaw...@gmail.com> wrote:

> On Wed, May 6, 2009 at 11:45 AM, Eric E. Dolecki <edole...@gmail.com>
> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to