Public bug reported:

When running:

$ pdfimages -list grayscale-document.pdf

the output is:

```
   page   num  type   width height color comp bpc  enc interp  object ID x-ppi 
y-ppi size ratio
   
--------------------------------------------------------------------------------------------
      1     0 image    2556  3288  rgb     3   8  jpeg   no         7  0   301  
 300  200K 0.8%
      2     1 image    2556  3288  rgb     3   8  jpeg   no        12  0   301  
 300  275K 1.5%
      3     2 image    2556  3288  rgb     3   8  jpeg   no        17  0   301  
 300  395K 0.8%
      4     3 image    2556  3288  rgb     3   8  jpeg   no        22  0   301  
 300  583K 2.8%
      5     4 image    2556  3288  rgb     3   8  jpeg   no        27  0   301  
 300  317K 1.3%
...
```

"rgb" is incorrect, which is evident after running: 'pdfimages -all -f 1
-l 1 grayscale-document.pdf foo && identify -format "%[type]"
foo-000.jpg', which correctly outputs "Grayscale".

Strangely, when "pdfimages -list" is fed a bilevel document, it states
that every page has color "gray".

** Affects: poppler (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1916341

Title:
  poppler-utils/pdfimages list function names the wrong color in output
  table

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/1916341/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to