commit | f5706275121409887b0e486b896b48cbcccb766a | [log] [tgz] |
---|---|---|
author | Adrian Johnson <ajohnson@redneon.com> | Sun Oct 22 10:26:55 2017 +1030 |
committer | Adrian Johnson <ajohnson@redneon.com> | Tue Dec 12 20:21:35 2017 +1030 |
tree | cfa845d32d01f1fc3673079897267c0121b1b8c9 | |
parent | 3f13dd5f04984be1912b4537ffbfacd892750915 [diff] |
cairo: limit image size when printing 1 bpp image formats can have very large sizes. Even if the maximum cairo image size is not exceeded, it still uses a huge amount of memory and is very slow. This limits the image size when printing to 8192x8192 which is sufficient for 300ppi at A2 size. Cairo >= 1.5.10 scales mime images to the same dimensions as the cairo image, so the original mime image can still be embedded. Bug 103399