• 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: File system file renaming question...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File system file renaming question...


  • Subject: Re: File system file renaming question...
  • From: Jens Miltner <email@hidden>
  • Date: Tue, 08 Dec 2009 17:44:53 +0100


Am 08.12.2009 um 17:26 schrieb Phil Hystad:

This question is not specifically about Cocoa programming but I hope that some Mac OS X experts out there can give me an answer.

I sent an attached photo to my daughter so that she could print it out using Costco print services. I sent it at high resolution, the photo image was 1.6 MB. It seems that Mac mail changed the resolution to a more web friendly size of about 64 K with much reduced resolution. So, I thought that a way to get around this was to change the file type (extension) of the image file to something other then .jpg such as .dat (and, I tried .zz, .q, and null). However, the file was still recognized and interpreted as a jpeg file and treated in the same manner by mail (and, also by the finder that displayed the image).

So, it looks like Mac OS X is interpreting the file based on contents and not based on file extension. This seems to be a very wrong thing to do in my opinion.

Why exactly does this seem very wrong? After all, it's the content that matters, not the file name or extension... A picture is a picture and won't become a text document or a sound just because you change the extension!



Does anyone know of a way to turn this off or is this considered a "feature" for some ease-of-use aspect of OS X?

When you add pictures to a mail message in Apple Mail, there's a little popup menu in the lower right corner of the mail message window that allows you to pick the image size. IIRC, one entry is "Original size"...


</jum>

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >File system file renaming question... (From: Phil Hystad <email@hidden>)

  • Prev by Date: Re: odd problems with NSData / OpenGL
  • Next by Date: Re: NSURLConnection Problem Inside QuickLook Generator
  • Previous by thread: File system file renaming question...
  • Next by thread: Re: File system file renaming question...
  • Index(es):
    • Date
    • Thread