Re: NSImage question
Re: NSImage question
- Subject: Re: NSImage question
- From: John Stiles <email@hidden>
- Date: Thu, 18 Nov 2004 10:47:26 -0800
I think in a perfect world NSImage would use QuickTime for importing
graphics. In reality, NSImage has its own code for importing graphics,
so sometimes there are images where QT will work and NSImage won't, or
vice versa.
Yes, this is silly duplication of code. But remember, NSImage predates
QuickTime; it was originally written at NeXT for the Nextstep OS.
On Nov 18, 2004, at 9:48 AM, Mark Thomas wrote:
Thanks John,
So I guess it doesn't use Quicktime I guess there is a good reason
why not,
as seen duplication ???. Converting to other image formats don't work
as I
need to maintain the PC source compatibility and window programmers
are too
lazy to re-write their code because something on MacOS doesn't work
right
:-(, that not quite right but are pretty busy, but that the impression
:-(.
Thanks
Mark.
This is a bug in NSImage with certain BMP files.
Change the file format to something else (PNG comes to mind) and it
should work fine.
(BTW I filed this as rdar://3874072)
On Nov 18, 2004, at 9:40 AM, Mark Thomas wrote:
Hi,
Does anybody know if we should use NSImage and NSImageView when
dealing
with images ???, or should we use something else (like the Quicktime
object), but documentation and ADC books implies that we should use
them.
I ask as I believed it used QuickTime underneath for it image
format
support, but I game to class a millions of colors BMP file, and it
couldn't
draw it all :-(.
Doing this using with the Preview.app did the same thing, Dropping
it on
the QuickTime player worked fine. If I covered it to thousands of
colors it
worked fine on all.
Any ideas ???.
Thanks
Mark.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden