[Bug 134313] Re: pdfimages produces inverted image for black & white image
Related: "In general, Acrobat and Reader will show a negative image when the image data indicates that it needs to be inverted. When you have images that are compressed with the CCITTG4 algorithm, there is a flag in the image data that indicates if a logical "1" indicates black or white. The software that created this document must have used the wrong value for this flag. I've seen similar effects also with certain CMYK JPEG images (but it's been years since I encountered the last one of those) where the PDF generator created corrupt data." Source: https://answers.acrobatusers.com/Why-does-the-PDF-show-as-a -reversed-image-q132625.aspx -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gimp in Ubuntu. https://bugs.launchpad.net/bugs/134313 Title: pdfimages produces inverted image for black & white image To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gimp/+bug/134313/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 134313] Re: pdfimages produces inverted image for black & white image
`pdfimages -list mypdf.pdf` shows all of my pages were encoded in `ccitt` format. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gimp in Ubuntu. https://bugs.launchpad.net/bugs/134313 Title: pdfimages produces inverted image for black & white image To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gimp/+bug/134313/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 134313] Re: pdfimages produces inverted image for black & white image
Still occurring on Ubuntu 18.04. This is weird. There's got to be a way to fix it! -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gimp in Ubuntu. https://bugs.launchpad.net/bugs/134313 Title: pdfimages produces inverted image for black & white image To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gimp/+bug/134313/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 134313] Re: pdfimages produces inverted image for black & white image
Version info: ``` $ pdfimages -v pdfimages version 0.62.0 Copyright 2005-2017 The Poppler Developers - http://poppler.freedesktop.org Copyright 1996-2011 Glyph & Cog, LLC ``` -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gimp in Ubuntu. https://bugs.launchpad.net/bugs/134313 Title: pdfimages produces inverted image for black & white image To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gimp/+bug/134313/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 134313] Re: pdfimages produces inverted image for black & white image
Still occuring for regularly on ubuntu 17.10 artful. I regularly ocr pdf of scanned document and this occurs frequently for fax-compressed files. ** Attachment added: "Test file" https://bugs.launchpad.net/ubuntu/+source/xpdf/+bug/134313/+attachment/5048705/+files/orig.pdf -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to poppler in Ubuntu. https://bugs.launchpad.net/bugs/134313 Title: pdfimages produces inverted image for black & white image To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gimp/+bug/134313/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 134313] Re: pdfimages produces inverted image for black white image
Thank you for telling us and testing this. I'll mark this bug as fixed. ** Changed in: gimp (Ubuntu) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to poppler in Ubuntu. https://bugs.launchpad.net/bugs/134313 Title: pdfimages produces inverted image for black white image To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gimp/+bug/134313/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 134313] Re: pdfimages produces inverted image for black white image
I tested this on Ubuntu 10.04 Lucid Lynx alpha 2 with poppler updated to the latest available Ubuntu package. Uname: Linux 2.6.32-10-generic i686 Packages: evince 2.29.5-0ubuntu1 poppler 0.12.3-0ubuntu1 I used pdfimages to extract the image from the file in comment #8. The PBM image is now normal, and no longer reversed/inverted. ** Changed in: poppler (Ubuntu) Status: Confirmed = Fix Released -- pdfimages produces inverted image for black white image https://bugs.launchpad.net/bugs/134313 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gimp in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 134313] Re: pdfimages produces inverted image for black white image
** Changed in: poppler (Ubuntu) Importance: Undecided = Low -- pdfimages produces inverted image for black white image https://bugs.launchpad.net/bugs/134313 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gimp in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 134313] Re: pdfimages produces inverted image for black white image
** Changed in: gimp (Ubuntu) Importance: Undecided = Low -- pdfimages produces inverted image for black white image https://bugs.launchpad.net/bugs/134313 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gimp in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 134313] Re: pdfimages produces inverted image for black white image
This bug is present in 0.6.4-1ubuntu2 in Hardy. -- pdfimages produces inverted image for black white image https://bugs.launchpad.net/bugs/134313 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gimp in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 134313] Re: pdfimages produces inverted image for black white image
Here is a PDF whose image (PBM) is extracted reversed. ** Attachment added: neva_kar__itri.pdf http://launchpadlibrarian.net/15735303/neva_kar__itri.pdf ** Changed in: poppler (Ubuntu) Status: Invalid = Confirmed -- pdfimages produces inverted image for black white image https://bugs.launchpad.net/bugs/134313 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gimp in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 134313] Re: pdfimages produces inverted image for black white image
Hello Greg, Thanks for looking into this issue. No, everything works now fine with the pdfimages program on uptodate Hardy. I had added poppler because the package poppler-utils, is the one hosting the pdfimages command on a vanilla Ubuntu system, so it is no longer an issue with poppler as well : I have just tested on a system with poppler-utils installed. I confirm the bug is still there on uptodate Hardy with the GIMP. Regards Yves-Antoine -- pdfimages produces inverted image for black white image https://bugs.launchpad.net/bugs/134313 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gimp in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 134313] Re: pdfimages produces inverted image for black white image
** Changed in: poppler (Ubuntu) Status: Incomplete = Invalid -- pdfimages produces inverted image for black white image https://bugs.launchpad.net/bugs/134313 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gimp in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 134313] Re: pdfimages produces inverted image for black white image
I can confirm this in GIMP, but not with pdfimages in Gutsy. pdfimage does not produce inverted pdms using the pdfimages file x poppler-utils: 0.6-0ubuntu2.1 GIMP: 2.4.2-0ubuntu0.7.10.1 ** Changed in: gimp (Ubuntu) Status: New = Confirmed -- pdfimages produces inverted image for black white image https://bugs.launchpad.net/bugs/134313 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gimp in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 134313] Re: pdfimages produces inverted image for black white image
Is the pdfimages issue still present for anyone? ** Changed in: xpdf (Ubuntu) Status: New = Invalid ** Changed in: poppler (Ubuntu) Status: New = Incomplete -- pdfimages produces inverted image for black white image https://bugs.launchpad.net/bugs/134313 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gimp in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 134313] Re: pdfimages produces inverted image for black white image
Here is a program to invert a PBM file, as a workaround to subject bug. Compilation: gcc -o pbminvert pbminvert.c Execution: cat file_to_be_inverted.pbm | ./pbminvert inverted_file.pbm ** Attachment added: pbminvert.c http://launchpadlibrarian.net/9888568/pbminvert.c -- pdfimages produces inverted image for black white image https://bugs.launchpad.net/bugs/134313 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug contact for gimp in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 134313] Re: pdfimages produces inverted image for black white image
This behavior can be reproduced with the GIMP : - Open the attached file test.gif in the GIMP : - Save it as test.pbm, choosing raw data formatting. - Close the image window - Open the previously saved file test.pbm - The image is inverted I confirm the behavior with pdfimages included in package poppler-utils All of this is tested on an up to date Gutsy as of 2nd of October 2007 gimp 2.4.0~rc1-3ubuntu2 poppler-utils 0.6-0ubuntu1 gimp and poppler-utils should be added to the list of affected packages. ** Attachment added: File to be opened in the GIMP for testing http://launchpadlibrarian.net/9669657/test.gif ** Also affects: gimp (Ubuntu) Importance: Undecided Status: New -- pdfimages produces inverted image for black white image https://bugs.launchpad.net/bugs/134313 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug contact for gimp in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 134313] Re: pdfimages produces inverted image for black white image
Adding the resulting file test.pbm from abave test ** Also affects: poppler (Ubuntu) Importance: Undecided Status: New ** Attachment added: test.pbm http://launchpadlibrarian.net/9669863/test.pbm -- pdfimages produces inverted image for black white image https://bugs.launchpad.net/bugs/134313 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug contact for gimp in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs