diff options
Diffstat (limited to 'src/cairo_png_surface.c')
-rw-r--r-- | src/cairo_png_surface.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cairo_png_surface.c b/src/cairo_png_surface.c index ed7bb039e..851df98da 100644 --- a/src/cairo_png_surface.c +++ b/src/cairo_png_surface.c @@ -103,6 +103,10 @@ cairo_png_surface_create (FILE *file, PNG_COMPRESSION_TYPE_DEFAULT, PNG_FILTER_TYPE_DEFAULT); break; + case CAIRO_FORMAT_A8: + case CAIRO_FORMAT_A1: + /* These are not currently supported. */ + break; } png_convert_from_time_t (&png_time, now); @@ -118,6 +122,10 @@ cairo_png_surface_create (FILE *file, png_set_filler (surface->png_w, 0, PNG_FILLER_AFTER); png_set_bgr (surface->png_w); break; + case CAIRO_FORMAT_A8: + case CAIRO_FORMAT_A1: + /* These are not currently supported. */ + break; } return &surface->base; |