Re: Image not updated
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