• 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: Robert Cerny <email@hidden>
  • Date: Sat, 20 Jan 2007 20:33:25 +0100


On 20.1.2007, at 20:18, I. Savant wrote:


It's difficult to make sense of the problem as you're describing it ...


It looks well from my point of view and when I save the image using [[myImageFile TIFFRepresentation] writeToFile.... I get the correct image.

Can you clarify this? Do you see the image drawn correctly (with your string) on the screen prior to writing? Also, whether you see it in the GUI first or not, when you say "I get the correct image" do you mean the image (with your string on it) you save displays fine?


I'm writing a command line tool, so I don't have gui. I get the correct image means, that when I save the image which I changed using the described method I get what I expect - image with text over it. But it's not what I want... I need just change icon.

However, it looks like the contents in memory doesn't contain the string. I tried to use [myImageFile recache] to update it but no way. I'm using IconFamily to draw a thumbnail and the icon I get is empty.

This statement is ambiguous as well. What do you mean 'contents of memory'? Do you mean you viewed your attributed string in the debugger and it was empty or nil?


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.

Robert
_______________________________________________

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


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

  • Prev by Date: Re: Image not updated
  • Next by Date: Re: Regarding launching an application at startup of mac.
  • Previous by thread: Re: Image not updated
  • Next by thread: Re: Image not updated
  • Index(es):
    • Date
    • Thread