• 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: Modifying bitmap data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Modifying bitmap data (From: Joel Reymont <email@hidden>)
 >Re: Modifying bitmap data (From: Dan Treiman <email@hidden>)

  • Prev by Date: Subclassing NSTextView under Tiger
  • Next by Date: Re: Converting image types and preserving EXIF.
  • Previous by thread: Re: Modifying bitmap data
  • Next by thread: Converting image types and preserving EXIF.
  • Index(es):
    • Date
    • Thread