Re: The bitmap image type from an NSBitmapImageRep?
Re: The bitmap image type from an NSBitmapImageRep?
- Subject: Re: The bitmap image type from an NSBitmapImageRep?
- From: p3consulting <email@hidden>
- Date: Sat, 17 Apr 2004 22:39:07 +0200
Le avr. 17, 2004, ` 13:47, Ondra Cada a icrit :
>
Pascal,
>
>
On 17.4.2004, at 10:02, p3consulting wrote:
>
>
> Have you check the
>
> - (id)valueForProperty:(NSString *)property
>
> ?
>
>
Yup, I did. According to the table of property constants at the
>
beginning of the documentation file, there does not seem to be one for
>
the data type... or did I overlook something? What would you use for
>
the "property" argument?
>
>
> The NSFileManger may give you HFSType, with
>
>
It would even give me the file suffix, which would be quite
>
sufficient, had not been for the fact the NSBitmapImageRep was created
>
from data (whose source is unknown, possibly a BLOB in a database or
>
whatever):
>
There is a
public const char *
magic_buffer(struct magic_set *ms, const void *buf, size_t nb)
in libmagic...
Pascal Pochet
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.