• 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: - [NSBitmapImageRep tiffRepresentation] malloc error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: - [NSBitmapImageRep tiffRepresentation] malloc error


  • Subject: Re: - [NSBitmapImageRep tiffRepresentation] malloc error
  • From: Thomas Clement <email@hidden>
  • Date: Tue, 16 Dec 2008 23:07:03 +0100

On Dec 16, 2008, at 8:00 PM, David Duncan wrote:

On Dec 16, 2008, at 10:39 AM, Thomas Clement wrote:

That's right, I was not doing it correctly, this is now working.
Also I noticed I can call CGImageCreateWithImageInRect to create a new CGImage which is a smaller area of the original image and then call CGImageGetDataProvider and CGDataProviderCopyData to get the pixel data.
Seem easier and faster too. However CGDataProviderCopyData is 10.5 minimum.


Unfortunately due to a bug that doesn't always work correctly. If you file a bug, reference bug 5889934.

That's unfortunate. As suggested, I filed a bug report rdar://6449952


Thanks again for your help! Thomas

_______________________________________________

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: 
 >- [NSBitmapImageRep tiffRepresentation] malloc error (From: Thomas Clement <email@hidden>)
 >Re: - [NSBitmapImageRep tiffRepresentation] malloc error (From: David Duncan <email@hidden>)
 >Re: - [NSBitmapImageRep tiffRepresentation] malloc error (From: Thomas Clement <email@hidden>)
 >Re: - [NSBitmapImageRep tiffRepresentation] malloc error (From: David Duncan <email@hidden>)
 >Re: - [NSBitmapImageRep tiffRepresentation] malloc error (From: Thomas Clement <email@hidden>)
 >Re: - [NSBitmapImageRep tiffRepresentation] malloc error (From: David Duncan <email@hidden>)
 >Re: - [NSBitmapImageRep tiffRepresentation] malloc error (From: Thomas Clement <email@hidden>)
 >Re: - [NSBitmapImageRep tiffRepresentation] malloc error (From: David Duncan <email@hidden>)
 >Re: - [NSBitmapImageRep tiffRepresentation] malloc error (From: Thomas Clement <email@hidden>)
 >Re: - [NSBitmapImageRep tiffRepresentation] malloc error (From: David Duncan <email@hidden>)

  • Prev by Date: Re: NSAttributedString -> XHTML 1.1
  • Next by Date: Re: Sublclassing NSThread
  • Previous by thread: Re: - [NSBitmapImageRep tiffRepresentation] malloc error
  • Next by thread: Re: - [NSBitmapImageRep tiffRepresentation] malloc error
  • Index(es):
    • Date
    • Thread