Debian Codegraph @

docs/gexiv2-0.16/method.PreviewImage.get_data.html

raw symbols SCIP
1 <!--
2 SPDX-FileCopyrightText: Unknown authors
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5 -->
6
7 <!DOCTYPE html>
8 <html lang="en">
9 <head>
10 <title>GExiv2.PreviewImage.get_data</title>
11 <meta name="viewport" content="width=device-width, initial-scale=1">
12
13 <meta charset="utf-8" />
14
15
16 <meta property="og:type" content="website"/>
17
18
19
20
21 <meta priority="og:title" content="GExiv2.PreviewImage.get_data"/>
22 <meta priority="og:description" content="Reference for GExiv2.PreviewImage.get_data"/>
23 <meta name="twitter:title" content="GExiv2.PreviewImage.get_data"/>
24 <meta name="twitter:description" content="Reference for GExiv2.PreviewImage.get_data"/>
25
26
27
28 <meta name="twitter:card" content="summary"/>
29
30
31
32
33
34
35 <link rel="stylesheet" href="style.css" type="text/css" />
36
37
38
39
40 <script src="urlmap.js"></script>
41
42
43 <script src="fzy.js"></script>
44 <script src="search.js"></script>
45
46 <script src="main.js"></script>
47
48
49 </head>
50
51 <body>
52 <div id="body-wrapper" tabindex="-1">
53
54 <nav class="sidebar devhelp-hidden">
55
56
57 <div class="search section">
58 <form id="search-form" autocomplete="off">
59 <input id="search-input" type="text" name="do-not-autocomplete" placeholder="Click, or press 's' to search" autocomplete="off"/>
60 </form>
61 </div>
62
63 <div class="section namespace">
64 <h3><a href="index.html">GExiv2</a></h3>
65 <p>API Version: 0.16</p>
66
67 <p>Library Version: 0.16.2</p>
68
69 </div>
70
71 <div class="section">
72 <h5>Type</h5>
73 <div class="links">
74 <a href="class.PreviewImage.html">PreviewImage</a>
75 </div>
76 </div>
77 <div class="section">
78 <h5>Methods</h5>
79 <div class="links">
80
81 <a class="method current" href="method.PreviewImage.get_data.html">get_data</a>
82
83 <a class="method" href="method.PreviewImage.get_extension.html">get_extension</a>
84
85 <a class="method" href="method.PreviewImage.get_height.html">get_height</a>
86
87 <a class="method" href="method.PreviewImage.get_mime_type.html">get_mime_type</a>
88
89 <a class="method" href="method.PreviewImage.get_width.html">get_width</a>
90
91 <a class="method" href="method.PreviewImage.try_write_file.html">try_write_file</a>
92
93 <a class="method" href="method.PreviewImage.write_file.html">write_file</a>
94
95 </div>
96 </div>
97
98 <div class="section generator">
99 <p>Generated by <a href="https://gitlab.gnome.org/GNOME/gi-docgen">gi-docgen</a> 2025.5</p>
100 </div>
101 </nav>
102
103 <button id="btn-to-top" class="hidden"><span class="up-arrow"></span></button>
104
105
106 <section id="main" class="content">
107 <header>
108 <h3>Method</h3>
109 <h1><a href="index.html">GExiv2</a><span class="sep"></span><a href="class.PreviewImage.html">PreviewImage</a><span class="sep"></span>get_data</h1>
110 </header>
111
112 <section>
113 <div class="docblock">
114 <p></p>
115 </div>
116
117 <div class="declaration toggle-wrapper">
118 <h4 style="display:flex;" id="declaration">
119 Declaration
120 <a class="anchor" href="#declaration"></a>
121
122 <a class="srclink" title="go to source location" href="https://gitlab.gnome.org/GNOME/gexiv2/-/blob/gexiv2/gexiv2-preview-image.h#L60">[src]</a>
123
124 </h4>
125
126 <div class="docblock c-decl">
127 <pre><code><div class="highlight"><pre><span></span><span class="k">const</span><span class="w"> </span><span class="n">guint8</span><span class="o">*</span>
128 <span class="n">gexiv2_preview_image_get_data</span><span class="w"> </span><span class="p">(</span>
129 <span class="w"> </span><span class="n">GExiv2PreviewImage</span><span class="o">*</span><span class="w"> </span><span class="n">self</span><span class="p">,</span>
130 <span class="w"> </span><span class="n">guint32</span><span class="o">*</span><span class="w"> </span><span class="n">size</span>
131 <span class="p">)</span>
132 </pre></div>
133 </code></pre>
134 </div>
135 </div>
136
137 <div class="description toggle-wrapper">
138 <h4 style="display:flex;" id="description">
139 Description
140 <a class="anchor" href="#description"></a>
141
142 <a class="srclink" title="go to source location" href="https://gitlab.gnome.org/GNOME/gexiv2/-/blob/gexiv2/gexiv2-preview-image.h#L50">[src]</a>
143
144 </h4>
145
146 <div class="docblock">
147 <p>Get a pointer to the image data of the preview image. The returned data is
148 owned by the preview image and must not be&nbsp;freed.</p>
149 </div>
150
151 <div class="docblock">
152
153
154
155
156
157
158
159 </div>
160
161
162 </div>
163
164
165 <div class="parameters toggle-wrapper">
166 <h4 id="parameters">
167 Parameters
168 <a href="#parameters" class="anchor"></a>
169 </h4>
170
171 <div class="docblock">
172 <dl class="arguments">
173
174
175
176 <dt class="arg-name"><code>size</code></dt>
177 <dd class="arg-description">
178 <p><em>Type:</em>&nbsp;<code>guint32*</code></p>
179 <p>The size of the buffer holding the&nbsp;data.</p>
180 <table>
181 <tr><td title="direction: out">The argument will be set by the function.</td></tr>
182
183
184
185
186
187
188
189
190 </table>
191 </dd>
192
193
194
195 </dl>
196 </div>
197 </div>
198
199
200
201 <div class="return-value toggle-wrapper">
202 <h4 id="return-value">
203 Return value
204 <a href="#return-value" class="anchor"></a>
205 </h4>
206
207 <div class="docblock">
208 <div class="returns">
209 <div class="arg-description">
210 <p><em>Type:</em>&nbsp;An array of&nbsp;<code>guint8</code></p>
211 <p>The raw image&nbsp;data.</p>
212 </div>
213 <div>
214 <table>
215
216
217 <tr><td>The length of the array is in the <code>size</code> argument.</td></tr>
218 <tr><td title="transfer: none">The returned data is owned by the instance.</td></tr>
219
220
221 </table>
222 </div>
223 </div>
224 </div>
225 </div>
226
227
228 </section>
229 </section>
230
231
232
233
234 <section id="search" class="content hidden"></section>
235
236 <footer>
237
238 </footer>
239 </div>
240 </body>
241 </html>