- [NSBitmapImageRep tiffRepresentation] malloc error
- [NSBitmapImageRep tiffRepresentation] malloc error
- Subject: - [NSBitmapImageRep tiffRepresentation] malloc error
- From: Thomas Clement <email@hidden>
- Date: Fri, 12 Dec 2008 12:51:12 +0100
Hello,
I'm using NSBitmapImageRep to build a new image by doing some pixel
processing (which unfortunately I can't do using Core Image).
Everything works great but with bigger sizes I'm getting a malloc
error when calling - [NSBitmapImageRep tiffRepresentation] (error 12:
Can't allocate memory). I'm using this method at the end of my
processing to write the data to disk.
I guess I'm running out of memory and the allocation fails which is
rather surprising since I have plenty of disk space for virtual memory.
How should I work around this problem?
Thanks,
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