WindowsでVPN接続すると、VPN接続先がデフォルトゲートウェイとなるようなルールがルーティングテーブルに追加される。
VPN経由でインターネット接続できる場合は特に問題ないが、そうでない場合はVPN接続中はインターネットが利用できなくなってしまう。
以下の設定により、VPN接続先をデフォルトゲートウェイとするルーティングルールの追加が行われなくなり、VPNのサブネット以外への通信はVPNを経由せず直接インターネット接続するようになる。
WindowsでVPN接続すると、VPN接続先がデフォルトゲートウェイとなるようなルールがルーティングテーブルに追加される。
VPN経由でインターネット接続できる場合は特に問題ないが、そうでない場合はVPN接続中はインターネットが利用できなくなってしまう。
以下の設定により、VPN接続先をデフォルトゲートウェイとするルーティングルールの追加が行われなくなり、VPNのサブネット以外への通信はVPNを経由せず直接インターネット接続するようになる。
Magick.NETでのカラマネAPIをかる~く調べたので。。
ImageMagick 自体はあまりよく知らない。
サンプルコード : veigr/MagickNETColorManagementSample · GitHub
使うクラスはだいたいこんな感じ(必要部分以外省略)。
めとべや東京 #7 で話したやつです。
以下のAPIが使用される。
/kcsapi/api_req_kousyou/remodel_slotlist
/kcsapi/api_req_kousyou/remodel_slotlist_detail
/kcsapi/api_req_kousyou/remodel_slot
時系列順に説明。
マップ | 攻略時間 | 出撃回数 | ボス到達回数 | ボス到達率 | ボス撃破回数 | ボス撃破率 |
---|---|---|---|---|---|---|
E1 | 1時間 | 5 | 5 | 100% | 5 | 100% |
E2 | 2時間半 | 9 | 7 | 78% | 7 | 100% |
E3 | 3時間半 | 12 | 5 | 42% | 2 | 40% |
E4 | 3時間半 | 11 | 8 | 73% | 6 | 75% |
E5 | 8時間 | 20 | 17 | 85% | 4 | 24% |
マップ | 燃料 | 弾薬 | 鋼材 | ボーキ | バケツ |
---|---|---|---|---|---|
E1 | 301 | 300 | 742 | -190 | 3 |
E2 | 10583 | 6512 | 7740 | 1695 | 43 |
E3 | 14030 | 10941 | 9457 | 2215 | 64 |
E4 | 12755 | 8102 | 10176 | 2259 | 52 |
E5 | 46918 | 29008 | 41797 | 3527 | 136 |
トータル | 84587 | 54863 | 69912 | 9506 | 298 |
※画像クリックすると Windows ストア に飛びます
Windows ストア アプリでカラーマネジメントに対応した画像ビューアーを作ってみました。
主に技術実証とMSCCを目的としたアプリなため、低機能&低品質で申し訳なく。
フォルダ内にファイル増やしても検知してくれなかったりとかそういう…
何か表示がおかしいなとかあった場合は、アプリを再起動すれば大体直ると思いますので。。
Release 1 では、スリープからの復帰時に画像が復元されないバグがある気がしていますが、直す気力があまり無いです……
Windows Runtime におけるカラーマネジメントの実装方法については、そのうち記事を書きますのでそちらで。。
簡単にいえば、 C++/CX で WIC と Direct2D を使って頑張る感じです。つらい。。。
NuGet で更新する度にコピーし直さないといけないけど……
Issue 8
Symptom
ClickOnce applications targeting .NET Framework 4.0 that reference the Microsoft.Net.Http package may experience a TypeLoadException or other errors after being installed.
Resolution
This occurs because ClickOnce fails to deploy certain required assemblies. As a workaround, do the following:
Right-click on the project and choose Add Existing Item
Browse to the HttpClient net40 package folder
In the File name text box enter *.*
Holding CTRL, select System.Net.Http.dll and System.Net.Http.Primitives.dll
Click the down-arrow next to the Add button and choose Add as Link
In Solution Explorer, holding CTRL select System.Net.Http.dll and System.Net.Http.WebRequest.dll
Right-click the selection, choose Properties and change Copy to Output Directory to Copy always
Republish
引用元:http://blogs.msdn.com/b/bclteam/p/httpclient.aspx
System.Net.Http.Primitives.dll とか System.Net.Http.WebRequest.dll のことも書いてあるけど、 System.Net.Http.dll だけでOKだった。
むしろ System.Net.Http.Primitives.dll をコピーしてると、起動時に「もうあるよ!」的なエラーで死んだ。
そもそも手順的に Primitives をコピーしてるのになぜ WebRequest が出てくるのか……怪しげな説明。。
Issue 9
Symptom
ClickOnce applications targeting .NET Framework 4.0 that reference the Microsoft.Bcl or Microsoft.Bcl.Async packages may experience a TypeLoadException or other errors after being installed.
Resolution
This occurs because ClickOnce fails to deploy certain required assemblies. As a workaround, do the following:
Right-click on the project and choose Add Existing Item
Browse to the Microsoft.Bcl net40 package folder
In the File name text box enter *.*
Holding CTRL, select System.Runtime.dll and System.Threading.Tasks.dll
Click the down-arrow next to the Add button and choose Add as Link
In Solution Explorer, holding CTRL select System.Runtime.dll and System.Threading.Taks.dll
Right-click the selection, choose Properties and change Copy to Output Directory to Copy always
Republish
引用元:http://blogs.msdn.com/b/bclteam/p/asynctargetingpackkb.aspx
知らなかったので少しだけ試したメモ。
flash.display.Loader
とかにも機能が見当たらないけど、使うリソースを全部sRGBにしておけってことなんですかねIf you import an image with an embedded profile into Flash Professional, the color profile is removed and the image on the Stage appears without its embedded color profile.
Currently, SWF file color correction is not supported on Linux/Unix systems or systems with less than 32-bit color resolution.
wmode="window"
でないと動作しないっぽいwindow
以外だと常に unsupported
になってる気がするopaque
なんで、弄ってやらないと上手く動かないdefaultOff
gfx.color_management.display_profile
に設定されたやつdefaultOff
unsupported