• 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: The bitmap image type from an NSBitmapImageRep?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >The bitmap image type from an NSBitmapImageRep? (From: Ondra Cada <email@hidden>)
 >Re: The bitmap image type from an NSBitmapImageRep? (From: p3consulting <email@hidden>)
 >Re: The bitmap image type from an NSBitmapImageRep? (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: File size of a downloadable file
  • Next by Date: Re: Cocoa vs User: 0 - 1
  • Previous by thread: Re: The bitmap image type from an NSBitmapImageRep?
  • Next by thread: Re: The bitmap image type from an NSBitmapImageRep?
  • Index(es):
    • Date
    • Thread