Commit 5cbeb2a
committed
Replace pixmap color inversion logic
We currently use our own code for this - which is erroneous and also is very slow (written in Python).
This fix falls back to using MuPDF native functions fz_invert_pixmap and fz_invert_pixmap_rect.
This obsoletes function "JM_invert_pixmap_rect" and significantly improves speed.1 parent 15149a9 commit 5cbeb2a
1 file changed
+4
-38
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10185 | 10185 | | |
10186 | 10186 | | |
10187 | 10187 | | |
10188 | | - | |
10189 | | - | |
| 10188 | + | |
| 10189 | + | |
| 10190 | + | |
| 10191 | + | |
10190 | 10192 | | |
10191 | 10193 | | |
10192 | 10194 | | |
| |||
16282 | 16284 | | |
16283 | 16285 | | |
16284 | 16286 | | |
16285 | | - | |
16286 | | - | |
16287 | | - | |
16288 | | - | |
16289 | | - | |
16290 | | - | |
16291 | | - | |
16292 | | - | |
16293 | | - | |
16294 | | - | |
16295 | | - | |
16296 | | - | |
16297 | | - | |
16298 | | - | |
16299 | | - | |
16300 | | - | |
16301 | | - | |
16302 | | - | |
16303 | | - | |
16304 | | - | |
16305 | | - | |
16306 | | - | |
16307 | | - | |
16308 | | - | |
16309 | | - | |
16310 | | - | |
16311 | | - | |
16312 | | - | |
16313 | | - | |
16314 | | - | |
16315 | | - | |
16316 | | - | |
16317 | | - | |
16318 | | - | |
16319 | | - | |
16320 | | - | |
16321 | 16287 | | |
16322 | 16288 | | |
16323 | 16289 | | |
| |||
0 commit comments