Bug 699318 - mutool fails with "Cannot convert between incompatible pixmaps"
Summary: mutool fails with "Cannot convert between incompatible pixmaps"
Status: RESOLVED WORKSFORME
Alias: None
Product: MuPDF
Classification: Unclassified
Component: apps (show other bugs)
Version: 1.12.0
Hardware: PC Linux
: P4 normal
Assignee: MuPDF bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-07 23:19 UTC by Kan-Ru Chen
Modified: 2020-04-03 09:51 UTC (History)
5 users (show)

See Also:
Customer:
Word Size: ---


Attachments
reproducer (50.54 KB, application/pdf)
2018-05-07 23:19 UTC, Kan-Ru Chen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kan-Ru Chen 2018-05-07 23:19:02 UTC
Created attachment 15103 [details]
reproducer

Forwarded from https://bugs.debian.org/895572

--------------------------------------------------------------------
Dear Maintainer,

Recently, Emacs's doc-view-mode started failing for me in some cases.
After tracking down the origin of the problem, it seems to be due to
a problem in `mutool`.
I can reproduce it with:

    mutool draw -o foo.png foo.pdf 1

with the attached PDF file, which gives me:

    page foo.pdf 1error: Cannot convert between incompatible pixmaps
    error: Cannot convert between incompatible pixmaps
    warning: Ignoring error during interpretation
    error: Cannot convert between incompatible pixmaps
    warning: Ignoring error during interpretation
    error: Cannot convert between incompatible pixmaps
    warning: Ignoring error during interpretation
    error: Cannot convert between incompatible pixmaps
    warning: Ignoring error during interpretation

even though both `evince` and `mupdf` display it just fine.
---------------------------------------------------------------------

I can reproduce in 1.12 and 1.13 with the attached pdf file.
Comment 1 Quentin Burley 2018-08-23 11:26:08 UTC
+1
Comment 2 Tor Andersson 2018-11-08 14:11:57 UTC
I cannot reproduce this with 1.12.0, 1.13.0, 1.14.0, nor current git master.
Comment 3 mirabilos 2019-04-13 12:50:53 UTC
Iā€™m also hitting this bug, with mupdf-tools (= 1.14.0+ds1-4) in Debian.
Comment 4 Domenico Mammola 2020-04-03 09:40:46 UTC
+1 Me too.

Xubuntu 18.04.4 LTS

Package: mupdf-tools
Versions: 1.12.0+ds1-1
Comment 5 Domenico Mammola 2020-04-03 09:51:11 UTC
Upgrading to 1.14.0-0build3+ubuntu18.04 as described here: http://ubuntuhandbook.org/index.php/2018/05/install-mupdf-1-3-0-ubuntu-18-04/
solved for me.