Setting resolution of images in NSTextView
Setting resolution of images in NSTextView
- Subject: Setting resolution of images in NSTextView
- From: Jeremy Dronfield <email@hidden>
- Date: Sun, 18 Apr 2004 15:17:52 +0100
By default, images added to an NSTextView as NSTextAttachments display
at a size determined by their dpi resolution. How can I change this so
that my text view displays images at their "true" pixel size? Bearing
in mind that the NSCell method -image isn't implemented in the
NSTextAttachmentCell protocol, setting the size would presumably have
to be done before handing the image into the attachment.
This seems like it should be a trivial issue, but I don't have much
experience with image manipulation, and I'm not having much luck
gleaning an answer from the documentation.
-Jeremy
===================================
SkoobySoft, home of viJournal
email: email@hidden or visit:
http://freespace.virgin.net/jeremy.dronfield/skoobysoft.html
===================================
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.