diff options
author | Sebastian Rasmussen <sebras@hotmail.com> | 2009-03-02 01:46:54 +0100 |
---|---|---|
committer | Sebastian Rasmussen <sebras@hotmail.com> | 2009-03-02 01:46:54 +0100 |
commit | da09e538a8149d933050db0943bc98ac9b4dc36f (patch) | |
tree | 9c171fa7f9d2721860b82aecf18f1c5fd8971902 | |
parent | 6bb076823e69c74bcbb487bf66f57c5267eedcae (diff) | |
download | mupdf-da09e538a8149d933050db0943bc98ac9b4dc36f.tar.xz |
Make mask with colorspace just be a warning when printing information.
-rw-r--r-- | apps/pdftool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pdftool.c b/apps/pdftool.c index d312433d..ed192ad1 100644 --- a/apps/pdftool.c +++ b/apps/pdftool.c @@ -1245,7 +1245,7 @@ gatherimages(int page, fz_obj *pageref, fz_obj *pageobj, fz_obj *dict) if (fz_isbool(mask) && fz_tobool(mask)) { if (cs) - return fz_throw("image mask (%d %d R) may not have colorspace", fz_tonum(ref), fz_togen(ref)); + fz_warn("image mask (%d %d R) may not have colorspace", fz_tonum(ref), fz_togen(ref)); error = fz_newname(&cs, "ImageMask"); if (error) return fz_rethrow(error, "cannot create fake image mask colorspace (%d %d R)", fz_tonum(ref), fz_togen(ref)); |