mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 10:07:35 +00:00
LibGfx/CCITT: Add support for images with an unknown number of lines
This commit is contained in:
parent
cefb2d65d8
commit
be5e7a360f
2 changed files with 42 additions and 19 deletions
|
@ -316,7 +316,7 @@ PDFErrorOr<ByteBuffer> Filter::decode_ccitt(ReadonlyBytes bytes, RefPtr<DictObje
|
|||
// achieve to decode images that have it. Figure out what to do with it.
|
||||
(void)end_of_block;
|
||||
|
||||
if (require_end_of_line || encoded_byte_align || damaged_rows_before_error > 0 || rows == 0)
|
||||
if (require_end_of_line || encoded_byte_align || damaged_rows_before_error > 0)
|
||||
return Error::rendering_unsupported_error("Unimplemented option for the CCITTFaxDecode Filter");
|
||||
|
||||
ByteBuffer decoded {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue