Re: PDF image template comes out too small
Re: PDF image template comes out too small
- Subject: Re: PDF image template comes out too small
- From: Quincey Morris <email@hidden>
- Date: Wed, 01 Jun 2016 11:30:44 -0700
- Feedback-id: 167118m:167118agrif8a:167118s0fmCPx8_3:SMTPCORP
On Jun 1, 2016, at 10:55 , David Catmull <email@hidden> wrote:
>
> On OS X. I have an NSSegmentedControl in my xib, with my template images assigned to the segments by specifying the image names.
It’s a bit hard to tell what’s going on if it’s all done in IB. You might consider adding code to examine the images on the segments to see what’s going on.
I would try re-exporting the PDFs at a larger size (say 192 x 192, which is a factor of 12). There may be an issue scaling the PDF *up* to get a retina resolution of 32 x 32 px for 16 x 16 pt.
This is going to be a problem if you really want the images to be 16 x 16 pt regardless of the size of the control. If that is the case, I think it’s better to provide them in an image catalog with 1x, 2x and/or 3x as necessary.
_______________________________________________
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