Repository navigation
Expand file tree
/
Copy pathimageViewer.html
More file actions
152 lines (132 loc) · 7.25 KB
/
Copy pathimageViewer.html
File metadata and controls
152 lines (132 loc) · 7.25 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
<!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="C++/MFC 画像ビューアー">
<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> C++/MFCによる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="initDX11.html">initDX11</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">imageViewer </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; ">
ImageクラスおよびCImageクラスを用いた、画像ビューアーです。編集機能はありません
<br />
<br />
<font size="3" color="ffe0d0">
Imageクラスを用いて画像をロードした場合、alpha値が使われていようがいまいが、
すべて32ビットαチャンネル付きでロード<br />
されます。このことは後で、CImageによるjpg→png変換セーブなどを簡単化するのに
役立ちます。<br />
CImageでのロードも可能ですが、alpha値が使われていれば32ビット、使わていなけれ
ば24ビットなど一律ではありません。<br />
バッファを32ビットで統一しても、alpha値が無い場合にスクリーンに描画する場合は、
alpha=255を補ってやる必要があります。<br />
よって、ロードはImage、描画はCImageで行います。<br />
<br />
</font>
<br />
<font size="3" color="ffffff">
■主な機能<br />
・対応フォーマットは、jpg,bmp,png,tif<br />
・ロード可能画像サイズ、16000×16000pixel<br />
・スクリーンのセンター中心の、マウスホイールによるズーム<br />
・マウスドラッグによる、スクロール<br />
・フォーマット変換セーブ<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\\imageViewer.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.0/imageViewer.zip" title="ダウンロード" color="000000" size="1">
■<font color="f0f0f0">フリーダウンロード</font>
<font color="#00f000">imageViewer.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 />
・imageViewer フォルダ(.h .cpp)<br />
・x64 フォルダ(.exe)<br />
・imageViewer.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>