11route : /docs/reference/visualize/image/
22title : Image
3- description : ' `image` 函数的文档 '
3+ description : ' `image` 関数のドキュメント '
44part : null
55outline :
66- id : summary
7- name : Summary
7+ name : まとめ
88 children : []
99- id : example
10- name : Example
10+ name : 例
1111 children : []
1212- id : parameters
13- name : Parameters
13+ name : パラメーター
1414 children :
1515 - id : parameters-path
1616 name : path
@@ -31,7 +31,7 @@ outline:
3131 name : fit
3232 children : []
3333- id : definitions
34- name : Definitions
34+ name : 定義
3535 children :
3636 - id : definitions-decode
3737 name : Decode Image
@@ -64,12 +64,12 @@ body:
6464 oneliner : A raster or vector graphic.
6565 element : true
6666 details : |-
67- <p>A raster or vector graphic. </p>
68- <p>Supported formats are PNG, JPEG, GIF and SVG. </p>
69- <p><em>Note:</em> Work on SVG export is ongoing and there might be visual inaccuracies
70- in the resulting PDF. Make sure to double-check embedded SVG images. If you
71- have an issue, also feel free to report it on <a href="https://github.com/typst/typst/issues?q=is%3Aopen+is%3Aissue+label%3Asvg">GitHub</a>.</p>
72- <h2 id="example">Example </h2>
67+ <p>ラスター画像やベクター画像 </p>
68+ <p>サポートされている拡張子は PNG, JPEG, GIF, SVGです。 </p>
69+ <p><em>Note:</em> 注:SVGエクスポートに関する作業は進行中であり、結果のPDFには視覚的に不正確な部分があるかもしれません。
70+ 埋め込まれたSVG画像を再確認してください。
71+ もし問題があれば、 <a href="https://github.com/typst/typst/issues?q=is%3Aopen+is%3Aissue+label%3Asvg">GitHub</a>で報告してください。 .</p>
72+ <h2 id="example">例 </h2>
7373 <div class="previewed-code"><pre><code><span class="typ-func">#</span><span class="typ-func">figure</span><span class="typ-punct">(</span>
7474 <span class="typ-func">image</span><span class="typ-punct">(</span><span class="typ-str">"molecular.jpg"</span><span class="typ-punct">,</span> width<span class="typ-punct">:</span> <span class="typ-num">80%</span><span class="typ-punct">)</span><span class="typ-punct">,</span>
7575 caption<span class="typ-punct">:</span> <span class="typ-punct">[</span>
8282 self : false
8383 params :
8484 - name : path
85- details : <p>Path to an image file. </p>
85+ details : <p>画像ファイルのパス </p>
8686 example : null
8787 types :
8888 - str
@@ -94,28 +94,28 @@ body:
9494 variadic : false
9595 settable : false
9696 - name : format
97- details : <p>The image's format. Detected automatically by default. </p>
97+ details : <p>画像のフォーマット。デフォルトでは自動的に検出されます。 </p>
9898 example : null
9999 types :
100100 - auto
101101 - str
102102 strings :
103103 - string : png
104- details : <p>Raster format for illustrations and transparent graphics. </p>
104+ details : <p>イラストや透明グラフィック用のラスターフォーマット。 </p>
105105 - string : jpg
106- details : <p>Lossy raster format suitable for photos. </p>
106+ details : <p>写真に適した非可逆ラスターフォーマット。 </p>
107107 - string : gif
108- details : <p>Raster format that is typically used for short animated clips. </p>
108+ details : <p>短いアニメーションクリップによく使われるラスターフォーマット。 </p>
109109 - string : svg
110- details : <p>The vector graphics format of the web. </p>
110+ details : <p>ウェブのベクター画像フォーマット。 </p>
111111 default : <code><span class="typ-key">auto</span></code>
112112 positional : false
113113 named : true
114114 required : false
115115 variadic : false
116116 settable : true
117117 - name : width
118- details : <p>The width of the image. </p>
118+ details : <p>画像の幅。 </p>
119119 example : null
120120 types :
121121 - auto
@@ -128,7 +128,7 @@ body:
128128 variadic : false
129129 settable : true
130130 - name : height
131- details : <p>The height of the image. </p>
131+ details : <p>画像の高さ。 </p>
132132 example : null
133133 types :
134134 - auto
@@ -141,7 +141,7 @@ body:
141141 variadic : false
142142 settable : true
143143 - name : alt
144- details : <p>A text describing the image. </p>
144+ details : <p>画像の説明文。 </p>
145145 example : null
146146 types :
147147 - none
@@ -154,19 +154,18 @@ body:
154154 variadic : false
155155 settable : true
156156 - name : fit
157- details : <p>How the image should adjust itself to a given area. </p>
157+ details : <p>与えられた領域に対して、画像をどのように調整するか。 </p>
158158 example : null
159159 types :
160160 - str
161161 strings :
162162 - string : cover
163- details : <p>The image should completely cover the area. This is the default. </p>
163+ details : <p>領域を完全にカバーします。これがデフォルトです。 </p>
164164 - string : contain
165- details : <p>The image should be fully contained in the area. </p>
165+ details : <p>領域内に完全に収まるようにします。 </p>
166166 - string : stretch
167167 details : |-
168- <p>The image should be stretched so that it exactly fills the area, even if
169- this means that the image will be distorted.</p>
168+ <p>たとえ画像が歪むことになっても、その領域を正確に埋めるように引き伸ばします。</p>
170169 default : <code><span class="typ-str">"cover"</span></code>
171170 positional : false
172171 named : true
@@ -183,7 +182,7 @@ body:
183182 keywords : []
184183 oneliner : Decode a raster or vector graphic from bytes or a string.
185184 element : false
186- details : <p>Decode a raster or vector graphic from bytes or a string. </p>
185+ details : <p>バイトまたは文字列からラスターまたはベクトル図形をデコードします。 </p>
187186 example : |-
188187 <div class="previewed-code"><pre><code><span class="typ-key">#</span><span class="typ-key">let</span> original <span class="typ-op">=</span> <span class="typ-func">read</span><span class="typ-punct">(</span><span class="typ-str">"diagram.svg"</span><span class="typ-punct">)</span>
189188 <span class="typ-key">#</span><span class="typ-key">let</span> changed <span class="typ-op">=</span> original<span class="typ-punct">.</span><span class="typ-func">replace</span><span class="typ-punct">(</span>
@@ -197,7 +196,7 @@ body:
197196 self : false
198197 params :
199198 - name : data
200- details : <p>The data to decode as an image. Can be a string for SVGs. </p>
199+ details : <p>画像としてデコードするデータ。SVG の場合は文字列です。 </p>
201200 example : null
202201 types :
203202 - str
@@ -210,28 +209,28 @@ body:
210209 variadic : false
211210 settable : false
212211 - name : format
213- details : <p>The image's format. Detected automatically by default. </p>
212+ details : <p>画像のフォーマット。デフォルトでは自動的に検出されます。 </p>
214213 example : null
215214 types :
216215 - auto
217216 - str
218217 strings :
219218 - string : png
220- details : <p>Raster format for illustrations and transparent graphics. </p>
219+ details : <p>イラストや透明グラフィック用のラスターフォーマット。 </p>
221220 - string : jpg
222- details : <p>Lossy raster format suitable for photos. </p>
221+ details : <p>写真に適した非可逆ラスターフォーマット。 </p>
223222 - string : gif
224- details : <p>Raster format that is typically used for short animated clips. </p>
223+ details : <p>短いアニメーションクリップによく使われるラスターフォーマット。 </p>
225224 - string : svg
226- details : <p>The vector graphics format of the web. </p>
225+ details : <p>ウェブのベクター画像フォーマット。 </p>
227226 default : null
228227 positional : false
229228 named : true
230229 required : false
231230 variadic : false
232231 settable : false
233232 - name : width
234- details : <p>The width of the image. </p>
233+ details : <p>画像の幅。 </p>
235234 example : null
236235 types :
237236 - auto
@@ -244,7 +243,7 @@ body:
244243 variadic : false
245244 settable : false
246245 - name : height
247- details : <p>The height of the image. </p>
246+ details : <p>画像の高さ。 </p>
248247 example : null
249248 types :
250249 - auto
@@ -257,7 +256,7 @@ body:
257256 variadic : false
258257 settable : false
259258 - name : alt
260- details : <p>A text describing the image. </p>
259+ details : <p>画像の説明文。 </p>
261260 example : null
262261 types :
263262 - none
@@ -270,19 +269,18 @@ body:
270269 variadic : false
271270 settable : false
272271 - name : fit
273- details : <p>How the image should adjust itself to a given area. </p>
272+ details : <p>与えられた領域に対して、画像をどのように調整するか。 </p>
274273 example : null
275274 types :
276275 - str
277276 strings :
278277 - string : cover
279- details : <p>The image should completely cover the area. This is the default. </p>
278+ details : <p>領域を完全にカバーします。これがデフォルトです。 </p>
280279 - string : contain
281- details : <p>The image should be fully contained in the area. </p>
280+ details : <p>領域内に完全に収まるようにします。 </p>
282281 - string : stretch
283282 details : |-
284- <p>The image should be stretched so that it exactly fills the area, even if
285- this means that the image will be distorted.</p>
283+ <p>たとえ画像が歪むことになっても、その領域を正確に埋めるように引き伸ばします。</p>
286284 default : null
287285 positional : false
288286 named : true
0 commit comments