Thanks, that was the step I'd missed (sort of obvious in hindsight!).
Thanks also to Marcel who pointed out the same thing.
Graham
On 11 Jul 2008, at 7:13 pm, Heinrich Giesen wrote:
If you create image data of Type jpeg, tiff, png, etc from a sourceRep
(NSBitMapImageRep) with -representationUsingType:properties: these
data
contain the number of pixels *and* the resolution of the sourceRep.
If you want a special resolution you have to set that value in the
sourceRep. But you can't set the resolution directly in
NSBitMapImageRep
with something like -setResolutionX:resolutionY: You have to set the
size of the rep!
_______________________________________________
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]