Bug 85561

Summary: cairo_image_surface_create() width/height limit
Product: cairo Reporter: martinl <landa.martin>
Component: image backendAssignee: Chris Wilson <chris>
Status: RESOLVED MOVED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: medium CC: landa.martin
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description martinl 2014-10-28 14:46:12 UTC
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
Comment 1 GitLab Migration User 2018-08-25 13:49:55 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/217.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.