• 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: Vector Graphic Dock Icon?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Vector Graphic Dock Icon?


  • Subject: Re: Vector Graphic Dock Icon?
  • From: Ricky Sharp <email@hidden>
  • Date: Wed, 6 May 2009 15:40:06 -0500


On May 6, 2009, at 2:12 PM, Eric E. Dolecki wrote:

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?


I moved to 99.9% PDF for all my Mac OS X apps. The two main reasons for this:

(1) Full support for resolution-independence.

(2) My graphics are now more usable across multiple apps. My graphics workflow involves using Illustrator to author all originals. PDFs are then created from those originals for Mac OS X apps. PNGs are created (often via Photoshop) for images for iPhone OS apps.

Since all artwork here is vector-based, I can easily up/down scale them without loss in quality.


The only artwork I do not use PDF in is for my large cursor (48 x 64 pt) images. While NSCursor does support PDF, I found that my particular artwork had too many drawing artifacts when scaling between 0.5 and 3.0. Instead of that, I used multi-res TIFF files.


Shawn is correct in his earlier answer to this thread; some artwork isn't really suited to be vectorized. So, for those cases, definitely go bitmapped.


The only disadvantage to PDF (or vector-based artwork) is that you'll have longer initial load times. But, I created an 'image factory' to help me manage that. I can mark certain images as being 'pre-load' and load them up during app startup. Remaining are all lazily loaded. And, once in memory, each is now in bitmap form (you ultimately have an NSBitmapImageRep). So drawing is always fast.


___________________________________________________________
Ricky A. Sharp         mailto:email@hidden
Instant Interactive(tm)   http://www.instantinteractive.com



_______________________________________________

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


  • Follow-Ups:
    • Re: Vector Graphic Dock Icon?
      • From: Kyle Sluder <email@hidden>
References: 
 >Vector Graphic Dock Icon? (From: Chris Idou <email@hidden>)
 >Re: Vector Graphic Dock Icon? (From: Clark Cox <email@hidden>)
 >Re: Vector Graphic Dock Icon? (From: "Eric E. Dolecki" <email@hidden>)
 >Re: Vector Graphic Dock Icon? (From: Shawn Erickson <email@hidden>)
 >Re: Vector Graphic Dock Icon? (From: "Eric E. Dolecki" <email@hidden>)

  • Prev by Date: Re: ViewControllers and window nibs
  • Next by Date: Programmatic access to NSSearchField's Display Name?
  • Previous by thread: Re: Vector Graphic Dock Icon?
  • Next by thread: Re: Vector Graphic Dock Icon?
  • Index(es):
    • Date
    • Thread