Re: Toolbar Icon Workflow

2010-06-28 Thread Richard Somers
Thanks for all the comments. I have made some changes to my workflow and things are working better now. "Inkscape" is a vector drawing program (which has beautifully designed icons). My canvas size of 28x22 points was a poor choice because the Cocoa frameworks would apply a non-uniform scal

Re: Toolbar Icon Workflow

2010-06-27 Thread Gideon King
I'm just using a standard NSToolbarItem. In any case, I doubt that would change anything if the line is being drawn on two pixels. With the way I am doing it, I can get it right on the pixels every time, and in many cases I want to adjust things a bit between the 24 and 32 pixel images anyway, s

Re: Toolbar Icon Workflow

2010-06-27 Thread Graham Cox
On 27/06/2010, at 11:26 PM, Gideon King wrote: > I think the issue is more to do with the scaling leaving the lines moved from > the pixel boundaries, and with only 24 or 32 pixels to play with, it's pretty > noticeable when it blurs across two pixels. Hmm, I see. One thing I've noticed is t

Re: Toolbar Icon Workflow

2010-06-27 Thread Gideon King
I think the issue is more to do with the scaling leaving the lines moved from the pixel boundaries, and with only 24 or 32 pixels to play with, it's pretty noticeable when it blurs across two pixels. Gideon On 27/06/2010, at 8:42 PM, Graham Cox wrote: > > On 27/06/2010, at 11:00 AM, Gideon K

Re: Toolbar Icon Workflow

2010-06-27 Thread vincent habchi
Le 27 juin 2010 à 12:42, Graham Cox a écrit : > It shouldn't, as it has no native resolution. What can happen though is that > NSImage caches it to a bitmap and reuses the bitmap, which can become fuzzy > when scaled up. You could investigate turning off caching on the image to > avoid that. >

Re: Toolbar Icon Workflow

2010-06-27 Thread Graham Cox
On 27/06/2010, at 11:00 AM, Gideon King wrote: > - if you use a PDF, it has the resolution independence, but will look fuzzy > at non-native resolutions It shouldn't, as it has no native resolution. What can happen though is that NSImage caches it to a bitmap and reuses the bitmap, which can

Re: Toolbar Icon Workflow

2010-06-27 Thread Paul Sanders
> if you use a PDF, it has the resolution independence, but will look fuzzy at > non-native resolutions But if a PDF contains only vector graphics elements it has no native resolution so it should scale to any size reasonably well. Just don't put any bitmaps in there. Here's a simple example

Re: Toolbar Icon Workflow

2010-06-26 Thread Gideon King
The two sizes of the icons when displayed as "normal" and "small" are 32x32 and 24x24. While the recommended way of handling this is to create a multi-image file as has been described previously, or to use a PDF, I find drawbacks in both approaches - multi-image files are normally just the two s

Re: Toolbar Icon Workflow

2010-06-26 Thread Paul Sanders
DF's. Just my $0.02. Regards, Paul Sanders. - Original Message - From: Richard Somers To: cocoa-dev@lists.apple.com Sent: Saturday, June 26, 2010 8:19 PM Subject: Toolbar Icon Workflow My current ad hoc work flow for toolbar icons which are geometric in nature. • Use "Ink

Toolbar Icon Workflow

2010-06-26 Thread Richard Somers
My current ad hoc work flow for toolbar icons which are geometric in nature. • Use "Inkscape". • Use a small canvas size of 28 points wide x 22 points high. • Try to make sure the ink is generally constrained with the individual point boundaries. • Save the "Inkscape" file as a pdf. • Op