Re: determining format of NSImageRep
Re: determining format of NSImageRep
- Subject: Re: determining format of NSImageRep
- From: Seth Delackner <email@hidden>
- Date: Tue, 25 Mar 2003 21:29:33 +0000
On Mon, Mar 24, 2003 at 09:26:26PM -0500, Sherm Pendley wrote:
>
A great way to do that is magic. Seriously - check out the /etc/magic
>
file, and get a description of its format and use in the man page "man
>
magic". There, you'll find a metric boatload of "magic numbers" that can
>
be used to identify a file's contents.
Holy smokes! This is a boatload of great info. Why doesn't /etc/magic have a
c function version of the 'file' command? Surely someone wrote it already.
_______________________________________________
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.