[cairo-bugs] [Bug 97378] CAIRO_STATUS_NO_MEMORY after cairo_image_surface_create 10000x30000 image surface

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 22 02:32:39 UTC 2016


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

--- Comment #4 from pink <pinkpink1460 at hotmail.com> ---
(In reply to Uli Schlachter from comment #3)
> What makes your believe that "not enough memory" is wrong? If you do the
> math, a surface with a width of 10k, height of 30k and 4 bytes per pixels
> would need more than one gibibyte of memory
> (10000*30000*4/(1024*1024*1024)=1.118). Could it be that allocating that
> much memory really fails for you?

Thanks for your reply. 
I always thought the limit  of width and height of the
cairo_image_surface_create() is 32768, it seems and it depend on the bytes per
pixels. Thanks again.

-- 
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/20160822/901946c1/attachment.html>


More information about the cairo-bugs mailing list