Re: CGImageRef to bitmap context?
Re: CGImageRef to bitmap context?
- Subject: Re: CGImageRef to bitmap context?
- From: Uli Kusterer <email@hidden>
- Date: Mon, 13 Aug 2007 18:06:46 +0200
On 13.08.2007, at 05:30, Mike McNamara wrote:
for grabbing captures of small portions of the screen. Very handy!
My app in fact works fine, except for the fact that the captured
screen portion is not really a good pixel for pixel representation
when I magnify it. At first I thought the capture was simply being
antialiased somehow and as such tried all sorts of voodoo to
eliminate that. However that appears to be a dead end.
Have you checked whether you're maybe drawing the image "between
pixels"? Depending on source data (hand-drawn graphics or pixels) and
destination (the same), you may need to make sure you draw on x.0
coordinates or on x.5 coordinates. If ypu pick the wrong one, each
pixel will be averaged over two pixels and appear blurry, lines will
seem to be 2 pixels instead of one etc.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
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