Re: JPEG and 72 dpi revisited...
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.