Cover-photo-2015-05-30_03_13_02__0000-30520150530-3-pxt03x
Marc Edwards

Marc Edwards

Community Staff Founder at Bjango Joined almost 6 years ago via an invitation from Christophe T. Marc has invited Matt Kelsh, Rene Ritchie, Dan V Peterson, Troy Mcilvena, Graham Clarke and 12 others

  • 497 stories
  • 2191 comments
  • 1079 upvotes
  • Posted to Figma introduces PDF exports, in reply to Gaël P , Dec 08, 2018

    My pleasure. :)

    0 points
  • Posted to Difference in Inside and Outside Borders with XD - a problem?, in reply to Nicholas van der Walle , Dec 08, 2018

    Yep! Great to get the behaviour cleared up so quickly. Excellent stuff.

    1 point
  • Posted to Difference in Inside and Outside Borders with XD - a problem?, Dec 07, 2018

    Great analysis. In my opinion, XD’s approach is wrong, and undesirable.

    It’d be good to hear from the XD team, because maybe this is a bug or an unknown difference to them?

    2 points
  • Posted to Figma introduces PDF exports, in reply to Gaël P , Dec 07, 2018

    Yes. Well, with PNG as the first preference. Here is the relevent section of Apple’s HIG:

    Produce artwork in the appropriate format. In general, use de-interlaced PNG files for bitmap/raster artwork. PNG supports transparency and, because it's lossless, compression artifacts don't blur important details or alter colors. It's a good choice for intricate artwork that requires effects like shading, textures, and highlights. Use JPEG for photos. Its compression algorithm usually produces smaller sizes than lossless formats and artifacts are harder to discern in photos. Photo-realistic app icons, however, look best as PNGs. Use PDF for glyphs and other flat, vector artwork that requires high-resolution scaling.

    The recommendation is to use PNG for most things, JPEG for photos, and PDFs for glyphs and other flat, vector artwork that requires high-resolution scaling.

    However, they don’t mention that PDFs get converted to PNGs by Xcode. In doing so, there can be quality and rendering issues, and the resulting PNGs are almost certainly bigger files than if you just saved PNGs from your design tool.

    It is true that some assets may look very similar, but when Xcode renders your PDFs to PNGs, it will use macOS’s PDF rendering, which means even things like shape antialiasing will likely be different to your design tool (Sketch matches the standard macOS shape antialiasing, Figma, Photoshop, Illustrator and Affinity Designer don’t).

    The PNGs created from a PDFs are typically far bigger files for a few reasons — if there’s scaling issues, the images will be blurrier, which will increase the number of unique colours. Xcode also uses of PNGCrush to compress PNGs, and that can easily be improved, if you disable it.

    The HIG also says:

    Use the 8-bit color palette for PNG graphics that don’t require full 24-bit color. Using an 8-bit color palette reduces file size without reducing image quality. This palette is not appropriate for photos.

    As far as I am aware, Xcode never does this with PDFs, but if you’re saving or optimising your own PNGs, you can. Indexed PNGs are far smaller than RGBA PNGs.

    So, given the files are bigger, and even with very simple solid colour glyphs there can be rendering issues, and your PDFs end up as PNGs in the app bundle anyway… there really isn’t any incentive to use PDFs for iOS assets.

    Apple are wrong to recommend PDFs. PDF is a terrible UI asset format, and they should not be using it. You should not be using it. You should recommend to colleagues and clients that PDFs are never used as iOS assets.

    What about using PDFs to send a bunch of artboards to someone, so they can review the design? Sure. Go for it.

    5 points
  • Posted to Figma introduces PDF exports, in reply to Matt Ritter , Dec 06, 2018

    Yeah, unfortunately. I bet most of the people happy about this feature will use it for iOS assets at some point.

    1 point
  • Posted to Figma introduces PDF exports, Dec 06, 2018

    Please, never, ever use PDFs for iOS assets. The format is completely broken for that use, and your app will be larger, with degraded assets as a result.

    2 points
  • Posted to Casey Neistat will pay $5K for the 368 logo. this good or bad? , Dec 05, 2018

    It’s $5K per person who helps for a one-week, high profile project? Seems like they’re being very upfront about the details, and the time frame also seems pretty locked down. Seems good to me.

    2 points
  • Posted to Affinity Designer is real alternative to Illustrator?, in reply to Brian Hinton , Dec 01, 2018

    This is my take as well.

    Would I recommend Affinity Designer? Absolutely. Am I personally going to switch? No way. I do use Affinity Designer for some things, sometimes, but Illustrator is my go-to for most vector design.

    1 point
  • Posted to How do I become a Senior Designer? , Nov 23, 2018

    Perfect timing for this article: What it takes to be a Product Designer

    https://uxdesign.cc/what-it-takes-to-be-a-product-designer-424a4151261e

    2 points
  • Posted to Is it possible to detach from your personal taste?, Nov 22, 2018

    How do you deal with it?

    Lean in to it. Taste is a good thing. :D

    8 points
Load more comments