[Poppler-bugs] [Bug 90440] 250KB PDF converted to 50MB PDF

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 2 02:19:29 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=90440

--- Comment #2 from kurt.pfeifle at gmail.com ---
You can run the following commands to gain some insight into what the problem
with this file is:

$>  pdfimages -listFlow-background.pdf | head
page num  type width height color comp bpc  enc interp object ID x-ppi y-ppi
size ratio
---------------------------------------------------------------------------------------
   1   0 image     5     5  rgb     3   8  image  no        4  0   150   150  
25B  33%
   1   1 smask     5     5  gray    1   8  image  no        4  0   150   150  
11B  44%
   1   2 image     5     5  rgb     3   8  image  no        4  0   150   150  
25B  33%
   1   3 smask     5     5  gray    1   8  image  no        4  0   150   150  
11B  44%
   1   4 image     5     5  rgb     3   8  image  no        4  0   150   150  
25B  33%
   1   5 smask     5     5  gray    1   8  image  no        4  0   150   150  
11B  44%
   1   6 image     5     5  rgb     3   8  image  no        4  0   150   150  
25B  33%
   1   7 smask     5     5  gray    1   8  image  no        4  0   150   150  
11B  44%

$> pdfimages -list ~/Downloads/Flow-background.pdf | wc -l
  163934

This page contains almost 164.000 mini-images (sized 5x5 pixels each, half of
them real images, the other half being "softmasks")!

Ok, the last sentence was not very precise... In reality it contains 164.000
references to a mini-image sized 5x5 pixels and located in object "4 0". (This
seems to also indicate a problem with pdfimages itself, since I think it should
point to a different object for the softmask...)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20160302/5322336b/attachment-0001.html>


More information about the Poppler-bugs mailing list