[cairo-bugs] [Bug 97378] New: CAIRO_STATUS_NO_MEMORY after cairo_image_surface_create 19816x27840 image surface

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 17 10:14:58 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=97378

            Bug ID: 97378
           Summary: CAIRO_STATUS_NO_MEMORY after
                    cairo_image_surface_create 19816x27840 image surface
           Product: cairo
           Version: 1.12.16
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: image backend
          Assignee: chris at chris-wilson.co.uk
          Reporter: pinkpink1460 at hotmail.com
        QA Contact: cairo-bugs at cairographics.org

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));
}

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo-bugs/attachments/20160817/2c45950d/attachment.html>


More information about the cairo-bugs mailing list