Re: Dual screen problems
Re: Dual screen problems
- Subject: Re: Dual screen problems
- From: Tverdokhleb Andrey <email@hidden>
- Date: Wed, 5 Nov 2008 11:57:42 -0800
On Nov 5, 2008, at 11:35 , I. Savant wrote:
On Wed, Nov 5, 2008 at 2:03 PM, Tverdokhleb Andrey
<email@hidden> wrote:
Recently I've noticed that NSImage initialized from NSData with
TIFF is not
displayed properly on dual screen systems. One screen displays image
correctly, but another one shows it completely wrong compared to
the same
image opened on the same screen in Photoshop f.e. Farther
investigation
showed that both monitors should be connected to the same videocard
and that
most of applications dealing with graphics are affected by this.
Some work
fine though. Photoshop, ColorSync Utility, Aperture display images
properly
in all cases. Preview, Safari, iPhoto - wrong colors on one of
monitors and
this goes to all image formats, not only TIFF.
From the description, it seems to me like the image caching is not
being properly managed (ie not refreshed) when moving it from display
to display. Try setting NSImage's cache mode to never cache.
Tried that and also tried to call recache - doesn't help at all.
Another part of the story - if image was created in my application it
actually works fine on all monitors untill I save it and open again.
It all depends on how NSImage was initialized - if I create it
internally in one very particular way through NSBitmapImgeRep, save to
TIFF and assign to NSImageView it works fine on all monitors. If I
load that TIFF and try to assign to the same view - broken. The tiff
file is fine and in fact I tried to save it from views when it shows
right colors and wrong colors, all files are binary identical and
displayed properly in Photoshop and Aperture.
Or, use a
IKImageView (part of the Image Kit palette bundle in IB) and see if
the problem follows it.
Leopard only, so this is not a solution for me in any case, but I'll
try it later. I know that QuickLook doesn't handle colors properly too
along with Preview and others, so my guess is that this will not help.
Andrey
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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