Repository navigation
Expand file tree
/
Copy pathimageViewerD2D1.html
More file actions
156 lines (136 loc) · 7.76 KB
/
Copy pathimageViewerD2D1.html
File metadata and controls
156 lines (136 loc) · 7.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="Content-Language" content="ja">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta name="Description" content="VC++/MFにおける、D2D1による簡易RAW現像">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script type="text/javascript" src="ss25.js" charset="UTF-8"></script>
<link href="./style25.css" rel="stylesheet" type="text/css">
<title>D2D1による画像ビューアー (imageViewer) </title>
</head>
<body onLoad="moveLeft();" onresize="moveLeft();">
<div class="dropdown" style="position:fixed; top:70px;
margin-left:auto; right:80px;z-index: 3;">
<button class="dropbtn">
<a href="index.html" style=" text-decoration: none;
"><font color="#dddddd">ホームへ</font></a>
</button>
<div class="dropdown-content" style="line-height:10px">
<a href="imageViewer.html">imageViewer</a>
<a href="imageViewerD2D1.html">imageViewerD2D1</a>
<a href="gammaCorrCS.html">gammaCorrCS</a>
<a href="imageEditor.html">imageEditor</a>
<a href="dispImage.html">disspImage</a>
<a href="tessellation.html">tessellation</a>
</div>
</div>
<div class="container">
<p style="position:relative; margin-top:20px;
height:auto;
margin-left:0px; margin-right:auto;
text-align:center; line-height: 20pt;
font-family: メイリオ;font-size:120%;
color:#eeeeee; font-weight:lighter; letter-spacing: 0.1em; z-index: 2;">
VC++MFC サンプルコード <font size="4">(Visual Studio 2022)</font><br />
<br />
</p>
<div id="left1">
<p style="position: relative; margin-top: 0px;
height:auto;
margin-left: 0px; margin-right: auto;
text-align: left; line-height: 40pt; font-family: メイリオ;
font-size: 120%; color: #eeeeee; font-weight: lighter;
letter-spacing: 0.1em; z-index: 2;">
<font size="5" color="#00f000">imageViewerD2D1 </font>
<font size="3" color="#f0f0f0">Windows11</font><br />
</p>
<div style="position: relative; margin-top: -30px;
width: auto; height: 2px; margin-left: 0px; margin-right: 120px;">
<img src="img\\bbb1.PNG" border="0" align="top" hspace="0"
vspace="0" style="position: relative; top:0px; left:0px;
border-color:#ffffff;z-index: 1;width:100%;height:2px;">
</div>
<p style="position: relative; width:auto;margin-top: 0px;
height: auto;
margin-left: 0px; margin-right: auto;
text-align: left; line-height: 20pt; font-family: メイリオ;
font-size: 110%; color: #ffffff; font-weight: lighter;
letter-spacing: 0.1em; padding: 20px; z-index: 2; ">
D2D1を用いた画像ビューアーで、jpg,png,tif,bmpおよび標準的なRAWの表示が可能です。<br />
編集機能はありません
<br />
<br />
<font size="3" color="ffe0d0">
D2D1 は画像の描画機能を持ち、画像のロードにはWICImagingFactoryを使用します。
WIC は JPG や PNG などの標準<br />フォーマットに加えて、Windows に登録されている
メーカーRAWコーデックに依存してRAW ファイル(例:CR2 など)を<br />読み込むことが
できます。この場合、RAW の生データはメーカーRAWコーデックによって 簡易現像
(デモザイク+簡易補正)<br />
され、RGB画像として取得されます。<br />
得られた RGB 画像を CImage(HDC)にコピーすることで、JPG/PNG/TIFF/BMPなどに
変換して保存できます。<br />
ただし、カメラ側で設定した詳細な現像パラメータ(ピクチャースタイル、露出補正など)
は反映されません。<br />
また、D2D1 は RGB 値に A が乗算されたD2D1_ALPHA_MODE_PREMULTIPLIED を使用する
ため、<br />
アルファ処理は正確です。
<br />
</font>
<br />
<font size="3" color="ffffff">
■主な機能<br />
・対応フォーマットは、標準的なRAWファイル(メーカーRAWコーデック依存),jpg,bmp,png,tif<br />
・ロード可能画像サイズ、16000×16000pixel<br />
・スクリーンのセンター中心の、マウスホイールによるズーム<br />
・マウスドラッグによる、スクロール<br />
・フォーマット変換セーブ(RAWセーブはできません)<br />
</font>
</p>
<div id="left2" style="position: relative; margin-left: 280px; margin-top: 0px;
width: auto; height: auto; margin-right: auto; z-index: 2; ">
<div id="left3" style="position: relative; margin-left: 0px; margin-top: 0px;
width: 500px; height: auto; margin-right: auto; z-index: 2; ">
<img src="img\\imageViewerD2D1.jpg">
</div>
<div id="button1" style="position: relative; margin-left: 0px;
margin-top: 20px; margin-right: auto;width: 400px; height: auto;
text-align: left; line-height: 40pt; font-size: 100%;
font-weight: lighter; color: #ffffff;
letter-spacing: 0.1em; font-family:メイリオ; z-index: 2;">
<a href="https://github.com/tkpoly/works/releases/download/v2.1/imageViewerD2D1.zip" title="ダウンロード" color="000000" size="1">
■<font color="f0f0f0">フリーダウンロード</font>
<font color="#00f000">imageViewerD2D1.zip</font><br />
</a>
</div>
<p style="height: 240px; position: relative; margin-left: 0px; margin-top: 0px;
margin-right: auto;width: auto; height: auto;
text-align: left; line-height: 16pt; font-size: 80%;
font-weight: lighter; color: #ffffff;
letter-spacing: 0.1em; font-family:メイリオ; z-index: 2;">
<内容><br />
・imageViewerD2D1 フォルダ(.h .cpp)<br />
・x64 フォルダ(.exe)<br />
・imageViewerD2D1.sln ソリューション<br />
・README.md
</p>
</div>
</div>
<div class="section:last-child">
<div style="position: relative; margin-top: 140px;
width: 100%; height: 100px;
left: 0px; margin-right: 0px;
background-color:#606090;
text-align: left; line-height: 16pt; font-size: 80%;
font-weight: lighter; color: #ffffff;
letter-spacing: 0.1em;
padding-left: 10px;
font-family:メイリオ; z-index: 2;">
tkpoly studio
</div>
</div>
</div>
</body>
</html>