• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Setting resolution of images in NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Setting resolution of images in NSTextView - [SOLVED?]
      • From: Jeremy Dronfield <email@hidden>
  • Prev by Date: A three-state default widget?
  • Next by Date: Crash in setTextColor
  • Previous by thread: A three-state default widget?
  • Next by thread: Re: Setting resolution of images in NSTextView - [SOLVED?]
  • Index(es):
    • Date
    • Thread