• 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: JPEG and 72 dpi revisited...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JPEG and 72 dpi revisited...


  • Subject: Re: JPEG and 72 dpi revisited...
  • From: Nick Morris <email@hidden>
  • Date: Sun, 7 Sep 2003 21:32:14 +0100

This is true... However, if you save a NSBitmapImageRep to a JPEG, no matter what the dpi of the image file that was used to create the NSBitmapImageRep, you will end up with a 72 dpi image when saved as a JPEG.

Nick

Hi,

Cocoa interaction with Quicktime (and also Cocoa and NSImage) seems to
be in a real mess.

AFAICT, NSImage uses QuickTime for reading, but not for writing.

NSImage does not allow a way of setting the dpi of an image when
saving as a jpeg.

Do not use NSImage. Use NSBitmapImageRep. NSImage is for getting
stuff to screen (hence 72 dpi), not for manipulating the
representation.

Marcel

--
Marcel Weiher Metaobject Software Technologies
email@hidden www.metaobject.com
Metaprogramming for the Graphic Arts. HOM, IDEAs, MetaAd etc.
1d480c25f397c4786386135f8e8938e4
_______________________________________________
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.

  • Follow-Ups:
    • Re: JPEG and 72 dpi revisited...
      • From: Marcel Weiher <email@hidden>
  • Prev by Date: Re: Textwindows
  • Next by Date: Techniques for thread communication
  • Previous by thread: Re: JPEG and 72 dpi revisited...
  • Next by thread: Re: JPEG and 72 dpi revisited...
  • Index(es):
    • Date
    • Thread