Mount and Code

Just a record of any technical issue I encountered in my work

2010年12月8日星期三

Export NSView to PNG

The following code is for exporting a NSView to PNG file.


And you can change the NSPNGFileType for other format, of course.
發佈者: Lampong 於 星期三, 12月 08, 2010
以電郵發送這個BlogThis!分享至 X分享至 Facebook分享至 Pinterest
標籤: Cocoa, NSView, Objective-C

沒有留言:

發佈留言

較新的文章 較舊的文章 首頁
訂閱: 發佈留言 (Atom)

Search Mount and Code

Tags

Audio (1) Blogger (1) c# (5) c# datacolumn (1) c# datatable (1) c# enum (1) c# Thread (1) C++ (3) Cocoa (7) Cocoa Directory (1) Cryto (1) FMDB (1) google chart api (1) Icon (1) iOS (2) KVC (1) Lua (1) Mac (4) NSArray (2) NSCollectionView (1) NSDictionary (1) NSImage (1) NSView (1) Objective-C (10) Parse (1) Software Design (1) SQL (1) Sqlcipher (1) Sqlite (3) UML (1) Web App (1) Windows Phone (1) Xcode (4)

網誌封存

  • ►  2014 (1)
    • ►  6月 (1)
  • ►  2013 (2)
    • ►  1月 (2)
  • ►  2012 (11)
    • ►  12月 (2)
    • ►  11月 (1)
    • ►  7月 (3)
    • ►  6月 (3)
    • ►  3月 (1)
    • ►  2月 (1)
  • ►  2011 (2)
    • ►  7月 (1)
    • ►  4月 (1)
  • ▼  2010 (19)
    • ▼  12月 (5)
      • Cocoa runtime working directory
      • Export NSView to PNG
      • KVC for BOOL type not working
      • NSImage Rotate at Image Centre
      • NSImage Transformation - Flip
    • ►  11月 (7)
    • ►  10月 (1)
    • ►  9月 (6)

My Favourite Blogs

  • Jackbin 的懶人筆記
    軟體更新:EditPlus 3.31 Build 1279
    13 年前
由 Blogger 提供.