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