<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - CAIRO_STATUS_NO_MEMORY after cairo_image_surface_create 19816x27840 image surface"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97378">97378</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>CAIRO_STATUS_NO_MEMORY after cairo_image_surface_create 19816x27840 image surface
</td>
</tr>
<tr>
<th>Product</th>
<td>cairo
</td>
</tr>
<tr>
<th>Version</th>
<td>1.12.16
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>image backend
</td>
</tr>
<tr>
<th>Assignee</th>
<td>chris@chris-wilson.co.uk
</td>
</tr>
<tr>
<th>Reporter</th>
<td>pinkpink1460@hotmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>cairo-bugs@cairographics.org
</td>
</tr></table>
<p>
<div>
<pre>I want to create a surface with 10000*30000 image surface, and after I call
cairo_image_surface_create to do this, the status is CAIRO_STATUS_NO_MEMORY.
Is it the width and height restrictions? Thank you very much for your time.
Below is my code:
image = cairo_image_surface_create (CAIRO_FORMAT_RGB24, 10000, 20000);
cairo_status_t status = cairo_surface_status (image);
if (status)
{
error(errSyntaxWarning,-1,"cairo Image error: %s\n",
cairo_status_to_string(status));
}</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>