• 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
NSImage vs NSImageRep uncompressed vs compressed data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSImage vs NSImageRep uncompressed vs compressed data


  • Subject: NSImage vs NSImageRep uncompressed vs compressed data
  • From: Jiva DeVoe <email@hidden>
  • Date: Wed, 18 Sep 2002 23:02:02 -0700

So I'm using NSImage to store some .jpg files, and I recently enabled
drag-n-drop to enable just dragging images from the finder and whatnot.
Anyway, I'm using the NSImage directly to write the images out as NSData to
the hard disk when I want to save the images. Well, the next thing I know,
my data file is like 150MB!!!

So the question is, is there anything special I need to do to enable
compression on these NSImages when they're saved to disk and whatnot?
_______________________________________________
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.

  • Prev by Date: custom window controllers
  • Next by Date: drawing a string into an image
  • Previous by thread: Re: custom window controllers
  • Next by thread: drawing a string into an image
  • Index(es):
    • Date
    • Thread