• 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: How can I convert bitmap representations to a "canonical" form
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I convert bitmap representations to a "canonical" form


  • Subject: Re: How can I convert bitmap representations to a "canonical" form
  • From: "Erik M. Buck" <email@hidden>
  • Date: Tue, 21 Aug 2001 18:09:48 -0500

Read a bitmap into an NSImage
Create an image rep with the pixel format desired
lock focus on the image rep
composite the NSImage into the rep (pixel conversions should happen
automatically)
unlock focus


However, if you are serious about image manipulation, you should learn how
to copy pixels, convert formats, play with memory buffers, etc. This is
usually very low level C code or even assembly.

Have you considered a book on the subject ?
Have you considered using an array of bytes and pointer arithmetic ?


  • Follow-Ups:
    • Re: How can I convert bitmap representations to a "canonical" form
      • From: Nat! <email@hidden>
References: 
 >How can I convert bitmap representations to a "canonical" form (From: Nat! <email@hidden>)

  • Prev by Date: Re: How to get the length of a string?
  • Next by Date: Passing NSMutableArrays across NSConnection to Another Program
  • Previous by thread: How can I convert bitmap representations to a "canonical" form
  • Next by thread: Re: How can I convert bitmap representations to a "canonical" form
  • Index(es):
    • Date
    • Thread