• 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
NSImage quality, blurred characters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSImage quality, blurred characters


  • Subject: NSImage quality, blurred characters
  • From: "Ewan Delanoy" <email@hidden>
  • Date: Thu, 24 May 2007 18:39:57 +0200 (CEST)
  • Importance: Normal

           Hello all,

 one of my Cocoa apps produces a large image containing
many images and some written text. The written text is produced
by first being written by the end user in a NSTextView, then the app
stores it in an NSImage, and creates a printable view and composites
those images on the printable view and eventually puts the printable view
on a PDF and prints it on paper.

  The only problem is, the characters are blurred : in the "written text"
part
the charcaters look more grey and faded than black (and this is not
because my printer needs more ink , the rest of the image is
fine... ) I added

  [[NSGraphicsContext currentContext]
setImageInterpolation:NSImageInterpolationHigh];

in the place in my code where I create the images, but the quality
did not improve much. Are there other parameters I should change (keeping
in mind that I need that only for a black-and-white text) ?

                                                                 Ewan
.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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

  • Follow-Ups:
    • Re: NSImage quality, blurred characters
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: abstract class
  • Next by Date: Re: [ANN] MacFUSE talk at Google
  • Previous by thread: Re: Thread Pools in Cocoa / ObjC?
  • Next by thread: Re: NSImage quality, blurred characters
  • Index(es):
    • Date
    • Thread