bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #33475] .icns loaded with NSImage


From: Fred Kiefer
Subject: [bug #33475] .icns loaded with NSImage
Date: Sat, 04 Jun 2011 23:27:39 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

Update of bug #33475 (project gnustep):

             Assigned to:                    None => FredKiefer             

    _______________________________________________________

Follow-up Comment #2:

Which version of GNUstep gui are you using?

Up until and including the last release we only used one icon from an icns
file. I changed the code a few weeks ago to load all available icons (or at
least the formats that we implement). After that the icon used was somewhat
arbitrary. Wolfgang Lux then changed the code in NSImage that selects the
representation to use to take one whose size matches exactly the size to draw.
This may not be the perfect solution in your case. Most likely there we should
choose the smallest representation that is bigger or equal to the requested
size. Is this what you are looking for? If so, it should be easy to adopt the
code in [NSImage -bestRepresentationForDevice:].
We could of course also use the biggest size all the times, but this may not
yield the best result, as we have'll to scale down the image.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33475>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]