• 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: NSImage representations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSImage representations


  • Subject: Re: NSImage representations
  • From: Dorian Johnson <email@hidden>
  • Date: Mon, 9 Jul 2007 00:20:06 -0500

I think you'll have to do the drawing method I mentioned (lock focus onto the NSBitmapImageRep via NSGraphicsContext) because I don't think NSImage will immediately update its internal bitmap store if you set the size (someone please correct me if I'm wrong - I haven't tested that).

Dorian

On Jul 8, 2007, at 11:45 PM, Jeremy Rotsztain wrote:

I've got it working now, but have noticed some inconsistencies when my source image is scaled. For example, only half of the image will be 'quantized'.
Is this because the resolution of the NSBitmapImageRep that I've created is based resolution of the source image's representation and not it's scaled one?
_______________________________________________

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


  • Follow-Ups:
    • Re: NSImage representations
      • From: Jeremy Rotsztain <email@hidden>
References: 
 >Fwd: NSImage representations (From: Jeremy Rotsztain <email@hidden>)
 >Re: NSImage representations (From: Dorian Johnson <email@hidden>)
 >Re: NSImage representations (From: Dorian Johnson <email@hidden>)
 >Re: NSImage representations (From: Jeremy Rotsztain <email@hidden>)
 >Re: NSImage representations (From: Dorian Johnson <email@hidden>)
 >Re: NSImage representations (From: Jeremy Rotsztain <email@hidden>)
 >Re: NSImage representations (From: Dorian Johnson <email@hidden>)
 >Re: NSImage representations (From: Jeremy Rotsztain <email@hidden>)

  • Prev by Date: Re: NSImage representations
  • Next by Date: Re: Languages supported by OS X?
  • Previous by thread: Re: NSImage representations
  • Next by thread: Re: NSImage representations
  • Index(es):
    • Date
    • Thread