Re: Modifying bitmap data
Re: Modifying bitmap data
- Subject: Re: Modifying bitmap data
- From: Joel Reymont <email@hidden>
- Date: Mon, 8 Aug 2005 11:35:44 +0200
It seems to be possible to do it like this:
[image removeRepresentation: [[image representations] objectAtIndex:
0]];
[image addRepresentation: bitmap];
Without creating a new representation. Insight gained from
http://lists.apple.com/archives/cocoa-dev/2004/Feb/msg00018.html
Thanks, Joel
On Aug 8, 2005, at 5:15 AM, Dan Treiman wrote:
Try drawing imageRep, or creating a new image instance with the
modified bitmap. Since imageRep is created from [image
TIFFRepresentation], it contains copies of the original image, not
references to its bitmap AFAIK.
--
http://wagerlabs.com/uptick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden