FROM : John Stiles
DATE : Thu Nov 18 19:47:26 2004
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_removed>)
>>> Help/Unsubscribe/Update your Subscription:
>>> http://lists.apple.com/mailman/options/cocoa-dev/
>>> <email_removed>
>>>
>>> This email sent to <email_removed>
>>
>>
>>
>
DATE : Thu Nov 18 19:47:26 2004
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_removed>)
>>> Help/Unsubscribe/Update your Subscription:
>>> http://lists.apple.com/mailman/options/cocoa-dev/
>>> <email_removed>
>>>
>>> This email sent to <email_removed>
>>
>>
>>
>
| Related mails | Author | Date |
|---|---|---|
| Mark Thomas | Nov 18, 18:40 | |
| John Stiles | Nov 18, 18:45 | |
| Mark Thomas | Nov 18, 18:48 | |
| Ricky Sharp | Nov 18, 19:08 | |
| John Stiles | Nov 18, 19:47 |






Cocoa mail archive

