• 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
Re: CIImage draw issue?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CIImage draw issue?


  • Subject: Re: CIImage draw issue?
  • From: Joar Wingfors <email@hidden>
  • Date: Thu, 1 Mar 2007 10:29:44 +0100


On Mar 1, 2007, at 6:09 PM, Henry Joseph W wrote:

Hmm, for example , the origin picture is 320x200, the drawImage seems to be the size of 640x400 or much more bigger. So some mosaic appears on the generated picture which makes it very ugly.
Can someone tell me how to make the drawImage to be the origin size of the source picture?

I'm not sure if it's the problem in your case, but a common mistake is to assume that a bitmap image will automatically and always be displayed at screen resolution. A bitmap image loaded from a file can have a resolution that differs from the one used by your monitor, and when displayed the image would in that case appear smaller or larger than would be expected from looking at the bitmap pixel dimensions alone.


<http://developer.apple.com/documentation/Cocoa/Conceptual/ CocoaDrawingGuide/Images/chapter_7_section_2.html#//apple_ref/doc/uid/ TP40003290-CH208-SW2>

j o a r


_______________________________________________

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


References: 
 >CIImage draw issue? (From: Henry Joseph W <email@hidden>)

  • Prev by Date: CIImage draw issue?
  • Next by Date: MUPhotoView and autorelease object
  • Previous by thread: CIImage draw issue?
  • Next by thread: MUPhotoView and autorelease object
  • Index(es):
    • Date
    • Thread