[cairo] invalid value (typically too big) for the size of the input (surface, pattern, etc.)

M Joonas Pihlaja jpihlaja at cc.helsinki.fi
Mon Dec 20 23:23:27 PST 2010


On Tue, 21 Dec 2010, Sean wrote:

> I got the error from below's code in latest cairo version(1.10.0). My height
> and width is more that 32767.
> Is there a limited size for surface? Thanks.

Yes.  It depends on the surface type, but for image surfaces it's
32767.

Cheers,

Joonas


More information about the cairo mailing list