> On Jun 23, 2017, at 8:45 AM, Gerriet M. Denkmann <[email protected]> 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 protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to