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

Re: Doubled Pixels


  • Subject: Re: Doubled Pixels
  • From: Jens Alfke <email@hidden>
  • Date: Fri, 23 Jun 2017 09:37:13 -0700

> On Jun 23, 2017, at 8:45 AM, Gerriet M. Denkmann <email@hidden> wrote:
>
> the image looks fine, but when I write subData to disk, it has 64 x 64 pixels.

You’re probably running this on a computer with a Retina display, so NSImage
creates a 2x-resolution backing store by default.

Try creating an NSBitmapImageRep directly, then focus on it and draw.

—Jens
_______________________________________________

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: Doubled Pixels
      • From: "Gerriet M. Denkmann" <email@hidden>
References: 
 >Doubled Pixels (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Doubled Pixels
  • Next by Date: Re: AVCaptureMovieFileOutput + encryption
  • Previous by thread: Doubled Pixels
  • Next by thread: Re: Doubled Pixels
  • Index(es):
    • Date
    • Thread