• 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: Image not updated
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Image not updated


  • Subject: Re: Image not updated
  • From: "I. Savant" <email@hidden>
  • Date: Sat, 20 Jan 2007 14:46:20 -0500

On Jan 20, 2007, at 2:33 PM, Robert Cerny wrote:
My idea (maybe wrong) was that IconFamily uses cached version of the image (without my string). I get an empty icon (not generic, but empty) after save. When I remove my code which I described in the first email, the file gets _correct_ icon - thumbnail of the image.


I'd have to agree with Joar, then. It seems like there's something going on with an altered image with IconFamily. What happens if you modify myImageFile as you had before, save it to a temporary location, then load it again into a *separate* NSImage instance (like myModifiedImageFile) and send *that* to IconFamily?

Seems to me that would work (if it's a problem with IconFamily). I personally can't see anything immediately wrong with your approach. As you observed, writing your modified myImageFile produces the expected results ...

--
I.S.



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


References: 
 >Image not updated (From: Robert Cerny <email@hidden>)
 >Re: Image not updated (From: "I. Savant" <email@hidden>)
 >Re: Image not updated (From: Robert Cerny <email@hidden>)

  • Prev by Date: Re: Regarding launching an application at startup of mac.
  • Next by Date: Re: [NSApp mainMenu] = null!!!
  • Previous by thread: Re: Image not updated
  • Next by thread: Redrawing in a custom NSView.
  • Index(es):
    • Date
    • Thread