[cairo-bugs] [Bug 85561] New: cairo_image_surface_create() width/height limit

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 28 07:46:12 PDT 2014


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

            Bug ID: 85561
           Summary: cairo_image_surface_create() width/height limit
           Product: cairo
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: image backend
          Assignee: chris at chris-wilson.co.uk
          Reporter: landa.martin at gmail.com
        QA Contact: cairo-bugs at cairographics.org

With and height in `cairo_image_surface_create()` seems to have defined limit
on 2^15 (32768) which is more then one billion cells. But unfortunately this
limit doesn't allow to create a surface with `height = 1` and `width > 2^15`.

Why the limit is defined for width and height separately and not for a number
of cells? And how to solve the example noted above?

Thanks in advance, Martin

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


More information about the cairo-bugs mailing list